During the State Restore deployment phase, this script verifies that the computer is joined to a domain and recovers from failed attempts to join a domain.
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 |
· ZTIDomainJoin.log. Log file that contains events that this script generates · BDD.log. Log file that contains events that all MDT scripts generate |
References |
· LTISuspend.wsf · ZTIUtility.vbs. Includes support functions and subroutines that the script uses |
Location |
distribution\Scripts |
Use |
cscript ZTIDomainJoin.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.) |
/DomainErrorRecovery: value |
Attempts to join the computer to the domain. If the value specified in value is: · AUTO. Retry the domain join process. Restart and retry. This is the default script behavior. · FAIL. Stops all processing. All task sequence processing stops. · MANUAL. Stop processing; allows the user to manually join the computer to the domain. |
Properties
Name |
Read |
Write |
DomainAdmin |
˜ |
|
DomainAdminDomain |
˜ |
|
DomainAdminPassword |
˜ |
|
DomainErrorRecovery |
˜ |
|
DomainJoinAttempts |
˜ |
˜ |
JoinDomain |
˜ |
|
JoinWorkgroup |
˜ |
|
LTISuspend |
|
˜ |
MachineObjectOU |
˜ |
|
SMSTSRebootRequested |
|
˜ |
SMSTSRetryRequested |
|
˜ |
Related Topics