You are currently offline, waiting for your internet to reconnect

TCP/IP Printing Service Hangs If Started Before Spooler Service

This article was previously published under Q189224


IMPORTANT: This article contains information about editing the registry.Before you edit the registry, make sure you understand how to restore it ifa problem occurs. For information on how to do this, view the "Restoringthe Registry" online Help topic in Regedit.exe or the "Restoring a RegistryKey" online Help topic in Regedt32.exe.
SYMPTOMS
After you apply Windows NT 4.0 Service Pack 3, the TCP/IP Printing servicestops responding (hangs) if it is started before the Spooler service isstarted. In addition, the Stop/Start button in the Services tool in ControlPanel is unavailable when TCP/IP printing is selected and one or more ofthe following error messages may occur:

Could not start the TCP print server service on (servername)
Or
Error 2186: The service is not responding to the control function.
CAUSE
The TCP/IP Printing service depends on the Spooler service and may becomenonresponsive when attempted to run without the spooler service runningfirst.
RESOLUTION
You can work around this problem by starting the Spooler service prior tothe TCP/IP Printing service.

You can resolve this problem by adding the following registry key to theTCP/IP Printing service:

WARNING: Using Registry Editor incorrectly can cause serous problems thatmay require you to reinstall your operating system. Microsoft cannotguarantee that problems resulting from the incorrect use of Registry Editorcan be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys AndValues" Help topic in Registry Editor (Regedit.exe) or the "Add and DeleteInformation in the Registry" and "Edit Registry Data" Help topics inRegedt32.exe. Note that you should back up the registry before you edit it.

  1. Start Registry Editor (Regedt32.exe).
  2. Locate the following key in the registry:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LPDS
  3. On the Edit menu, click Add Value, and then add the following registry value:
    Value Name: DependOnService Data Type: REG_MULTI_SZ Value: Spool
  4. Quit Registry Editor.
When you stop the spooler service, it will also stop the TCP/IP Printingservice. When you restart the TCP/IP Printing service, without starting thespooler service, it will start the spooler service first.
STATUS
Microsoft has confirmed this to be a problem in Windows NT version 4.0.
sp3 UNIX hang
Properties

Article ID: 189224 - Last Review: 11/01/2006 04:52:50 - Revision: 2.1

  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT 4.0 Service Pack 3
  • Microsoft Windows NT Server 4.0 Enterprise Edition
  • kbbug kbnofix kbqfe KB189224
Feedback