This script initializes USMT to capture and restore user state on the target computer.

 

Value

Description

Input

Environment variables. Contains the property values, custom property values, database connections, deployment rules, and other information that the scripts require to complete the deployment process

Output

·     ZTIUserState.log. Log file that contains events that this script generates

·     BDD.log. Log file that contains events that all MDT scripts generate

References

·     CMD.exe. Allows running of command-line tools

·     ·    InstallUSMT30_x86_2000andXP.exe. Installs USMT

·     InstallUSMT30_x64_XP.exe. Installs USMT

·     Loadstate.exe. Deposits user state data on a target computer

·     Msiexec.exe. Manages the installation of .msi-based applications

·     Scanstate.exe. Collects user data and settings

·     USMT Application Files

·     ZTIUtility.vbs. Includes support functions and subroutines that the script uses

Location

distribution\Scripts

Use

cscript ZTIUserState.wsf </debug:value>

 

Arguments

Value

Description

/debug:value

Outputs the event messages to the console and to the .log files. If the value specified in value is:

·     TRUE, event messages are sent to the console and the .log files

·     FALSE, event messages are sent only to the .log files (This is the behavior when the argument is not provided.)

/Capture

/Estimate

/Restore

 

Properties

Name

Read

Write

Architecture

˜

 

DeploymentMethod

˜

 

DeploymentType

˜

 

DestinationLogicalDrive

˜

 

ImageBuild

˜

 

ImageSize

˜

 

ImageSizeMultiplier

˜

 

InstallFromPath

˜

 

IsServerOS

˜

 

LoadStateArgs

˜

 

OSCurrentVersion

˜

 

OSDMigrateAdditionalCaptureOptions

˜

˜

OSDMigrateAdditionalRestoreOptions

˜

˜

OSDPackagePath

˜

 

OSDStateStorePath

 

˜

OSVersion

˜

 

ScanStateArgs

˜

 

StatePath

˜

˜

UDDir

˜

 

UDProfiles

˜

 

UDShare

˜

 

UserDataLocation

˜

˜

USMT3

˜

 

USMTConfigFile

˜

 

USMTEstimate

˜

˜

USMTLocal

 

˜

USMTMigFiles

˜

 

 

Related Topics

Scripts