• KMS Client Actication Error Code 0x8004FE92

    當嘗試啟動Windows 的時候遇到以下的錯誤訊息:

    08004FE92

     

    這個問題發生的主要原因有幾個:

    1. 使用了不正確的KMS Client Key連線到 KMS Server嘗試做啟動。
    2. KMS Client Count 不足以啟動KMS Service。
    3. KMS Server遭遇連線錯誤導致無法成功啟動。

     

    遇到這個問題,可以嘗試以下的幾個做法:

    • 選擇正確的KMS Client KEY:

    where KmsSetupKey is one of the setup keys shown Following table. After installing the KMS setup key, activate the KMS client by running cscript slmgr.vbs /ato.

    KMS Client Setup Keys

    Operating System Edition

    Product Key

    Windows 7

     

    Windows 7 Professional

    FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4

    Windows 7 Professional N

    MRPKT-YTG23-K7D7T-X2JMM-QY7MG

    Windows 7 Enterprise

    33PXH-7Y6KF-2VJC9-XBBR8-HVTHH

    Windows 7 Enterprise N

    YDRBP-3D83W-TY26F-D46B2-XCKRJ

    Windows 7 Enterprise E

    C29WB-22CC8-VJ326-GHFJW-H9DH4

    Windows Server 2008 R2

     

    Windows Server 2008 R2 HPC Edition

    FKJQ8-TMCVP-FRMR7-4WR42-3JCD7

    Windows Server 2008 R2 Datacenter

    74YFP-3QFB3-KQT8W-PMXWJ-7M648

    Windows Server 2008 R2 Enterprise

    489J6-VHDMP-X63PK-3K798-CPX3Y

    Windows Server 2008 R2 for Itanium-Based Systems

    GT63C-RJFQ3-4GMB6-BRFB9-CB83V

    Windows Server 2008 R2 Standard

    YC6KT-GKW9T-YTKYR-T4X34-R7VHC

    Windows Web Server 2008 R2

    6TPJF-RBVHG-WBW2R-86QPH-6RTM4

    Converting Retail Editions to Volume Activation

    Retail editions of Windows 7 Professional and Windows Server 2008 R2 can be converted to KMS clients, provided that the organization has acquired the appropriate volume licenses and conforms to the Product Use Rights. To convert Windows 7 Professional and all editions of Windows Server 2008 R2 from retail to a KMS client, skip the Product Key page during operating system installation. When installation is complete, open an elevated Command Prompt window and type:

    Slmgr.vbs /ipk <SetupKey>

    where SetupKey is the KMS client setup key from Table 4 that corresponds to the edition of Windows 7 or Windows Server 2008 R2.

    • 請確認啟動Count一定要足夠,Server SKU 需要最少5個Count才能啟動,Client SKU需要最少25個Count才能啟動。
    • KMS Server本身可以連上Internet 服務。
  • Terminal Services - 登入速度過慢或者是伺服器效能變差

     

    SYMPTOM
    =================
    每一個 User Profile 裡的 NTUSER.dat 會超過 20MB (甚至到 120 MB)
    通常發生在 Terminal Server 上
    會影響到登入速度,當登入人數增加時會明顯感受到伺服器效能變差 

    CAUSE
    =================
    假設每一個 User Profile 裡的 NTUSER.dat 都是 120 MB,若同一時間有 35-40 位使用者同時登入,那麼系統需要將 3.9GB 的 Registry Hive 放到 RAM 裡

    透過 ChkReg 工具分析 NTUSER.DAT 我們發現 90% 以上的資料都是被下面這個機碼所使用
    Software\Hewlett-Packard

    在 Terminal Server 的這個機碼下面我們也發現有大量的資料,導致 Initial Profile Loading 變慢
    HKLM\Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\Hewlett-Packard\

    RESOLUTION
    =================
    1. Delete this "Hewlett-Packard" key
    HKLM\Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\Hewlett-Packard\

    2. 使用 ChkReg 壓縮 NTUSER.dat
        a. 把 NTUSER.DAT Mount 到 Regedit 裡  
        b. 把 Software\Hewlett-Packard 刪除
        c. 把 NTUSER.DAT Unmount
        d. 使用 ChkReg 壓縮 NTUSER.dat

    3. 停用伺服器上的以下系統服務 (HP Driver services):
    clip_image002

  • 如何使用ADRMS發佈IRM範本

    一、 在ADRMS上建立一個資料夾,並且將這個資料夾分享出來,讓domain user可透過網路讀取得到。

    二、 在ADRMS上建立範本,存放在步驟一的資料夾裏。

    1.在ADRMS上點選「建立散佈的權限原則範本」。

    clip_image002

    2. 以下畫面裏,點選「新增」

    clip_image004

    3. 給予此範本一個顯示名稱以及描述 。

    clip_image006

    4. 點選「下一步」。

    clip_image008

    5. 這個時後,我們要定義此範本要給予什麼規則。請點選「新增」

    clip_image010

    6. 您可以在以下的畫面點選「任何人」,再按下「確定」。或是您也可以定義特定的群組或是使用者套用在這個範本上。

    clip_image012

    7. 在步驟6給予的使用者裏,定義套用此範本後,可以在這個文件上做的動作,最後按下完成 。

    clip_image014

    clip_image016

    8. 重覆步驟2至步驟7,以同樣的方式建立不同的範本,並且定義不同的規則。

    clip_image018

    clip_image020

    clip_image022

     

    三、 在所有Client上,透過bat檔的方式copy步驟二產生的所有範本至每個使用者的profile裏,並且加上機碼,讓Office 2003或是Office 2007在點選加密時,可以讀得到範本的內容即可。

    md “%userprofile%\drmtemplate”

    copy \\win2k8r2\template “%userprofile%\drmtemplate”

    reg add HKCU\Software\Microsoft\Office\11.0\Common\DRM /v AdminTemplatePath /t REG_EXPAND_SZ /d “%userprofile%\drmtemplate” /f

    reg add HKCU\Software\Microsoft\Office\12.0\Common\DRM /v AdminTemplatePath /t REG_EXPAND_SZ /d “%userprofile%\drmtemplate” /f

    四、最後,用戶端看到的畫面如下:

    clip_image024

  • 無法在Windows 7裏,同時使用注音及倉頡輸入法輸 EUDC難字

    問題描述:

    在Windows 7裏,假設有EUDC難字分別對應注音輸入法及倉頡輸入法,當使用者開啟應用程式後,先以注音輸入法輸入難字,在不關閉應用程式的情況下,再切換到倉頡輸入法繼續輸入難字,使用者會發現使用倉頡輸入法輸入難字時,不會有任何的難字顯示出來。同樣的,假設先使用倉頡輸入法輸入難字,再切換到注音輸入法,則注音輸入法就無法輸入難字。

    解決方法

    如果要解決這個問題,可以下載以下文件所提到的修正程式來解決。

    http://support.microsoft.com/kb/981306/zh-tw

  • Windows Driver uninstallation Failed in Windows XP

    在Windows XP 中,您可能在移除硬體裝置的時候遭遇到以下的錯誤訊息:

    無法解除安裝裝置。裝置可能是開機必需的裝置。

    image

    這個時候,可能作業系統中和硬體裝置相對應的機碼權限不允許您刪除這個裝置。請您透過以下方式來刪除不需要的裝置:

    1. 開啟裝置管理員,找到要移除的硬體裝置(我們以Msft Virtual CD/ROM為例,您可以找您要刪除的硬體),點選滑鼠右鍵->[內容]:

      image
    2. 點選[詳細資料]標籤,找到"裝置例項識別碼"並記錄下面的資料資料:
      IDE\CDROMMSFT_……\5&56de&0&0.0.0

      image
    3. 接著開啟登錄檔編輯程式,並且找到以下位置:

      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum
      並找到相對應的例項,您可以發現到上面畫面記錄下來的路徑就是在這裡機碼的相對路徑。

       image
    4. 在該項目上面點選滑鼠右鍵->[使用權限]

      image
    5. 在Everyone的權限上,點選Everyone,並且勾選"完全控制"

      image 
    6. 接著將這個機碼刪除。
    7. 重新開啟裝置管理員,您可以發現這個裝置已經消失。
      image