共用方式為


Config.xml 檔案

Config.xml 檔案

Config.xml 是選擇性的使用者狀態移轉工具 (USMT) 10.0 檔案,您可以使用 /genconfig 選項搭配 ScanState.exe 工具加以建立。如果您要包含所有預設元件,而且不要變更預設存放區建立或設定檔移轉行為,就不需要建立 Config.xml 檔案。

不過,如果您覺得 MigApp.xml、MigUser.xml 及 MigDocs.xml 檔案中定義的預設移轉行為已經足夠,但是想要排除特定元件,可以建立及修改 Config.xml 檔案,並且讓其他 .xml 檔案保持不變。例如,如果您要排除移轉的任何作業系統設定,則必須建立及修改 Config.xml 檔案。如果您要變更任何預設存放區建立或設定檔移轉行為,則必須建立及修改此檔案。

Config.xml 檔案具有與其他移轉 .xml 檔案不同的格式,因為它不包含任何移轉規則。它包含可以移轉之作業系統元件、應用程式、使用者文件的清單,以及使用者設定檔原則和錯誤控制原則。因此,使用 Config.xml 檔案排除元件比修改移轉 .xml 檔案還要簡單,因為您不需要熟悉移轉規則和語法。不過,您無法在此檔案中使用萬用字元。

如需使用 Config.xml 檔案搭配其他移轉檔案的詳細資訊,例如 MigDocs.xml 和 MigApps.xml 檔案,請參閱了解移轉 XML 檔案

注意  

若要從 Config.xml 檔案排除某個元件,請將 migrate 值設定成 "no"。從 Config.xml 檔案中刪除元件的 XML 標記後,移轉時並不會排除該元件。

 

本主題內容

在 USMT 中有您可以在 Config.xml 檔案中設定新的移轉原則。 例如,您可以設定其他 <ErrorControl><ProfileControl><HardLinkStoreControl> 選項。下列元素和參數只適用於 Config.xml 檔案。

<Policies>

<ErrorControl>

<fatal>

<fileError>

<nonfatal>

<registryError>

<HardLinkStoreControl>

<fileLocked>

<createHardLink>

<errorHardLink>

<ProfileControl>

<localGroups>

<mappings>

<changeGroup>

<include>

<exclude>

範例 Config.xml 檔案

<Policies>

<Policies> 元素包含說明在建立移轉存放區時USMT 遵循之原則的元素。<Policies> 元素的有效子系是 <ErrorControl><HardLinkStoreControl><Policies> 元素是 <Configuration> 的子系。

語法:<Policies> </Policies>

<ErrorControl>

<ErrorControl> 元素是您可以在 Config.xml 檔案中設定的選擇性元素。可設定的 <ErrorControl> 規則只支援目前正在執行之作業系統的環境變數和目前登入的使用者。您可以採取的因應措施是使用 (*) 萬用字元指定路徑。

  • 出現次數:每個元件一次

  • 父元素<Policies> 元素

  • 子元素<fileError><registryError> 元素

語法:<ErrorControl></ErrorControl>

下列範例指定所有鎖定的檔案不論其位置 (包括 C:\Users 中的檔案) 都應該略過。不過,如果 C:\Users 中的任何檔案因為其他原因而無法存取,則移轉就會失敗。在以下的範例中,<ErrorControl> 元素會略過移轉登錄機碼時與提供的模式相符的任何問題,並且將這些問題視為「拒絕存取」錯誤來解決。

此外,<ErrorControl> 區段中的順序是表示優先順序。在此範例中,第一個 <nonFatal> 標記的優先順序高於第二個 <fatal> 標記。不論列出多少標記,都會套用此優先順序。

<ErrorControl>
  <fileError>
    <nonFatal errorCode="33">* [*]</nonFatal>
    <fatal errorCode="any">C:\Users\* [*]</fatal>
  </fileError>
  <registryError>
    <nonFatal errorCode="5">HKCU\SOFTWARE\Microsoft\* [*]</nonFatal>
  </registryError>
</ErrorControl>

重要事項  

可設定的 <ErrorControl> 規則只支援目前正在執行之作業系統的環境變數和目前登入的使用者。您可以採取的因應措施是使用 (*) 萬用字元指定路徑。

 

<fatal>

<fatal> 不是必要的元素。

  • 出現次數:每個元件一次

  • 父元素<fileError><registryError>

  • 子元素:無。

語法:<fatal errorCode="any"><pattern></fatal>

參數 必要

errorCode

"any" 或 "specify system error message here"

 

您可以使用 <fatal> 元素指定符合特定模式的錯誤應該讓 USMT 停止移轉。

<fileError>

<fileError> 不是必要的元素。

  • 出現次數:每個元件一次

  • 父元素<ErrorControl>

  • 子元素<nonFatal><fatal>

語法:<fileError></fileError>

您可以使用 <fileError> 元素表示與檔案錯誤關聯的行為。

<nonFatal>

<nonFatal> 不是必要的元素。

  • 出現次數:每個元件一次

  • 父元素<fileError><registryError> 元素。

  • 子元素:無。

語法:<nonfatal errorCode="any"><pattern></nonFatal>

參數 必要

<errorCode>

"any" 或 "specify system error message here"。如果未指定系統錯誤訊息,預設行為會將參數套用到所有系統錯誤訊息。

 

您可以使用 <nonFatal> 元素指定符合特定模式的錯誤不應該讓 USMT 停止移轉。

<registryError>

<registryError> 不是必要的元素。

  • 出現次數:每個元件一次

  • 父元素<ErrorControl>

  • 子元素<nonfatal><fatal>

語法:<registryError></registryError>

參數 必要

<errorCode>

"any" 或 "specify system error message here"。如果未指定系統錯誤訊息,預設行為會將參數套用到所有系統錯誤訊息。

 

您可以使用 <registryError> 元素指定符合特定模式的錯誤不應該讓 USMT 停止移轉。

<HardLinkStoreControl>

<HardLinkStoreControl> 元素包含說明如何在建立永久連結移轉存放區時如何處理檔案的元素。唯一有效的子系是 <fileLocked>

語法:<HardLinkStoreControl> </HardLinkStoreControl>

  • 出現次數:每個元件一次

  • 父元素<Policies>

  • 子元素<fileLocked>

語法:<HardLinkStoreControl></HardLinkStoreControl>

以下的 <HardLinkStoreControl> 範例程式碼指定只有在鎖定的檔案位於 C:\Users\ 底下時才能建立已鎖定之檔案的永久連結。否則,當鎖定的檔案無法複製時,會發生檔案存取錯誤,即使技術上可能可以建立連結也是一樣。

重要事項  

您可以根據檔案位置,設定 <ErrorControl> 區段有條件地略過檔案存取錯誤。

 

<Policy>
   <HardLinkStoreControl>
      <fileLocked>
         <createHardLink>C:\Users\*</createHardLink>
         <errorHardLink>C:\*</errorHardLink>
      </fileLocked>
   </HardLinkStoreControl>
   <ErrorControl>
      […]
   </ErrorControl>
</Policy>

<fileLocked>

<fileLocked> 元素包含說明如何處理鎖定以進行編輯之檔案的元素。<fileLocked> 元素定義的規則會以它們在 XML 檔案中顯示的順序進行處理。

語法:<fileLocked></fileLocked>

<createHardLink> 元素定義標準 MigXML 模式,該模式說明應建立永久連結的檔案路徑,即使檔案已被其他應用程式鎖定以進行編輯也一樣。

語法:<createHardLink><pattern></createHardLink>

<errorHardLink> 元素定義標準 MigXML 模式,該模式說明不應建立永久連結的檔案路徑,即使檔案已被其他應用程式鎖定以進行編輯也一樣。USMT 會嘗試將這些路徑下的檔案複製到移轉存放區。不過,如果無法複製,就會擲回 Error_Locked。這是標準 Windows 應用程式開發介面 (API) 錯誤,可以由 <ErrorControl> 區段擷取,讓 USMT 跳過檔案或中止移轉。

語法:<errorHardLink><pattern></errorHardLink>

<ProfileControl>

此元素是用來包含其他元素,這些元素在移轉期間會建立本機群組成員資格的移轉設定檔、使用者及原則的規則。<ProfileMigration><Configuration> 的子系。

語法:<ProfileControl> </ProfileControl>

<localGroups>

此元素是用來包含其他元素,這些元素會建立如何移轉本機群組的規則。<localGroups><ProfileControl> 的子系。

語法:<localGroups> </localGroups>

<mappings>

此元素是用來包含其他元素,這些元素會建立群組之間的對應。

語法:<mappings> </mappings>

<changeGroup>

此元素說明移轉期間來源和目的地群組的本機群組成員資格變更。它是 <localGroups> 的子系。會定義下列參數:

參數 必要

來源電腦上有效的本機群組,其中含有在命令列上選取以進行移轉的使用者。

若要

使用者在移轉期間要移至其中的本機群組。

appliesTo

nonmigratedUsers、migratedUsers、AllUsers。此值定義變更群組作業應套用至哪些使用者。

 

<changeGroup> 有效且必要的子系為 <include><exclude>。雖然兩者可以同時做為子系,但只有一個是必要的。

語法:<changeGroup From="Group1" To= "Group2"> </changeGroup>

<include>

此元素指定它的必要子系 <pattern> 應納入移轉中。

語法:<include>``</include>

<exclude>

此元素指定它的必要子系 <pattern> 應從移轉中排除。

語法:<exclude>`` </exclude>

範例 Config.xml 檔案

請參閱下列範例 Config.xml 檔案以了解您可以選擇從移轉中排除之項目的其他詳細資料。

<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
  <Applications/>
  <Documents/>
  <WindowsComponents>
    <component displayname="Tablet PC Settings" migrate="yes" ID="tablet_pc_settings">
      <component displayname="Accessories" migrate="yes" ID="tablet_pc_settings\tablet_pc_accessories">
        <component displayname="Microsoft-Windows-TabletPC-StickyNotes" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-tabletpc-stickynotes/microsoft-windows-tabletpc-stickynotes/settings"/>
        <component displayname="Microsoft-Windows-TabletPC-SnippingTool" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-tabletpc-snippingtool/microsoft-windows-tabletpc-snippingtool/settings"/>
        <component displayname="Microsoft-Windows-TabletPC-Journal" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-tabletpc-journal/microsoft-windows-tabletpc-journal/settings"/>
      </component>
      <component displayname="Input Panel" migrate="yes" ID="tablet_pc_settings\tablet_pc_input_panel">
        <component displayname="Microsoft-Windows-TabletPC-InputPanel" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-tabletpc-inputpanel/microsoft-windows-tabletpc-inputpanel/settings"/>
      </component>
      <component displayname="General Options" migrate="yes" ID="tablet_pc_settings\tablet_pc_general_options">
        <component displayname="Microsoft-Windows-TabletPC-UIHub" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-tabletpc-uihub/microsoft-windows-tabletpc-uihub/settings"/>
        <component displayname="Microsoft-Windows-TabletPC-Platform-Input-Core" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-tabletpc-platform-input-core/microsoft-windows-tabletpc-platform-input-core/settings"/>
      </component>
      <component displayname="Handwriting Recognition" migrate="yes" ID="tablet_pc_settings\handwriting_recognition">
        <component displayname="Microsoft-Windows-TabletPC-InputPersonalization" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-tabletpc-inputpersonalization/microsoft-windows-tabletpc-inputpersonalization/settings"/>
      </component>
    </component>
    <component displayname="Sound and Speech Recognition" migrate="yes" ID="sound_and_speech_recognition">
      <component displayname="Speech Recognition" migrate="yes" ID="sound_and_speech_recognition\speech_recognition">
        <component displayname="Microsoft-Windows-SpeechCommon" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-speechcommon/microsoft-windows-speechcommon/settings"/>
      </component>
    </component>
    <component displayname="Hardware" migrate="yes" ID="hardware">
      <component displayname="Phone and Modem" migrate="yes" ID="hardware\phone_and_modem">
        <component displayname="Microsoft-Windows-TapiSetup" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-tapisetup/microsoft-windows-tapisetup/settings"/>
      </component>
      <component displayname="Printers and Faxes" migrate="yes" ID="hardware\printers_and_faxes">
        <component displayname="Microsoft-Windows-Printing-Spooler-Core" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-printing-spooler-core/microsoft-windows-printing-spooler-core/settings"/>
        <component displayname="Microsoft-Windows-Printing-Spooler-Networkclient" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-printing-spooler-networkclient/microsoft-windows-printing-spooler-networkclient/settings"/>
        <component displayname="Microsoft-Windows-Printing-Spooler-Core-Localspl" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-printing-spooler-core-localspl/microsoft-windows-printing-spooler-core-localspl/settings"/>
      </component>
    </component>
    <component displayname="Programs" migrate="yes" ID="programs">
      <component displayname="Media Player Settings" migrate="yes" ID="programs\media_player_settings">
        <component displayname="Microsoft-Windows-MediaPlayer-Migration" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-mediaplayer-migration/microsoft-windows-mediaplayer-migration/settings"/>
      </component>
    </component>
    <component displayname="Communications and Sync" migrate="yes" ID="communications_and_sync">
      <component displayname="Windows Mail" migrate="yes" ID="communications_and_sync\windows_mail">
        <component displayname="Microsoft-Windows-WAB" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-wab/microsoft-windows-wab/settings"/>
        <component displayname="Microsoft-Windows-Mail" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-mail/microsoft-windows-mail/settings"/>
      </component>
    </component>
    <component displayname="Microsoft-Windows-Migration-DisplayGroups" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-migration-displaygroups/microsoft-windows-migration-displaygroups/settings"/>
    <component displayname="Performance and Maintenance" migrate="yes" ID="performance_and_maintenance">
      <component displayname="Diagnostics" migrate="yes" ID="performance_and_maintenance\diagnostics">
        <component displayname="Microsoft-Windows-RemoteAssistance-Exe" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-remoteassistance-exe/microsoft-windows-remoteassistance-exe/settings"/>
        <component displayname="Microsoft-Windows-Feedback-Service" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-feedback-service/microsoft-windows-feedback-service/settings"/>
      </component>
      <component displayname="Error Reporting" migrate="yes" ID="performance_and_maintenance\error_reporting">
        <component displayname="Microsoft-Windows-ErrorReportingCore" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-errorreportingcore/microsoft-windows-errorreportingcore/settings"/>
      </component>
    </component>
    <component displayname="Network and Internet" migrate="yes" ID="network_and_internet">
      <component displayname="Offline Files" migrate="yes" ID="network_and_internet\offline_files">
        <component displayname="Microsoft-Windows-OfflineFiles-Core" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-offlinefiles-core/microsoft-windows-offlinefiles-core/settings"/>
      </component>
      <component displayname="Internet Options" migrate="yes" ID="network_and_internet\internet_options">
        <component displayname="Microsoft-Windows-ieframe" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-ieframe/microsoft-windows-ieframe/settings"/>
        <component displayname="Microsoft-Windows-IE-InternetExplorer" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-ie-internetexplorer/microsoft-windows-ie-internetexplorer/settings"/>
        <component displayname="Microsoft-Windows-IE-Feeds-Platform" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-ie-feeds-platform/microsoft-windows-ie-feeds-platform/settings"/>
        <component displayname="Microsoft-Windows-IE-ClientNetworkProtocolImplementation" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-ie-clientnetworkprotocolimplementation/microsoft-windows-ie-clientnetworkprotocolimplementation/settings"/>
      </component>
      <component displayname="Networking Connections" migrate="yes" ID="network_and_internet\networking_connections">
        <component displayname="Microsoft-Windows-Wlansvc" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-wlansvc/microsoft-windows-wlansvc/settings"/>
        <component displayname="Microsoft-Windows-RasConnectionManager" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-rasconnectionmanager/microsoft-windows-rasconnectionmanager/settings"/>
        <component displayname="Microsoft-Windows-RasApi" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-rasapi/microsoft-windows-rasapi/settings"/>
        <component displayname="Microsoft-Windows-PeerToPeerCollab" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-peertopeercollab/microsoft-windows-peertopeercollab/settings"/>
        <component displayname="Microsoft-Windows-MPR" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-mpr/microsoft-windows-mpr/settings"/>
        <component displayname="Microsoft-Windows-Dot3svc" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-dot3svc/microsoft-windows-dot3svc/settings"/>
      </component>
    </component>
    <component displayname="Date, Time, Language and Region" migrate="yes" ID="date_time_language_and_region">
      <component displayname="Regional Language Options" migrate="yes" ID="date_time_language_and_region\regional_language_options">
        <component displayname="Microsoft-Windows-TableDrivenTextService-Migration" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-tabledriventextservice-migration/microsoft-windows-tabledriventextservice-migration/settings"/>
        <component displayname="Microsoft-Windows-TextServicesFramework-Migration" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-textservicesframework-migration/microsoft-windows-textservicesframework-migration/settings"/>
        <component displayname="Microsoft-Windows-MUI-Settings" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-mui-settings/microsoft-windows-mui-settings/settings"/>
        <component displayname="Microsoft-Windows-International-Core" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-international-core/microsoft-windows-international-core/settings"/>
        <component displayname="Microsoft-Windows-IME-Traditional-Chinese-Core" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-ime-traditional-chinese-core/microsoft-windows-ime-traditional-chinese-core/settings"/>
        <component displayname="Microsoft-Windows-IME-Simplified-Chinese-Core" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-ime-simplified-chinese-core/microsoft-windows-ime-simplified-chinese-core/settings"/>
        <component displayname="Microsoft-Windows-Desktop_Technologies-Text_Input_Services-IME-Japanese-Core" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-desktop_technologies-text_input_services-ime-japanese-core/microsoft-windows-desktop_technologies-text_input_services-ime-japanese-core/settings"/>
      </component>
    </component>
    <component displayname="Security" migrate="yes" ID="security">
      <component displayname="Microsoft-Windows-Rights-Management-Client-v1-API" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-rights-management-client-v1-api/microsoft-windows-rights-management-client-v1-api/settings"/>
      <component displayname="Security Options" migrate="yes" ID="security\security_options">
        <component displayname="Microsoft-Windows-Credential-Manager" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-credential-manager/microsoft-windows-credential-manager/settings"/>
      </component>
    </component>
    <component displayname="Appearance and Display" migrate="yes" ID="appearance_and_display">
      <component displayname="Windows Games Settings" migrate="yes" ID="appearance_and_display\windows_games_settings">
        <component displayname="Microsoft-Windows-GameExplorer" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-gameexplorer/microsoft-windows-gameexplorer/settings"/>
      </component>
      <component displayname="Taskbar and Start Menu" migrate="yes" ID="appearance_and_display\taskbar_and_start_menu">
        <component displayname="Microsoft-Windows-stobject" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-stobject/microsoft-windows-stobject/settings"/>
        <component displayname="Microsoft-Windows-explorer" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-explorer/microsoft-windows-explorer/settings"/>
      </component>
      <component displayname="Personalized Settings" migrate="yes" ID="appearance_and_display\personalized_settings">
        <component displayname="Microsoft-Windows-uxtheme" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-uxtheme/microsoft-windows-uxtheme/settings"/>
        <component displayname="Microsoft-Windows-themeui" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-themeui/microsoft-windows-themeui/settings"/>
        <component displayname="Microsoft-Windows-shmig" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-shmig/microsoft-windows-shmig/settings"/>
        <component displayname="Microsoft-Windows-shell32" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-shell32/microsoft-windows-shell32/settings"/>
        <component displayname="Microsoft-Windows-CommandPrompt" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-commandprompt/microsoft-windows-commandprompt/settings"/>
      </component>
    </component>
    <component displayname="Additional Options" migrate="yes" ID="additional_options">
      <component displayname="Help Settings" migrate="yes" ID="additional_options\help_settings">
        <component displayname="Microsoft-Windows-Help-Client" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-help-client/microsoft-windows-help-client/settings"/>
      </component>
      <component displayname="Windows Core Settings" migrate="yes" ID="additional_options\windows_core_settings">
        <component displayname="Microsoft-Windows-Win32k-Settings" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-win32k-settings/microsoft-windows-win32k-settings/settings"/>
        <component displayname="Microsoft-Windows-Web-Services-for-Management-Core" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-web-services-for-management-core/microsoft-windows-web-services-for-management-core/settings"/>
        <component displayname="Microsoft-Windows-UPnPSSDP" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-upnpssdp/microsoft-windows-upnpssdp/settings"/>
        <component displayname="Microsoft-Windows-UPnPDeviceHost" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-upnpdevicehost/microsoft-windows-upnpdevicehost/settings"/>
        <component displayname="Microsoft-Windows-UPnPControlPoint" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-upnpcontrolpoint/microsoft-windows-upnpcontrolpoint/settings"/>
        <component displayname="Microsoft-Windows-TerminalServices-RemoteConnectionManager" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-terminalservices-remoteconnectionmanager/microsoft-windows-terminalservices-remoteconnectionmanager/settings"/>
        <component displayname="Microsoft-Windows-TerminalServices-Drivers" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-terminalservices-drivers/microsoft-windows-terminalservices-drivers/settings"/>
        <component displayname="Microsoft-Windows-SQMApi" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-sqmapi/microsoft-windows-sqmapi/settings"/>
        <component displayname="Microsoft-Windows-RPC-Remote" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-rpc-remote/microsoft-windows-rpc-remote/settings"/>
        <component displayname="Microsoft-Windows-RPC-Local" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-rpc-local/microsoft-windows-rpc-local/settings"/>
        <component displayname="Microsoft-Windows-RPC-HTTP" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-rpc-http/microsoft-windows-rpc-http/settings"/>
        <component displayname="Microsoft-Windows-Rasppp" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-rasppp/microsoft-windows-rasppp/settings"/>
        <component displayname="Microsoft-Windows-RasMprDdm" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-rasmprddm/microsoft-windows-rasmprddm/settings"/>
        <component displayname="Microsoft-Windows-RasBase" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-rasbase/microsoft-windows-rasbase/settings"/>
        <component displayname="Microsoft-Windows-Microsoft-Data-Access-Components-(MDAC)-ODBC-DriverManager-Dll" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-microsoft-data-access-components-(mdac)-odbc-drivermanager-dll/microsoft-windows-microsoft-data-access-components-(mdac)-odbc-drivermanager-dll/settings"/>
        <component displayname="Microsoft-Windows-ICM-Profiles" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-icm-profiles/microsoft-windows-icm-profiles/settings"/>
        <component displayname="Microsoft-Windows-feclient" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-feclient/microsoft-windows-feclient/settings"/>
        <component displayname="Microsoft-Windows-dpapi-keys" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-dpapi-keys/microsoft-windows-dpapi-keys/settings"/>
        <component displayname="Microsoft-Windows-Crypto-keys" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-crypto-keys/microsoft-windows-crypto-keys/settings"/>
        <component displayname="Microsoft-Windows-COM-DTC-Setup" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-com-dtc-setup/microsoft-windows-com-dtc-setup/settings"/>
        <component displayname="Microsoft-Windows-COM-ComPlus-Setup" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-com-complus-setup/microsoft-windows-com-complus-setup/settings"/>
        <component displayname="Microsoft-Windows-COM-Base" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-com-base/microsoft-windows-com-base/settings"/>
        <component displayname="Microsoft-Windows-CAPI2-certs" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-capi2-certs/microsoft-windows-capi2-certs/settings"/>
      </component>
    </component>
    <component displayname="Accessibility" migrate="yes" ID="accessibility">
      <component displayname="Accessibility Settings" migrate="yes" ID="accessibility\accessibility_settings">
        <component displayname="Microsoft-Windows-accessibilitycpl" migrate="yes" ID="https://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-accessibilitycpl/microsoft-windows-accessibilitycpl/settings"/>
      </component>
    </component>
  </WindowsComponents>
  <Policies>
    <ErrorControl>
      <!--   Example:

          <fileError>
            <nonFatal errorCode="33">* [*]</nonFatal>
            <fatal errorCode="any">C:\Users\* [*]</fatal>
          </fileError>
          <registryError>
            <nonFatal errorCode="5">* [*]</nonFatal>
          </registryError>
      -->
    </ErrorControl>
    <HardLinkStoreControl>
      <!--   Example:

          <fileLocked>
            <createHardLink>c:\Users\* [*]</createHardLink>
            <errorHardLink>C:\* [*]</errorHardLink>
          </fileLocked>
      -->
    </HardLinkStoreControl>
  </Policies>
  <ProfileControl>
    <!--   Example:

          <localGroups>
            <mappings>
              <changeGroup from="Administrators" to="Users" appliesTo="MigratedUsers">
                <include>
                  <pattern>DomainName1\Username</pattern>
                </include>
                <exclude>
                  <pattern>DomainName2\Username</pattern>
                </exclude>
              </changeGroup>
            </mappings>
          </localGroups>
          
      -->
  </ProfileControl>
</Configuration>

相關主題

USMT XML 參考