Microsoft KB Archive/822570

= You Experience Long Startup Times When You Start WinPE by Means of a Remote Installation Services Server =

Article ID: 822570

Article Last Modified on 1/30/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server

-





Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
Multiple client computers may take a long time to start in a Microsoft Windows Preinstallation Environment (WinPE). This long startup time may occur when clients start from a Windows 2000-based server or from a server that uses Windows Server 2003 Remote Installation Services (RIS).

This behavior occurs when Startnet.cmd runs the Factory.exe and Netcfg.exe commands on each client. Although the initial startup processes run as expected, eventually all clients slow down when they run the parameters in the Startnet.cmd file. This behavior occurs even when the client startup processes are staggered.



CAUSE
This behavior occurs when multiple clients try to access the Setupapi.log file on the Remote Installation Services server at the same time. All clients that start in a WinPE use files on the Remote Installation Services server. When multiple clients run Factory.exe and Netcfg.exe, they try to write information to the same log file, and because Setupapi holds the file open, other clients have to wait to log their information before they continue.



WORKAROUND
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk. To work around this behavior, follow these steps to disable Setupapi logging.  On the Remote Installation Services server, start Registry Editor. To do this, click Start, click Run, type Regedit in the Open box, and then click OK. Click the  registry key. On the File menu, click Load Hive. Locate the \i386\System32\Config folder in the WinPE image on the Remote Installation Services server:

 Click Software, and then click Open. Give the hive a temporary name.</li> Locate and then double-click the following registry key: </li> On the Edit menu, point to New, and then click DWORD Value.</li> Name the new value &quot;LogLevel&quot;, and then press ENTER.</li> Double-click the LogLevel entry, verify that Hexadecimal is selected, and then type 101 in the Value data box.</li> Click OK.</li> Verify that the LogLevel entry now has a value of 0x00000101.</li> Click to select .</li> On the File menu, click Unload Hive.</li> Click Yes, and then quit Registry Editor.</li> Set the Setupapi.log file to read-only. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Locate the WinPE image on the Remote Installation Services server.</li> Open the I386 folder in the WinPE image, right-click Setupapi.log, and then click Properties.

Note This file is not present until you successfully start from the WinPE image for the first time.</li> Click the General tab, and then click to select the Read-only check box.</li></ol> </li></ol>

Note When you disable Setupapi logging, you may experience increased performance when you start from a WinPE image by means of a Remote Installation Services server. Keep in mind that other factors eventually affect performance when you start multiple clients. For example, in your environment, you may be able to start 12 to 15 clients at the same time and complete all startup processes in 2 to 3 minutes. If you increase the number of clients to 25 or 30, you may notice decreased performance because of other constraints on resources such as network bandwidth, disk controller throughput, or other external factors. For additional information about how to enable logging, click the following article number to view the article in the Microsoft Knowledge Base:

243996 How to Enable Verbose Logging in Windows 2000 GUI-Mode Setup

Keywords: kbwinservsetup KB822570

-

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

© Microsoft Corporation. All rights reserved.