Microsoft KB Archive/898083

= 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 =

Article ID: 898083

Article Last Modified on 11/16/2007

-

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 &quot;\\ \SMSPKGE$\D0100031\scanstate.exe&quot;

...

About to run &quot;\\ \SMSPKGE$\D0100031\scanstate.exe&quot; /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 \\ \MigData\testPC /progress:\\ \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 &quot;\\ \SMSPKGE$\D0100033\scanstate.exe&quot;

...

About to run &quot;\\ \SMSPKGE$\D0100033\scanstate.exe&quot; /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 \\ \MigData\testPC /progress:\\ \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:

http://www.microsoft.com/technet/itsolutions/cits/dsd/enterprise/ZTIDFTGuide.mspx

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:

Windows User State Migration Tool (USMT) version 2.6

http://www.microsoft.com/downloads/details.aspx?FamilyID=4af2d2c9-f16c-4c52-a203-8daf944dd555&DisplayLang=en

User State Migration

http://technet.microsoft.com/en-us/desktopdeployment/bb397209.aspx

For more information about the Solution Accelerator for BDD Enterprise Edition, visit the following Microsoft Web site:

http://technet.microsoft.com/en-us/desktopdeployment/default.aspx

Additional query words: USMT

Keywords: kbinfo kbtshoot kbsetup kbprb KB898083

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.