• Windows 7 – Missing IME Language bar at client machine

    [問題描述] Windows 7 預設的語言列無法顯示, 僅有在安全模式可以啟動.

     

     

    [狀況分析]

     

    ·         我們手動打開工作排程器, 發現無法正常啟動此程式, 出現錯誤訊息為”災難性的失敗 (發生例外狀況於 HRESULT:0x8000FFFF)(E_UNEXPECTED)).

     

    clip_image001

     

     

    ·         Windows 7的語言列以及工作排程器中的工作 ”TextServicesFramework” 有緊密的結合, 若此工作無法正常執行的話,語言列的顯示會不正常.

     

    clip_image003

     

    [解決方法]

     

    ·         手動將工作排程器相關的機碼值從另一台機器整個匯出來,然後匯入到此台有問題的電腦重新開機.

     

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule]

     

    clip_image005

     

    [參考連接]

    Windows Vista 中排定的工作的描 (適用於Windows 7)

     

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

    工作名稱

     

    資料夾

     

    函式

     

    MsCtfMonitor

     

    當您登入使用者帳戶,就會執行這個排定的工作。

     

    這個排定的工作會監視 TextServicesFramework 系統服務。

     

    InitLocalMsCtfMonitor Function

     

    http://msdn.microsoft.com/en-us/library/aa966199.aspx

     

    The InitLocalMsCtfMonitor function initializes TextServicesFramework on the current desktop and prepares the floating language bar if necessary. This function must be called on the application's desktop.

  • Windows 7 如何在無法開機的情況下移除hotfix ?

    假設不幸安裝了某個hotfix導致無法開機,甚至連安全模式也進不去,我如何移除這個Hotfix?

    1.使用Windows 7 光碟片開機,選��左下角的「修復您的電腦」。

    image

     

    2.點選「使用您先前建立的系統映像還還原電腦」,再選「下一步」。

    image

    3.選擇取消。

    image

    4.選擇「命令提示字元」。

    image

    5.執行dism /image:d:\ /get-packages,此時會列出這台機器上安裝的hotfix。   (其中d:是代表該安裝系統的partition)

    clip_image002

     

    clip_image004

    6.以畫面上的KB980846 為例,如果要移除的話,請下 dism /image:d:\ /remove-package /PackageName:Package_for_KB980846~31bf3856ad364e35~x86~~6.1.1.0

    clip_image006

    7.重新開機即可。

  • 當DC執行dc promote時出現找不到DNS SRV記錄

    dcpromoUI log

    dcpromoui 35C.734 01B0 14:57:28.293 Enter DcNotFoundErrorDialog::OnInit
    dcpromoui 35C.734 01B1 14:57:28.293 Enter DcNotFoundErrorDialog::HideDetails
    dcpromoui 35C.734 01B2 14:57:32.286 Enter DcNotFoundErrorDialog::DiagnoseAndSetDetailsText
    dcpromoui 35C.734 01B3 14:57:32.286 Enter DiagnoseDcNotFound Contoso.COM.2003
    dcpromoui 35C.734 01B4 14:57:32.286 Enter MyDnsQuery _ldap._tcp.dc._msdcs.Contoso.COM.2003
    dcpromoui 35C.734 01B5 14:57:32.286 Calling DnsQuery_W
    dcpromoui 35C.734 01B6 14:57:32.286 lpstrName : _ldap._tcp.dc._msdcs.Contoso.COM.2003
    dcpromoui 35C.734 01B7 14:57:32.286 wType : 21
    dcpromoui 35C.734 01B8 14:57:32.286 fOptions : 8
    dcpromoui 35C.734 01B9 14:57:32.286 status = 0000007B
    dcpromoui 35C.734 01BA 14:57:32.286 ERROR_INVALID_NAME
    dcpromoui 35C.734 01BB 14:57:32.286 Enter GetErrorText
    dcpromoui 35C.734 01BC 14:57:32.286 Enter GetErrorMessage 8007007B
    dcpromoui 35C.734 01BD 14:57:32.286 錯誤是: "檔案名稱、目錄名稱或磁碟區標籤語法錯誤。"
    (錯誤碼 0x0000007B ERROR_INVALID_NAME)
    dcpromoui 35C.734 01BE 14:57:32.286 在查詢 DNS 以取得用來尋找網域 Contoso.COM.2003 之 Active Directory 網域控制站的服務位置 (SRV) 資源記錄時,發生下列錯誤。
    錯誤是: "檔案名稱、目錄名稱或磁碟區標籤語法錯誤。"
    (錯誤碼 0x0000007B ERROR_INVALID_NAME)

    這是因為您的Domain Name有數字造成例如: contoso.2003

    發生原因

    This issue does not occur with domain names that have numbers and letters in the domain suffix. For example, this issue does not occur with domain names that resemble the following:

    • contoso.200three
    • contoso.two003

    Also, this issue does not occur with domain names that have numbers in the domain prefix. For example, this issue does not occur with domain names that resemble the following

    • 2003.Contoso
    • 200three.Contoso

    When this issue occurs, all Domain Name System (DNS) records are returned correctly when the computer is joining the domain. In a network trace, correct records are queried for and returned. Therefore, DNS is fully functional and is not part of this issue.

    解決方法

    1. 按一下 [開始] 摺疊此圖像展開此圖像,輸入 [在 開始搜尋] 方塊中的 [regedit,然後按下 ENTER。
    附註如果出現要求您輸入系統管理員密碼或確認的提示,輸入的密碼或提供確認。

    2. 找出並點選下列登錄子機碼:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters

    3. 在 [編輯] 功能表上指向 [新增],然後按一下 [DWORD ]。

    4. 鍵入 ScreenBadTlds,並按下 ENTER。

    5. ScreenBadTlds,] 上按一下滑鼠右鍵,然後按一下 [修改]

    6. 數值資料] 方塊中鍵入 0,再按 [確定]

    7. 結束登錄編輯程式

    參考文件
    Error message when you try to join a Windows Vista-based client computer to a top level domain (TLD) that has a purely numeric suffix: "An Active Directory Domain Controller for the domain could not be contacted"
    http://support.microsoft.com/kb/947228/en-us

  • Windows 7 – How to hide item of Control Panel using GPO

    Issue:  You want to hide items of control panel using GPO

     

    Resolution:  Set the policy below:

     

     

    User Settings -> Administrative Templates -> Control Panel -> Hide specified Control Panel Items

     

    Click this policy to enable it and enter the “Canonical name“ according to :

     

     

    http://msdn.microsoft.com/zh-TW/library/ee330741(v=VS.85).aspx

    Windows 7 Control Panel Canonical Names

    The following canonical names are defined for Control Panel items in Windows 7. All names are also valid on Windows Vista unless specified otherwise.

    Control Panel Item

     

    Canonical name

     

    Action Center

     

    Microsoft.ActionCenter (Windows 7 and later only)

     

    Administrative Tools

     

    Microsoft.AdministrativeTools

     

    For Example:

    You want to disable Administrative Tools and User Accounts from Control Panel, enter the value as below:

     

    ·         Microsoft.AdministrativeTools

     

    ·         Microsoft.UserAccounts

     

     

    clip_image002[4]

    Close the Control Panel then check again, you won’t see these 2 items:

     

     

    clip_image001