You can specify a migration configuration file as a command-line option with the profile migration command. In the configuration file, you can specify settings such as the source and target profile locations, which are passed to the profile migration utility at runtime.

The migration configuration file is optional. You can override settings that you specify in the configuration file by typing the corresponding command-line options.

Migration Configuration File Format

The migration configuration file is in XML format, which makes the file easy to read, edit, and extend. For definitions of the settings, see Migration Configuration File Settings.

<migconfig takeownership="takeownership_value">
  <!-- specify the source V1 profiles to be migrated -->
    <!-- specify the location of user profiles to be migrated -->
  <!-- specify the target destination of converted V2 profiles -->
  <!-- specify other profile migration settings -->
    <!-- migration settings for profile folders and files -->
      <!-- by default, all top-level profile folders are included -->
      <!-- except 'Cache', 'History', & 'Local AppData' -->
    <!-- migration settings for profile registry hive -->
    <registry [disabled="1"]>
      <!-- by default, no registry keys are converted -->