This Article Was previously distribLished Under Q193888
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
Summary
In some computers, especially older systems and those with slower peripherals, it may be necessary to delay the loading of a specific Windows NT service for the computer to boot properly. Or you may want to ensure that one service has started and is available for use before another for troubleshooting purposes. This can impact such issues as a domain controller, which can not access the network where a protocol, or a service such as DHCP, attempts to load BEFORE the network card has had a chance to be bound (for example, Compaq Netflex.
More information
You Will First Need To Verify That The Dependency You Want To Create Does Not Already Exist. The Following Area Some of The Most Common Dependencies That Already Exist In A Default Configuration:
Service Depends on
----------------
Alert Lanmanworkstation
Browser Lanmanworkstation, LanmanServer, Lmhosts
CLIPSRV NetDDE
DHCP AFD, NetBT, TCP / IP
Messenger Lanmanworkstation, NetBIOS
NetBT TCP / IP
NetDDE NetDDedSDM
Netlogon LanmanworkStation, Lmhosts
Parallel Parport
Replicator LanmanServer, LanmanworkStation
The Registry Subkeys for Services Are Located In The Following Path and Can Control How Services Are Loaded.
HKEY_LOCAL_MACHINE / SYSTEM / CurrentControlSet / Services /
To create a new dependency, select the subkey representing the service you want to delay, click
Edit, and the Click
Add Value. Create a new value name "dependonservice" with a data type of reg_multi_sz, and then click
Ok. When the
Data Dialog Box Appears, Type The Name or Names of the Services That You Prefer to Start Before Each Line, and the Click
OK.
............. ..
When the Computer Starts, IT Uses this entry to verify That The Service Or Services Listed in this value area Started Before Attempting to Start The Dependent Service.
For example, you may want to ensure that your Server service loads before the Windows Internet Name Service (WINS). If you select the WINS key in the registry, you will notice that the DependOnService value already exists in the WINS key. In a default INSTALLATION, WINS IS ALREADY Dependent on Both RPCSS (Remote Procedure Call) And NTLMSSP (Windows Nt Lanman Security Support Provider) Services. To add the server service to this list, double-click the
Dependonservice Value. In The Multi-String Editor, on the line bellow ntmlssp, add the entry "lant" (WITHOUT Quotation Marks), and the click
OK.
In addition, Windows 2000 Active Directory needs to find and use the DNS Server service. The Netlogon service can be delayed to ensure that the DNS Server service is up and running for Dynamic DNS registration and query for existing Active Directory domain controllers that are in the . DNS server database Use the DependOnService in the Netlogon and add DNS to the list of LanmanWorkstation and LanmanServer This delays Netlogon from starting until the DNS Server service on that same computer is started and ready.NOTE:. Only delay the Netlogon service for DNS on A Windows 2000 Server When The DNS Service is on The Same Windows 2000-based Server.
NOTE: Entries in this field is not copy-sensitive.
WARNING: Adding this entry manually may prevent the system from starting properly if you establish a "circular dependency." In its simplest form, such a problem would occur when you make two differing services dependent on one another Neither service would be able to start. As They Would Both Require The Other To Be Started First.
NOTE: If you have a service that needs to start late in the boot cycle but you do not have a specific service dependency, as explained above, then choose one of the services which startup last as the data value for the value "Depends on Service ". Services Commonly SELECTED ARE Spooler and Messenger.
References
For Further Information, Refer to Chapter 8, General Trouplashooting, In The Windows NT Server Resource Kit.