Datasheet
18
Chapter 1
Getting Started with Windows Vista
USMT will not migrate hardware settings, drivers, passwords, application binaries,
synchronization files, .dll files, or other executables.
Using the USMT
In its simplest form, you use the USMT in the following manner:
1. Run ScanState.exe on the source computer. ScanState.exe will copy the user state
data to an intermediate store. The intermediate store (for example, a CD-RW) must be
large enough to accommodate the data that will be transferred. Scanstate.exe would
commonly be executed as a shortcut sent to users that they would deploy in the evening
or through a scheduled script.
2. Install a fresh copy of Windows Vista on the target computer.
3. Run LoadState.exe on the target computer. LoadState.exe will access the intermediate
store to restore the user settings.
When you use the USMT, you can create a script that can be run manually or can be used as
an automated process at a scheduled time. Table 3.1 defines the options for the Scanstate.exe
and Loadstate.exe commands.
TABLE 1.3 Options for Scanstate.exe and Loadstate.exe
Option Description
/config Specifies the Config.xml file that should be used
/encrypt Encrypts the store (Scanstate.exe only)
/decrypt Decrypts the store (Loadstate.exe only)
/nocompress Disables data compression
/genconfig Generates a Config.xml file but does not create a store
/targetxp Optimizes ScanState for use with Windows XP
/all Migrates all users
/ue User exclude: excludes the specified user
/ui User include: includes the specified user
/uel Excludes user based on last login time
/v verboselevel Used to identify what verbosity level will be associated with the log file
on a scale of 013, with 0 being the least verbose
08819book.book Page 18 Thursday, February 22, 2007 3:21 PM