Hung Server Service, Event 7022 w/ Many DLC Printers Connected

Last reviewed: November 21, 1997
Article ID: Q137399
3.50 3.51 WINDOWS kbprint kberrmsg

The information in this article applies to:

  • Microsoft Windows NT Workstation versions 3.5, 3.51, and 4.0
  • Microsoft Windows NT Server versions 3.5, 3.51, and 4.0

SYMPTOMS

When you configure your Windows NT computer to connect to many network print devices using the DLC protocol, one or both of the following symptoms occur:

  • The following event appears in the System Log (as seen in the Event Viewer):

          Event ID: 7022
          Source: Service Control Manager
          Type: Error
          Description: Server service hung on startup.
    

    -or-

  • The Server service stops responding (hangs) in a "start pending" state and the Netlogon and Browser services do not start. This error message appears when you log in:

          Can not contact the domain controller for this domain
    

CAUSE

The server service does not initially start due to delays caused by the spooler service.

The spooler service attempts to connect to all the network printers. Usually, you encounter this problem only on servers attempting to connect to over 25 network printers using the DLC protocol. The number of connections required to trigger this event varies according to hardware and network performance.

RESOLUTION

To correct this problem:

WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.

  1. Run Registry Editor (REGEDT32.EXE).

  2. From the HKEY_LOCAL_MACHINE subtree, go to the following key:

          \SYSTEM\CurrentControlSet\Services\Spooler
    

  3. From the Edit menu, select Add Value.

  4. Add the following:

          Value Name: DependOnService
          Data Type:  REG_MULTI_SZ
    
          Data:       LanmanWorkstation<CR>LanmanServer<CR>LmHosts
    
    
NOTE: <CR> Indicates you should hit Enter on the keyboard

  1. From the HKEY_LOCAL_MACHINE subtree, go to the following key:

          \SYSTEM\CurrentControlSet\Services\NetLogon
    

  2. Select the DependOnService entry

  3. From the Edit menu, select Multi String....

  4. Add the necessary services to make your data look like this:

          Value Name: DependOnService
          Data Type:  REG_MULTI_SZ
    
          Data:       LanmanServer
    
    

  5. Choose OK and quit Registry Editor.

  6. Shut down and restart Windows NT.

Adding these lines holds the spooler service from loading until the LanmanWorkstation, LanmanServer, and LmHosts services have loaded and holds the netlogon service from loading until spooler, LanmanWorkstation, LanmanServer, and LmHosts has loaded.


KBCategory: kbprint kberrmsg
KBSubcategory: ntprint ntnetserv
Additional reference words: prodnt 3.50 3.51 JetDirect
Keywords : ntnetserv ntprint kberrmsg kbprint
Version : 3.50 3.51
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 21, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.