Arguments passed to the USMT Scanstate process. The scripts call Scanstate.exe, and then insert the appropriate logging, progress, and state store parameters. If this value is not included in the settings file, the user state backup process is skipped.

Note   Use the USMTMigFiles property to specify the .xml files to be used by Scanstate.exe instead of using the /I parameter in the ScanStateArgs property. This prevents the ZTIUserState.wsf script from potentially duplicating the same list of .xml files.

Note   Do not add any of the following command line arguments when configuring this property: /hardlink, /nocompress, /encrypt, /key, or /keyfile. The MDT scripts will add these command-line arguments if applicable to the current deployment scenario.

 

Property configured by

 

 

Property applies to

 

BootStrap.ini

 

 

LTI

˜

CustomSettings.ini

˜

 

 

 

MDT DB

˜

 

ZTI

 

 

Value

Description

arguments

The command-line arguments passed to Scanstate.exe.

The default arguments specified by the Deployment Workbench are as follows:

·     /v. Enables verbose output in the Scanstate log. The default is 0. Specify any number from 0 to 15. The value 5 enables verbose and status output.

·     /o. Overwrites any existing data in the store. If not specified, Scanstate will fail if the store already contains data. This option cannot be specified more than once in a Command Prompt window.

·     /c. When specified, Scanstate will continue to run even if there are nonfatal errors. Without the /c option, Scanstate exits on the first error.

For more information about these and other arguments, see the USMT Help files.

 

Example

[Settings]

Priority=Default

 

[Default]

ScanStateArgs=/v:5 /o /c

LoadStateArgs=/v:5 /c /lac

DeployRoot=\\NYC-AM-FIL-01\Distribution$

ResourceRoot=\\NYC-AM-FIL-01\Resource$

UDShare=\\NYC-AM-FIL-01\MigData$

UDDir=%OSDComputerName%

 

Related Topics

Property Definition