Table 40 lists the UserStatePage task sequence variables with a description and whether the variable is read by the wizard page, written by the wizard page, or can be configured in the UDI Wizard configuration file.

Table 40. UserStatePage Task Sequence Variables

Variable

Read

Write

Config

_SMSTsInWinPE

Specifies whether the UDI Wizard is running in Windows PE. If the variable is set to:

·     TRUE, then the UDI Wizard is running in Windows PE

·     FALSE, then the UDI Wizard is not running in Windows PE, but rather in a full Windows operating system

Yes

No

No

OSDDataSourceDirectory

Specifies the directory in which the user state migration data is stored.

No

Yes

No

OSDDataSourceDrive

Specifies the USB drive used for capturing and restoring user state migration data, which you select from the USB Target Drive box. If the variable is set prior to showing the wizard page, the value of the variable is used as the default value.

Yes

Yes

No

OSDDiskPart

Specifies whether the drive selected for the installation of the target operating system should be formatted and partitioned. You set this variable on the VolumePage wizard page, and the code on this wizard page uses it to determine which options are selected and enabled by default. For more information, see UserStatePage.

Yes

No

Yes

OSDHardLinks

Specifies whether the user state migration data is to be captured to or restored from a local drive. If the variable is set to:

·     TRUE, then the Local option was selected, and user state migration data will be captured or restored from a local drive that is attached to the target computer

·     FALSE, then the Local option was not selected, and no user state migration data will be captured or restored from a local drive that is attached to the target computer

No

Yes

No

OSDRestoreData

Specifies whether there is data to be restored. If the variable is set to:

·     TRUE, then the Local, USB Target Drive, or Network option was selected, and user state migration data will be captured or restored from the target computer

·     FALSE, then the No Data to Restore option was selected, and no user state migration data will be captured or restored from the target computer

No

Yes

No

OSDUserStateKey

Specifies the user name used to secure the user state migration data. The user name is provided when the user state migration data is captured. The same user name and password must be provided when the user state migration data is restored. You set the value of this variable in the User name box.

Yes

Yes

Yes

OSDUserStateKeyPassword

Specifies the password for the user name used to secure the user state migration data. Set the value of this variable in the Password and Confirm password boxes.

Yes

Yes

Yes

OSDUserStateMode

Specifies the mode (method) for capturing or restoring the user state migration data. The value of this variable is set by the options selected. If the variable is set to:

·     NoData, then the No Data to Restore option was selected, and no user state migration data will be captured or restored

·     Local, then the Local option was selected, and the user state migration data will be captured or restored from a local hard disk on the target computer

·     Network, then the Network option was selected, and the user state migration data will be captured to or restored from a network shared folder

When used in capture mode, this option creates a folder based on a hash of the user name and password so that the identity of the user state migration data is protected. The exact same user name and password must be used when restoring the user state migration data so that the wizard page can accurately locate the folder.

·     USB, then the USB Target Drive option was selected, and the user state migration data will be captured to or restored from a USB drive that is physically attached to the target computer

The wizard page behavior for USB drives is also affected by the Format, FormatPrompt, and MinimumDriveSize variables.

No

Yes

No

SMSConnectNetworkFolderPath

Specifies the network shared folder used for capturing and restoring user state migration data, which is selected from the Network box. The Network box displays a user-friendly name for the network shared folder that is configured in the Network Shares box in the Network Combo Box section on the wizard page editor in the UDI Wizard Designer. If the variable is set prior to showing the wizard page, the value of the variable is used as the default value.

Yes

Yes

Yes

 

Related Topics

UserStatePage