The arguments passed to the USMT Loadstate process. The ZTI script inserts the appropriate logging, progress, and state store parameters. If this value is not included in the settings file, the user state restore process is skipped.

If the Loadstate process finishes successfully, the user state information is deleted. In the event of a Loadstate failure (or non-zero return code), the local state store is moved to %WINDIR%\StateStore to prevent deletion and to ensure that no user state information is lost.

Note   Do not add any of the following command-line arguments when configuring this property: /hardlink, /nocompress, /decrypt, /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 Loadstate.exe.

The default arguments specified by Deployment Workbench are as follows:

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

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

·     /lac. Specifies that if the account being migrated is a local (non-domain) account, and it does not exist on the destination computer, then USMT will create the account but it will be disabled.

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

 

Example

[Settings]

Priority=Default

 

[Default]

OSInstall=YES

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