Microsoft KB Archive/319127

= Services do not start and Event ID 7022 is logged in the System log in Windows NT 4.0, Windows 2000, or Windows Server 2003 =

Article ID: 319127

Article Last Modified on 3/1/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows 2000 Server
 * Microsoft Windows NT Server 4.0 Standard Edition

-



This article was previously published under Q319127



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

256986 Description of the Microsoft Windows registry



SYMPTOMS
You may experience the following symptoms:  When you start your computer, you may receive a message that states that one or more services did not start. If other users try to access your computer over the network, they may not be able to locate your computer.  The following events may be logged in the System log: Event ID: 7022

Source: Service Control Manager

Type: Error

Description: Server service hung on startup. Event ID: 26

Source: Application Popup

Type: Information

Description: Application popup: Service Control Manager: At least one service or driver failed during system startup. Event ID: 7001

Source: Service Control Manager

Type: Error

Description: The Computer Browser service depends on the Server service which failed to start because of the following error: After starting, the service hung in a start-pending state. Event ID: 7001

Source: Service Control Manager

Type: Error

Description: The Distributed File System service depends on the Server service which failed to start because of the following error: After starting, the service hung in a start-pending state. 



CAUSE
This issue may occur if the Spooler service tries to start before the Server service. This issue may occur if you installed either the Lexmark International Markvision (LexBce) service or the Hewlett-Packard JetAdmin port monitoring software on your computer.



RESOLUTION
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To resolve this issue, edit the registry to make the Spooler service dependent on the Server service. If you do so, the Spooler service does not start until the Server service is running.

To create this dependency:  Click Start, and then click Run. In the Open box, type regedt32, and then click OK.</li> Locate and click the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Spooler

</li> Click Add Value on the Edit menu.</li> Type DependOnService in the Value Name box.</li> Click REG_MULTI_SZ in the Data Type box, and then click OK.</li> Type LanmanServer in the Data box, and then click OK.</li> Click Exit on the Registry menu to quit Registry Editor.</li> Restart your computer.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
For information about how to contact Lexmark International or Hewlett-Packard, click the appropriate article number in the following list to view the article in the Microsoft Knowledge Base:

65416 Hardware and software vendor contact information, A-K

60781 Hardware and software vendor contact information, L-P

60782 Hardware and software vendor contact information, Q-Z

Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Additional query words: EPSON print spooler 10 to 20 minutes delay in starting services

Keywords: kberrmsg kbprb KB319127

-

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

© Microsoft Corporation. All rights reserved.