Microsoft KB Archive/165748

= How to Disable a Service or Device That Prevents NT from Booting =

Article ID: 165748

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows NT Workstation 3.51
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Server 3.51
 * Microsoft Windows NT Server 4.0 Standard Edition

-



This article was previously published under Q165748



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
If a service or device driver is started automatically and is incompatible with the current version of Windows NT or Windows 2000, the service or device driver may not allow Windows to remain booted long enough for you to shut the service off or disable the outdated device driver.



CAUSE
This may occur when Windows is upgraded to a new version prior to removing or stopping third-party devices or services.



RESOLUTION
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. Perform the following steps to resolve this problem:  Install a parallel copy of Windows to a different folder on your local hard disk.

NOTE: For the procedure and additional information on parallel installation, click the article number below to view the article in the Microsoft Knowledge Base:

259003 How and Why to Perform a Parallel Installation of Windows NT 4.0

 Run Regedt32.exe from the newly installed version of Windows and go to the following key:

  On the Registry menu, click Load Hive, and then open the following registry file in the original Windows installation:      %SystemRoot%\System32\Config\System Assign it a name other than System (such as "Test") in the next dialog box (the Key Name dialog box).

NOTE: The file must be open before the key name is changed.  Go to the following registry key and note the value for Current:REG_DWORD (this selects which ControlSet00x to load when booting and is the one that needs modification):

 Perform the following steps to disable a service: <ol style="list-style-type: lower-alpha;"> Go to the following registry key:

Where x is the value of Current:REG_DWORD</li>  Change the value of Start:REG_DWORD: to 0x4.

NOTE: Other Valid Services start options are: <pre class="fixed_text">        Automatic   0X2 Manual     0x3 Disabled   0x4 </li></ol> </li> Perform the following steps to disable a device driver: <ol style="list-style-type: lower-alpha;"> Go to the following registry key:

Where x is the value of Current:REG_DWORD</li>  Change the value of Start:REG_DWORD: to 0x4.

NOTE: Other Valid Services start options are:

<pre class="fixed_text">        Boot        0x0 System     0x1 Automatic  0X2 Manual     0x3 Disabled   0x4 </li> After you have made the necessary changes, go to the following registry key and then click Unload Hive on the Registry menu:

</li> Quit Registry Editor, exit the parallel version of Windows, and then reboot the original version of Windows. The service or device that corresponds to the edited key are now disabled.</li></ol> </li></ol>

Additional query words: 3.50

Keywords: kb3rdparty kbenv KB165748

-

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

© Microsoft Corporation. All rights reserved.