6.0
Table Of Contents
migprofile.exe Command Usage
The syntax of the migprofile.exe command controls the migration of V1 profiles to V2 profiles.
When you install View Agent with the View Persona Management setup option on a virtual machine, the
migprofile.exe utility is installed in the install_directory\VMware\VMware View\Agent\bin directory.
When you install the standalone View Persona Management software on a system, the migprofile.exe
utility is installed in the install_directory\VMware\VMware View\Persona Management directory.
From a Windows command prompt, use the following syntax for the migprofile.exe command:
migprofile.exe [/s:source_path] [/t:target_path] [/r-:] [/takeownership] [config_file]
Table 1‑1. migprofile.exe Command-Line Options
Option Description
/s:source_path
The path name of the source V1 profile path to be migrated.
Use the wildcard '*' to indicate that all child folders should be migrated.
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 V2 profile path.
The migration utility creates a folder under this path with the same name as the source
V1 profile folder, appended by .V2.
This option is mandatory if the source path is a local V1 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 V2 profile folder is created as a sibling of
the source V1 profile folder on the same CIFS network share.
/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 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
Chapter 1 User Profile Migration Overview
VMware, Inc. 9