The ZTI deployment action is unsuccessful, and an Error event is logged in the ZeroTouchInstallation.log file when the Windows User State Migration Tool Scanstate.exe application runs (898083)



The information in this article applies to:

  • Microsoft Windows XP Professional
  • Microsoft Windows XP Tablet PC Edition
  • Microsoft Office Professional Edition 2003

SYMPTOMS

When you try to use the Zero Touch Installation (ZTI) script (ZeroTouchInstallation.vbs) that is included in Microsoft Solution Accelerator for Business Desktop Deployment (BDD), the ZTI deployment action is unsuccessful. When the Microsoft Windows User State Migration Tool (USMT) Scanstate.exe application runs, an Error event that is similar to the following is logged in the ZeroTouchInstallation.log file:------ Performing State Capture ------
...
User state backup will be performed using "\\SERVERNAME\SMSPKGE$\D0100031\scanstate.exe"
...
About to run "\\SERVERNAME\SMSPKGE$\D0100031\scanstate.exe" /i:miguser.inf /i:migapp.inf /i:migsys.inf /i:sysfiles.inf /i:updateuser.inf /all /v:7 /x /s /f /o /c /user:*\* /
l:C:\MININT\SMSOSD\OSDLOGS\usmtcapt.log \\SERVERNAME\MigData\testPC /progress:\\SERVERNAME\Logs\testPC.prg
...
User state backup failed, rc = 1223
...
ERROR - Unable to capture user state. No further processing.
...
ERROR - Non-zero return code from ZTIProcess function, rc = 1

CAUSE

This problem occurs when you use the /all parameter in the USMT Scanstate.exe application and you specify the UDProfiles setting in the CustomSettings.ini file.

If you have the UDProfiles setting in the Default section of the CustomSettings.ini file, the ZTI script appends the /user: parameter with what you specify in the UDProfiles setting to the USMT Scanstate.exe application. The /all parameter and the /user: parameter are considered conflicting parameters in USMT 2.6. This problem occurs even when you specify the *\* setting in the UDProfiles setting.

Note The /all parameter is used to migrate all the users on the computer.

The USMT Scanstate.exe application closes, and you receive the following error message:
Conflicting user options were specified
The text of this error message is not logged in the ZeroTouchInstallation.log file.

RESOLUTION

To resolve this problem, do not add the /all parameter to the ScanStateArgs section in the CustomSettings.ini file. We recommend that you appropriately populate the UpdateUser.inf file and then set the UDProfiles setting to *\* in the CustomSettings.ini file or to a list of users as required.

When the USMT Scanstate.exe application finishes as expected, the ZTI script logs events that are similar to the following: ------ Performing State Capture ------
...
User state backup will be performed using "\\SERVERNAME\SMSPKGE$\D0100033\scanstate.exe"
...
About to run "\\SERVERNAME\SMSPKGE$\D0100033\scanstate.exe" /i:miguser.inf /i:migapp.inf /i:migsys.inf /i:sysfiles.inf /i:updateuser.inf /v:7 /x /s /f /o /c /user:*\* /
l:C:\MININT\SMSOSD\OSDLOGS\usmtcapt.log \\SERVERNAME\MigData\testPC /progress:\\SERVERNAME\Logs\testPC.prg
...
User state backup was successful.
...
Zerotouchinstallation.vbs COMPLETED. Return Value = 0

MORE INFORMATION

For more information about the Zero Touch Installation Deployment Feature Team Guide from the Solution Accelerator for BDD Enterprise Edition, visit the following Microsoft Web site:For more information about USMT, view the USMT 2.6 Help (usmt.chm) that is part of the download package for USMT 2.6. For more information, visit the following Microsoft Web sites:For more information about the Solution Accelerator for BDD Enterprise Edition, visit the following Microsoft Web site:

Modification Type:MajorLast Reviewed:5/25/2005
Keywords:kbsetup kbinfo kbtshoot kbprb KB898083 kbAudITPRO kbAudDeveloper