6.2
Table Of Contents
Table 1‑2. migprofile.exe Command-Line Options
Option Description
/s:source_path
The path name of the source V2 or V1 profile path to be migrated.
Use the wildcard '*.v2' to indicate that all V2 child folders should be migrated to V5.
Use the wildcard '*' to indicate that all V1 child folders should be migrated to V2.
This option is mandatory. You must specify the source path either on the command
line or in the migration configuration file. If you specify the source path in both places,
the command-line value is used.
/t:target_path
Path name of the target V5 or V2 profile path.
The migration utility creates a folder under this path with the same name as the source
profile folder, appended by .V5 or .V2.
This option is mandatory if the source path is a local profile on a computer.
This option is optional if the source path is located on a CIFS network share. In this
case, if you do not specify a target path, the destination profile folder is created as a
sibling of the source profile folder on the same CIFS network share.
/v2
Migrates a V2 profile to a V5 profile.
This option is required to perform a V2-to-V5 migration. When the /v2 option is not
used, the utility performs a V1-to-V2 profile migration.
/r-:
Disables registry migration.
This option is optional.
/takeownership Causes the migprofile.exe utility to take ownership of the user profile during the
migration.
Use this option if the administrator account that runs the migration utility does not
have ownership of the user profile to be migrated. Typically, only the user and
SYSTEM accounts have ownership of a user profile.
This option is optional. When you use this option, the original ownership of the user
profile is restored after the migration is completed.
config_file
Name of the migration configuration file.
This option is optional. Command-line options take precedence over the
corresponding settings in the configuration file if you specify values in both places.
migprofile.exe Command-Line Examples
The following example migrates all V1 user profiles under the \\file01\profiles folder to the same
location. V2 user profiles are created with .V2 appended to each user's root folder name. The utility takes
ownership of the user profiles during the migration:
migprofile.exe /s:\\file01\profiles\* /takeownership
The following example migrates all V2 user profiles under the \\file02\share\profiles folder to the same
location. V5 user profiles are created with .V5 appended to each user's root folder name. The utility takes
ownership of the user profiles during the migration:
migprofile.exe /s:\\file02\share\profiles\*.v2 /v2 /takeownership
The following example uses the migration settings that are specified in the migconfig.xml file:
migprofile.exe migconfig.xml
The following example migrates the V1 profile for the user ts115 on the computer devvm-winxp to the remote
path \\file01\profiles. The utility takes ownership of the user profiles during the migration:
migprofile.exe /s:\\devvm-winxp\c$\documents and settings\ts115
/t:\\file01\profiles\ /takeownership
View User Profile Migration
10 VMware, Inc.