Microsoft KB Archive/810610

= Unattended Setup Pauses to Restart the Computer When You Use the ExtendOEMPartition Parameter =

PSS ID Number: 810610

Article Last Modified on 11/7/2003

-

The information in this article applies to:


 * Microsoft Windows Server 2003, Enterprise Edition
 * Microsoft Windows Server 2003, Standard Edition
 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Professional

-



SYMPTOMS
When you perform an unattended installation, the unattended setup may pause, and you may receive the following error message:

System Settings Change

Windows has finished installing new devices. The software that supports your device requires that you restart your computer. You must restart your computer before the new settings will take effect.

Do you want to restart your computer now?



CAUSE
This issue may occur if you use the ExtendOEMPartition switch in one of the following methods:
 * [Unattended] ExtendOEMPartition=1
 * [Unattended] ExtendOEMPartition=1, nowait
 * [Unattended] ExtendOEMPartition=a specified extra size in MB

The issue occurs because plug-and-play recognizes a new volume and initiates a restart to record the change to the computer. The Setupapi.log file that the unattended installation generates may show information similar to the following: #I123 Doing full install of &quot;STORAGE\VOLUME\1&30A96598&0&SIGNATUREDCB6DCB6OFFSET7E00LENGTH7D0B6200&quot;. #W100 Query-removal during install of &quot;STORAGE\VOLUME\1&30A96598&0&SIGNATUREDCB6DCB6OFFSET7E00LENGTH7D0B6200&quot; was vetoed by

&quot;STORAGE\Volume\1&30a96598&0&SignatureDCB6DCB6Offset7E00Length7D0B6200&quot; (veto type 6: PNP_VetoDevice). #W104 Device &quot;STORAGE\VOLUME\1&30A96598&0&SIGNATUREDCB6DCB6OFFSET7E00LENGTH7D0B6200&quot; required reboot: Query remove failed (install) CfgMgr32

returned: 0x17: CR_REMOVE_VETOED. #I121 Device install of &quot;STORAGE\VOLUME\1&30A96598&0&SIGNATUREDCB6DCB6OFFSET7E00LENGTH7D0B6200&quot; finished successfully.



WORKAROUND
To work around this issue, you can use the Microsoft ScriptIt Utility to automate the Yes response in the System Settings Change dialog box.

For more information about the ScriptIt Utility, visit the following Microsoft Web site:

http://www.microsoft.com/ntserver/techresources/deployment/NTserver/scriptit3.asp

Microsoft provides ScriptIt is free of charge. To download ScriptIt, visit the following Microsoft Web site:

http://www.microsoft.com/technet/downloads/exe/scriptit.exe

Note Microsoft does not provide technical support for scripts that you prepare by using the ScriptIt tool. Therefore, it is important that you test your scripts thoroughly before you use them in a production environment. To do so:  Create a Scriptit folder that resides in your distribution share, for example &quot;$OEM$\C\Scriptit&quot;. Extract the following files from the download to the $OEM$\C\Scriptit folder:

Scriptit.exe

WBDBP32I.DLL

  Use the following text to create a .ini file to use with the ScriptIt utility: [SCRIPT] System Settings Change+Do you want to restart your computer now=~winwaitactive#!Yes

[ADLIB] System Settings Change+Do you want to restart your computer now=~winwaitactive#!Yes   Type the following text in the [Unattended] section of the Setup answer file:

OemPnPDriversPath =

For example: [Unattended]

OEMPnpDriversPath=c\scriptit Note You can list multiple paths in this key by separating them with a semicolon. For example: [Unattended] OEMPnpDriversPath=c\scriptit;Drivers\NIC;Drivers\Modem;Drivers\Video Note The %SystemDrive% environment variable string is automatically inserted before each of the listed search paths.  Add the following line to the [GUIRunOnce] section of the Unattend.txt file:

&quot;C:\scriptit\scriptit.exe C:\scriptit\ .ini&quot;

where  is the name of the .ini file that you created.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

<div class="moreinformation_section">

MORE INFORMATION
For additional information about how to use the Scriptit Utility, click the following article number to view the article in the Microsoft Knowledge Base:

191605 INFO: Incorporating ScriptIt with Unattended Installation ID

Keywords: KB810610

Technology: kbWinServ2003Ent kbWinServ2003EntSearch kbWinServ2003Search kbWinServ2003St kbWinXPHome kbWinXPHomeSearch kbWinXPPro kbWinXPProSearch kbWinXPSearch

-

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

© 2004 Microsoft Corporation. All rights reserved.