• Extending Root CA Certificate lifetime

    如何檢是目前 CA 視為獨立CA 還是企業 CA?
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CertSvc\Configuration\{Your CA name}\CAType
    CAType = 0 (This means it is installed as Enterprise Root CA)
    CAType = 1 (This means it is installed as Enterprise Subordinate CA)
    CAType = 3 (This means it is installed as Stand Alone CA)
    CAType = 4 (This means it is installed as Stand Alone Subordinate CA)

    clip_image002

    GOAL:
    =====
    To increase the Validity Period of the Enterprise Root CA.

    RESOLUTION:
    ===========
    1.CA server 本身的 生命期限
    How to renew the CA certificate:

    Go to the Certificate Authority and highlight the server name.
    Right click and go to All Tasks. At the bottom is the option to renew CA certificate.
    clip_image004
    This will ask you to stop the Certificate Services. Select yes.
    clip_image006
    It brings up a dialog box with the option to generate a new public and private key. Select yes. 
    clip_image008

    It will now start the Certificate Services and your CA certificate will be renewed.
    Go to start, run and type in mmc.
    Go to the conosole and highlight Add/Remove Snap-in.

    clip_image010
    Click on the add button.  Then choose the Certificates snap-in. 
    clip_image012
    Add the snap-in for the Computer Account, hit the next button and select for the local computer and hit finish.

    clip_image014
    clip_image016

    You should now have the console open for the certificates for the local computer.

    Expand out the personal certificates.

    Highlight the certificates on the left side and in the right pane it will show the certificates issued for the local CA.

    You should now highlight the certificate with the expiration of 15 years.  (2024)

    Double click on it to bring up the current certificate with the new expiration date.

    Now you should be able to extend the length of time for a client certificate.
    clip_image018

    2.capolicy.inf 檔的日期比對
    Create a new text file in notepad. Type it exactly like it is below.
    However, you can change the validity period to whatever the number of years you want.  You are going to save the file as capolicy.inf under the %windir% directory.

    [Version]

    Signature="$Windows NT$"

    [Certsrv_Server]

    RenewalKeyLength=4096

    RenewalValidityPeriod=Years

    RenewalValidityPeriodUnits=20

    Save it as a Capolicy.inf under the %windir% directory.

    clip_image020
    Then go back and renew your Stand Alone Certificate Authority.
    Now you should be able to issue client certificates for the length of time in years that you want.

    clip_image022

    3.client端所持憑證的到期日
    HOW TO:更改Windows 2000 憑證授權所發行的認證到期日期 (windows 2003適用)
    http://support.microsoft.com/default.aspx?scid=kb;zh-tw;254632

    Sample為
    ======= 
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\CertSrv\Configuration\<CAname>
    如果我目前拿到的CA KEY 開始日為2000年1月
    那我想在2010年才讓它到期,我可以這樣改
    ValidityPeriod REG 打 year
    ValidityPeriodUnits 打 10

    clip_image024

  • Windows 2008 軟體派送設定步驟

    Windows 2008 軟體派送設定步驟:

    請開啟[電腦設定]\[原則]\[軟體設定]\[軟體安裝], 右鍵點選[軟體安裝] ,並[新增]\[封裝]

    image

    新增封裝請您採用網路存取到您存放 .msi 軟體路徑. 其中軟體存放路徑.您需要確認此軟體存放的資料夾 System 是有權限存取的,避免有其他異狀.

    建議您將此軟體存放在此軟體派送GPO之相對GPO存放的資料夾

    image

    選定軟體後.會提是您部署方法,請您點選[指派]

    image

    完成後,您會看到軟體部署相關資訊及其安裝來源

    image

  • Sys Center Operation Mgr 2007\Event ID: 21403 and 21402

    PROBLEM
    ===========
    Intermittent CPU Spike on SCOM Agents which lasts for few seconds to a maximum of 4 minutes sometimes.

    CAUSE:
    ==========
    Outdated Windows Script Engine.

    RESOLUTION:
    ==============
    We installed the latest script engine, Windows Script Engine 5.7 from

    http://www.microsoft.com/downloads/details.aspx?FamilyID=f00cb8c0-32e9-411d-a896-f2cd5ef21eb4&DisplayLang=en

    And that fixed the issue.

  • 如何委派帳號加入網域?

    1. 按一下 [開始] ,再按一下 [執行] ,輸入 dsa.msc ,然後再按一下 [確定]

    2. 在窗展開 [網域] 節點。

    3. 找到computer OU 上,按一下滑鼠右鍵並按一下 [委派控制 ]。

    image

    4. 在 [委派的控制項精靈] 中,按一下 [下一步]

    clip_image004

    5. 按一下 [ 新增 ],將特定的使用者或特定群組加入至 (選取的使用者和群組) 清單,然後再按一下 [下一步]

    clip_image006

    6. 在 [以委派的工作] 頁面,請按一下 [ 建立自訂的工作來委派] ,然後再按一下 [下一步]

    clip_image008

    7. 按一下 [ 僅限下列資料夾中的物件 ],然後再從清單,按一下以選取 [電腦物件] 核取方塊。 然後,請選取核取方塊清單下, [建立此資料夾中選取的物件 ] 和 [ 刪除選取的物件,此資料夾中]

    clip_image010

    8. 按一下 [下一步]

    9. 在 [ 權限 ] 清單按一下以選取下列核取方塊頁:

    o 重設密碼

    o 讀取並寫入帳戶的限制

    o 已確認 寫入 DNS 主機名稱

    o 已確認寫入服務主要名稱

    clip_image012

    clip_image014

    10. 按一下 [下一步] ,然後按一下 [ 完成]

    clip_image016

    11. 關閉 「 Active Directory 使用者和電腦 」 MMC 嵌入式管理單元。

  • GPO 如何建立及套用WMI Filter?

    如何建立WMI Filter?

    開啟 GPMC.msc 展開您的Domain Tree 後,您可以看到 WMI Filter .請點選右鍵 [新增]

    image

    請針對此 新的WMI Filter 命名,及相關此新WMI Filter 之描述,然後在點選 [新增]

    image

    在此請您新增您的WMI Query 語法,在此以 選擇 OS 為Windows XP 為例

    image

    您將可以在檢查此 WMI Filter 完整的設定.確認無誤.請按[儲存]

    image

    您亦可以看到 在 WMI Filter 下就有您新增的 WMI Filter

    image

    如何設定GPO 採用特定WMI Filter

    點選到您需要套用WMI Filter 的 GPO ,並在右邊視窗下可以看到WMI Filtering 選項.再此您亦可以選擇到您設定好的所有 WMI Filter .

    image

    選擇好您要的WMI Filter 後.會再出現提示確認您需要套用.請按 [是]

     image

    如此亦完成您 GPO WMI Filter 設定

    image