• Recommendation on disable the 8.3 Name Creation on NTFS Partitions


    若是您的檔案伺服器有以下特徵,我們建議您把作業系統 8Dot3 Name Creation 功能停用。
    - 同一個資料夾下檔案數量多,像是超過 100,000 個
    - 檔案的命名方式有同樣的邏輯性,舉例: 檔名前六個字元都是一樣的。

    有這樣 File Structure 的伺服器您可以把作業系統 8Dot3 Name Creation 功能停用。
    將 8Dot3 Name Creation 功能停用也可以提升 NTFS 效能。

    註: Vista/Win 2008 以後的作業系統預設是把 8Dot3 功能停用的。

    HOW TO
    ============
    Windows Server 2003 and Windows XP
    To disable the 8.3 name creation on all NTFS partitions, type fsutil.exe behavior set disable8dot3 1 at a command prompt, and then press ENTER.

    Windows 2000 的部分沒有 fsutil 指令
    您必須加機碼
    您可以使用 reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v NtfsDisable8dot3NameCreation /t REG_DWORD /d 0x1 /f

    Windows 2000 and Windows NT
    To disable the 8.3 name creation on all NTFS partitions, use the following steps: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
    322756 (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows
    1.    Start Regedt32.exe and locate the following registry key:
           HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
    2.    Select the NtfsDisable8dot3NameCreation entry. 
           NOTE: By default, the value for this entry is set to 0.
    3.    On the Edit menu, click DWORD. Type a value of 1 in the Data field.
    4.    Click OK and then quit Regedt32.
    5.    Quit Windows NT and turn off your computer.
    6.    Restart your computer and Windows NT.

    How to Disable the 8.3 Name Creation on NTFS Partitions
    http://support.microsoft.com/kb/121007

  • Windows Server 2008 R2 failed to boot with error message “bootmgr is missing”


    嘗試使用bootrec /fixboot 指令修復問題,修復後您還需要執行 "bcdedit /set hypervisorlaunchtype auto" 將 Hypervisor 設定成自動啟動。

    Hyper-V virtual machines do not start after using Startup Repair
    http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/01/19/hyper-v-virtual-machines-do-not-start-after-using-startup-repair.aspx

    Checked the boot order into the BIOS
    Enter WinPE mode and try to repair with commands
    ===============
    a. Insert a Windows Server 2008 R2 installation media, and boot from the media
    b. At the initial "Install Windows" prompt windows click "Next"
    c. DO NOT click "Install Now", click on the "Repair your computer" link located at the lower left corner of the "Install Windows" prompt window
    d. Choose the repair tool option and click next
    e. Select "Command Prompt"
    f. Run the following commands to check if active partition is correctly set
        diskpart
        select disk 0
        select part 1
        detail part

    g. You should see the selected partition has a drive letter "C", has 100MB in size and that Active is set to "Yes"
    h. exit diskpart
    i. copy bootmgr from X:\windows\boot\pcat to c:\ (c drive here is the 100MB system reserved partition), reboot and check status
    j. Run the following command, reboot and check status
        bootrec /fixboot
    k. Run the following command, reboot and check status
        bootrec /rebuildBCD

  • 如何在Windows 2003上管理無線網路Policy?

    如果您想要透過群組原則來管理無線網路的設定(例如WPA2+AES加密,或是802.1X的設定),並且將這些設定套用在XP、Vista或是Windows 7的話,但在2003 DC群組原則的UI上找不到這樣的設定,該如何做?(如果您的DC是2008或是2008R2,則不需做此步驟)

    1. 在DC上,依照http://technet.microsoft.com/en-us/library/bb727029.aspx 中的描述先擴展schema

    2. 找一台比XP還新的版本的OS,例如Windows 7 SP1,加入您的Domain。

    3. 安裝「遠端伺服器管理工具」。下載點為 http://www.microsoft.com/downloads/details.aspx?familyid=7d2f6ad7-656b-4313-a005-4e344e43997d&displaylang=zh-tw

    4. 安裝完後,在控制台>程式和功能裏,點選左邊的「開啟或關閉Windows 功能」,然後勾選「群組原則管理工具」,再按下「確定」。

    clip_image002[4]

    5. 安裝完後,執行GPMC.MSC,連到DC上,此時就會看到群組原則的管理介面。

    6. 當您找到無線網路(IEEE802.11)原則時,右方空白出點選右鍵,就會看到「建立新的Windows XP原則」,這個設定就是for XP的作業系統的設定。而另一條設定就是套用在Vista及Windows 7的Client。

    clip_image004[4]

    7.再依照您的需求做無線網路的設定。

  • Mobile 6.5在Windows XP+ Active Sync無法開通IRM功能

    問題描述:

    當您使用Mobile6.1或Mobile6.5手機配合Windows XP+ Active Sync要開通IRM功能時,在Active Sync上點選「工具」>「進階工具」>「啟動資訊版權管理」,即使輸入了正確的網域帳戶名稱及密碼,但仍無法通過認證,該如何處理?

     

    解決方法:

    1. 在RMS Server上,將C:\Inetpub\wwwroot\_wmcs\Certification\MobileDeviceCertification.asmx這個檔案的NTFS permissions給予RMS Service Group及Users群組「讀取及執行」和「讀取」的權限。如果有二台以上的RMS做cluster,請在每一台都做這個動作。

    2. 在Client上,請先確認是否有HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDRM機碼存在,如果有的話,請先按右鍵匯出再備份,然後將此機碼刪除。

    3.將以下的文字存成一個reg檔,點二下匯入機碼。

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDRM]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDRM\ServiceLocation]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDRM\ServiceLocation\Activation]
    @=
    http://RMShostname/_wmcs/Certification

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDRM\ServiceLocation\EnterprisePublishing]
    @=
    http://RMShostname/_wmcs/Licensing

    注意:RMShostname指的是您的RMS server主機名稱,請不要用FQDN

    4. 開啟Command,嘗試ping RMShostname主機,看是否可以得到RMS Server的回應。如果沒有回應的話,請在C:\Windows\System32\drivers\etc\hosts下加一筆記錄,讓這個主機名稱對應到正確的IP。

    5. 在Active Sync上,點選「檔案」>「連線設定」,在「此電腦連線到」的欄位裏,改成「工作網路」。

    clip_image004

    clip_image006

    6. 在Active Sync上點選「工具」>「進階工具」>「啟動資訊版權管理」,輸入帳戶名稱後,完成啟動動作。

    clip_image008

    7. 問題解決後,請將步驟3及步驟5的設定再還原原來的設定即可。

  • SCCM Agent Certificate Can’t Enroll

    徵狀

    clientIDstartupManager.log

    error

    RegTask: "Failed to get certificate" "Error 0x80004005"

    原因

    Machine Key file corrupt

    解決方法

    無法要求憑證

    1. 備份Machine key file 在 C:\Users\All Users\Microsoft\Crypto\RSA\MachineKeys, the file name start with “19c5cf9c7b5dc9de3e548adb70398402_”

    2.給予當前執行者有full Control權限然後刪除

    3. Restart SMS Agent Host Service重新取得憑證

    經確認憑證產生後問題即可解決

    clip_image002