2006年2月16日 星期四

Install the Active Directory Schema snap-in

參考文章 Install the Active Directory Schema snap-in


  • Open Command Prompt.

  • Type:

    regsvr32 schmmgmt.dll

    This command will register schmmgmt.dll on your computer. For more information about using regsvr32, see Related Topics.

  • Click Start, click Run, type mmc /a, and then click OK.

  • On the File menu, click Add/Remove Snap-in, and then click Add.

  • Under Available Standalone Snap-ins, double-click Active Directory Schema, click Close, and then click OK.

  • To save this console, on the File menu, click Save.

  • In Save in, point to the systemroot\system32 directory.

  • In File name, type schmmgmt.msc, and then click Save.

  • To create a shortcut on your Start menu:

    • Right-click Start, click Open All Users, double-click the programs folder, and then double-click the Administrative Tools folder.

    • On the File menu, point to New, and then click Shortcut.

    • In the Create Shortcut Wizard, in Type the location of the item, type schmmgmt.msc, and then click Next.

    • On the Select a Title for the program page, in Type a name for this shortcut, type Active Directory Schema, and then click Finish.



2006年2月9日 星期四

Show MSN now playing with Foobar2000

想要讓 MSN 顯示 Foobar2000 正在播放的歌嗎?

1. 到 MSN Messenger Now Playing Plugin 下載 foo_msn 元件
2. 將 foo_msn.dll 放到 C:\Program Files\foobar2000\components 目錄下
3. 重新啟動 Foobar2000 即可

開啟 Foobar2000->Preferences,在 Components->MSN Now Playing 中可做設定

2006年1月24日 星期二

CSS Layout Techniques

CSS Layout Techniques

write html without "table" tag - 學習CSS排版的網頁


Restore CA failed (0x80090003)

今天到勞保局測試備份/還原CA
結果還原CA時發生錯誤,錯誤訊息為 "機碼錯誤 0x80090003"

後來在 DanPark's WebLog 找到解答:

Restoring Certificate Authority server fails with bad key problem

After you back up a CA private key and database, if restore task fails with bad key error (0x80090003), then you might need to import the root CA key when you install the CA server by checking "Use custom settings to generate the key pair and CA certifcate", then "Use an existing key" which allows to browse a key file to import.

Tips:

1. When you restore CA database, it expects the same CA storage path. By default, CA creates the database and log files under c:\WINDOWS\system32\certlog. When you restore to another machine, it should have the same path.

2. Enabling debug logging

- certutil -setreg ca\debug 0xffffffe3

Log files are in %systemroot%\cert*.log