Datasheet
Designing User State Migration
15
I realize it’s long, but the good news is that you don’t need to modify it at all. Just copy
it from the book, and it’ll work for many common migrations. The following bullets break
down the command:
ScanState
is the name of the command.
c:\store
is the location where the migration data will be stored.
/v:13
indicates the highest level of verbosity. It will provide a significant amount of
output to the log that can be viewed later. The lowest level is 0, which logs only errors
and warnings.
/o
causes it to overwrite an existing migration store (if one exists).
/c
tells ScanState to continue to run even if errors are encountered.
/hardlink
is used for in-place migrations to retrieve the data from the Windows.old
folder. It requires the use of the
/nocompress switch.
/nocompress
specifies that data is not compressed.
/efs:hardlink
specifies that encrypted file system (EFS) files will be moved using
hardlink migration. The
/hardlink switch must be used for this to succeed.
/
i:MigApp.xml specifies that the MigApp.xml file (which is included in the USMT folder)
will be used to identify application settings to migrate.
/i:MigDocs.xml
specifies that the MigDocs.xml file (which is included in the USMT
folder) will be used to identify document types to migrate.
/offlineWinDir:c:\windows.old\windows
is used to specify the location of the files
from the original installation.
After the
ScanState command is executed to capture the migration data, the LoadState
command is executed to restore the migration data to the current installation.
When performing in-place migrations, you can enter the
LoadState command with the
following switches. Just as the
ScanState command should be entered as a single line, the
following
LoadState command should be entered as a single line even though it spans more
than one line in this book.
LoadState.exe c:\store /v:13 /c /lac:P@ssw0rd /lae /i:MigApp.xml
/i:MigDocs.xml /sf /hardlink /nocompress
LoadState.exe
is the command.
c:\store
is the location of the migration store created by ScanState.
/v:13
indicates the highest level of verbosity. It will provide a significant amount of
output to the log that can be viewed later. The lowest level is 0, which logs only errors
and warnings.
/c
tells ScanState to continue to run even if errors are encountered.
597095c01.indd 15 6/2/10 4:12:57 PM