Use this UDI task to identify whether the _SMSTaskSequence folder is located on a USB drive on the target computer. By default, the Configuration Manager task sequencer places the _SMSTaskSequence folder on the drive with the most available free disk space. This can cause problems later in the deployment process if the USB drive is removed.

This task checks to see whether the folder is located on a USB drive and prevents the deployment from proceeding if it is. This task uses only those parameters common to all UDI tasks. For more information about these parameters, see UDI Task Configuration Settings.

If the _SMSTaskSequence folder is located on a USB drive, this task fails and prevents the deployment from continuing. To resolve this issue and perform the deployment, complete the following steps:

1.   Disconnect the USB drive from the target computer before starting the task sequence.

2.   Start the task sequence.

3.   Wait until the UDI Wizard starts.

4.   Connect the USB drive.

5.   Complete the UDI Wizard.

Table 18 lists the error and exit codes that the CheckSMSFolderOnUSB task generates.

Table 18. Error and Exit Codes for the CheckSMSFolderOnUSB Task

Exit or error code

Value

Status

Exit

0

Success, which indicates that the _SMSTaskSequence folder is not located on a USB drive and the deployment can continue.

Exit

*

Error, which indicates that the _SMSTaskSequence folder is located on a USB drive and the deployment cannot continue.

 

Related Topics

Built-in UDI Tasks