I know that I haven't posted in a while, but I have been thinking about it. I have several topics in draft form just waiting to be finished up and posted. In today's blog I will go over the task sequence variables that are read or set based on the selections made from each page in the wizard.
No variables are read or set for this page.
No variables are read or set from the wizard for this page. However, there are some task sequence variables that may be set from some of the preflights being run from the page. An example of this is the variable set from the BitLocker preflight check.
This task sequence variable specifies if BitLocker Drive Encryption is enabled on the target computer by the BitLocker preflight check.
Value
Description
Example
PROTECTED
The target computer has BitLocker Drive Encryption enabled.
OSDBitlockerStatus=PROTECTED
Does not exist
If the target computer does not have BitLocker Drive Encryption enabled, then the task sequence variable does not exist.
The computer name assigned to the target computer
Computer Name
The computer name to assign to the target computer
OSDComputerName=%_SMSTSMachineName%
Specifies the name of the domain to which the target computer will be joined if the computer is configured to be a domain member.
Domain Name
OSDDomainName=domain01
Specifies the name of the OU in the domain to which the target computer account will be created when the computer joins a domain.
OU Name
The name of the OU in the domain in which the computer account will be created.
OSDDomainOUName=OU=Workstations,DC=MyDomain,DC=MyCorp,DC=MyForest,DC=COM
Specifies the name of the workgroup to which the target computer will be joined if the computer is configured to be a workgroup member.
Workgroup Name
The name of the workgroup to which the target computer will be joined.
OSDWorkgroupName=WORKGROUP01
Specifies whether the target computer joins a domain or a workgroup.
0
Specifies that the target computer will join a domain. Additionally if this variable is set to this value then the domain/workgroup radio button will be set to domain.
OSDNetworkJoinType=0
1
Specifies that the target computer will join a workgroup. Additionally if this variable is set to this value then the domain/workgroup radio button will be set to workgroup.
OSDNetworkJoinType=1
Specifies the domain-based account used to join the target computer to the domain specified in the OSDDomainName task sequence variable. This task sequence variable is necessary if the target computer will be joined to a domain.
Account Name
The name of the account used to join the target computer to the domain in the format of domain\account.
OSDJoinAccount=domain\account
Specifies the password for the domain-based account used to join the target computer to the domain specified in the OSDJoinAccount task sequence variable. This task sequence variable is necessary if the target computer will be joined to a domain.
password
Specifies the password for the Administrator local built-in account on the target computer.
The password of the Administrator local built-in account on the target computer.
OSDLocalAdminPassword=password
This task sequence variable specifies a list of domain-based accounts or local accounts to be added to the Administrators local built-in group on the target computer.
domain\account_name1; computer\account_name2
The format of the accounts to be made members of the Administrators group on the target computer in the format of domain\account and separated by semicolons, where domain can be the name of an Active Directory domain or the target computer name.
OSDAddAdmin=domain\user01;Win7-01\LocalUser01
The default language to be used with the target operating system. If not specified, the language configured in the image being deployed will be used.
UI_language
The default language for the operating system on the target computer
UILanguage=en-us
The user locale to be used with the target operating system. If not specified, the user locale configured in the image being deployed will be used.
user_locale
The locale for the user on the target computer. For:
· Windows Server 2003, the value is specified as a hexadecimal value (0409:00000409).
· Windows Server 2008, the value is specified as a text value (en-us).
UserLocale=fr-CA
Default system locale used for the operating system.
locale
The default locale of the operating system
SystemLocale=0409:00000409
Keyboard locale to be used in the deployed operating system.
keyboardLocale
An additional keyboard locale to be made available in the deployed operating system
KeyboardLocale=0409:00000409
The default time zone
Time Zone
The default time zone that will be set for the deployed operating system
Specifies the index number of the target operating system in a WIM file.
index number
The index number of the target, which starts with an index number of 1 for the first operating system in the WIM file.
Specifies the processor architecture of the target operating system selected for deployment.
x86
The target operating system is a 32-bit operating system.
OSDAchitecture=x86
amd64
The target operating system is a 64-bit operating system.
OSDAchitecture=amd64
Specifies the disk volume where the target operating system will be deployed.
disk volume
The disk volume designation
OSDTargetDrive=C:
Specifies the folder in which the Windows operating system is currently installed on the target computer.
windows directory
The directory in which the Windows operating system is currently installed from which the user state will be captured from.
OSDWinPEWinDir=C:\Windows
Specifies whether the target disk partition should be formatted.
YES
The target disk partition will be formatted.
OSDDiskPart=YES
NO
The target disk partition will not be formatted.
OSDDiskPart=NO
Specifies which applications should be selected by default on the Install Software page of the Operating System Deployment (OSD) Setup Wizard.
list of app ids
A semicolon-delimited list of application to be selected by default on the Install Software page of the Operating System Deployment (OSD) Setup Wizard; each application is represented by an application ID and separated by a semicolon. The application ID is derived from the Id attribute of each application in the UDIWizard_Config.xml file. In the following excerpt from a UDIWizard_Config.xml file, the Office 2007 SP2 application has an Id attribute of 1:
<Application DisplayName="Office 2007 SP2" State="Disabled" Id="1">
NOTE: This variable can be read in but when the wizard exits it will set the task sequence variables in a manner which can be read by the task sequence.
OSDApplicationList=2;3
These variables will be set based on which applications are selected when the wizard exits and what the base variable name is set to.
PKGID:Program Name
The base variable name is configurable from the designer for the wizard. The name used must match the base variable name used in your task sequence on the Install Software Step.
The number of applications which can be installed range from 1 to 999 from this single step. By default the base variable name used with UDI is Packages so the avaible variables which can be set are: Packages001 - Pacakges999.
Packages001=SMS0000C:Office Setup
No variables are set from this page. However, as this is the last page in the wizard when the Finish button is selected then the selections for each page will be set as task sequence variables.
Specifies if the user cancelled the Operating System Deployment (OSD) Setup Wizard. The wizard can be cancelled from any page in the wizard.
True
The user cancelled the Operating System Deployment (OSD) Setup Wizard.
OSDSetupWizCancelled=True
If the wizard is not cancelled, then the task sequence variable does not exist.