This script removes any files or configuration settings (such as scripts, folders, registry entries, or automatic logon configuration settings) from the target computer after the deployment process finishes.

 

Value

Description

Input

Environment variables. Contains the list of property values, custom properties, database connections, deployment rules, and other information that the scripts require to complete the deployment process. The environment variables are populated by ZTIGather.wsf.

Output

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

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

References

·     Bootsect.exe. Applies a boot sector to the hard disk

·     Net.exe. Performs network management tasks

·     RegSvr32.exe. Registers files (.dll, .exe, .ocx, and so on) with the operating system

·     ZTIBCDUtility.vbs. Includes utility functions used when performing Boot Manager tasks

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

Location

distribution\Scripts

Use

cscript LTICleanup.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)

 

Properties

Name

Read

Write

_DoNotCleanLiteTouch

˜

 

DeployRoot

˜

 

DestinationLogicalDrive

˜

 

OSVersion

˜

 

 

Related Topics

Scripts