Scanstate.exe
You use ScanState to save user state data. By default, this program places user state data into the data store location as defined by the three migration .xml files. The following describes an abbreviated syntax of ScanState, and Table below describes each command-line option.
Scanstate.exe [Store][/i:[path\]filename] [/config:[path\]file] [/hardlink /nocompress]
[/o] [/p[:file]] [/vsc]
Scanstate.exe Command-Line Options
Option | Description |
Store | Specifies a path to the data store. |
/config:[path\]file | Specifies a Config.xml file. (See the section titled "Developing Migration Files" later in this tutorial for more information.) |
/hardlink | Enables the creation of a hard-link migration store at the location specified by Store. You must specify the /nocompress option when using this option. |
/i:[path\]filename | Identifies a migration .xml file to use when saving state data. You can use this option multiple times. |
/nocompress | Disables data compression. Use this option only with the /hardlink option or when testing in a lab environment |
/o | Overwrites existing data in the data store. |
/p[:file] | Creates a size estimate in the path specified. When used without a path, it creates a size estimate file called USMTsize.txt in the location specified by Store. |
/vsc | Creates a size estimate in the path specified. When used without a path, it creates a size estimate file called USMTsize.txt in the location specified by Store. |
Note ScanState supports many other command-line options. For a complete list of these options, see the USMT.chm help file in the Windows AIK.
In this tutorial:
- Migrating User State Data
- Evaluating Migration Technologies
- Windows User State Migration Tool
- Using Windows Easy Transfer
- Refresh Computer
- Replace Computer
- Planning User State Migration Using USMT
- Choosing Subject Matter Experts
- Prioritizing Migration Tasks
- Choosing a Data Store Location
- Automating USMT
- Testing User State Migration
- Installing USMT
- Windows PE Media
- Understanding USMT Components
- Scanstate.exe
- Loadstate.exe
- Developing Migration Files
- Control File Syntax
- Using USMT in Microsoft Deployment Toolkit
- Specifying the Data Store Location
- Adding Custom Migration Files