windows-itpro-docs/windows/deployment/usmt/xml-file-requirements.md
Jitin Mathew bbbe17098f Updated-6038482-B3
Bulk metadata update.
2022-06-17 00:07:20 +05:30

1.6 KiB

title, description, ms.reviewer, manager, ms.author, ms.prod, author, ms.date, ms.topic
title description ms.reviewer manager ms.author ms.prod author ms.date ms.topic
XML File Requirements (Windows 10) Learn about the XML file requirements for creating custom .xml files, like the file must be in UTF-8 and have a unique migration URL ID. dougeby aaroncz w10 aczechowski 04/19/2017 article

XML File Requirements

When creating custom .xml files, note the following requirements:

  • The file must be in Unicode Transformation Format-8 (UTF-8). Save the file in this format, and you must specify the following syntax at the beginning of each .xml file:

    <?xml version="1.0" encoding="UTF-8"?>
    
  • The file must have a unique migration URL ID. The URL ID of each file that you specify on the command line must be different. If two migration .xml files have the same URL ID, the second .xml file that is specified on the command line will not be processed. This is because USMT uses the URL ID to define the components within the file. For example, you must specify the following syntax at the beginning of each file:

    <?xml version="1.0" encoding="UTF-8"?>
    <migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/<CustomFileName>">
    
  • Each component in the file must have a display name in order for it to appear in the Config.xml file. This condition is because the Config.xml file defines the components by the display name and the migration URL ID. For example, specify the following syntax:

    <displayName>My Application</displayName>
    

For examples of custom .xml files, see Custom XML Examples.