BUG: MSMQ Service Fails to Start Automatically on Restart

ID: Q234372


The information in this article applies to:
  • Microsoft Message Queue Server version 1.0


SYMPTOMS

The Microsoft Message Queue server (MSMQ) will fail to start automatically after a restart. Additionally, the following two entries may be placed in the system Event Log by the Service Control Manager:

Timeout (120000 milliseconds) waiting for the service to connect.
- and -
The Microsoft Message Queue Service service failed to start due to the following error: The service did not respond to the start or control request in a timely fashion.
You can use the Control Panel Services applet and manually start MSMQ service after the computer has been restarted, however, the service will not start automatically if the computer is restarted again.


RESOLUTION

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

Adding "ProtectedStorage" to the DependsOnService entry in the MSMQ Registry entry resolves this problem. The following steps illustrate how to make the necessary change:

  1. On the taskbar, select Start, and then click Run.


  2. Type REGEDT32 and click OK to open the Registry Editor.


  3. Using the Registry Editor, navigate to the following key:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSMQ


  4. Double-click the DependsOnService entry. This will open the Multi-String Editor. Add "ProtectedStorage" to the DependsOnService value. When you are done, the entry should look like the following:

    DependOnService REG_MULTI_SZ: MQAC LanmanServer NtLmSsp ProtectedStorage RPCSS MSDTC


  5. Restart the computer. The MSMQ Service will now start automatically on restart.



STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.


REFERENCES

Please see the MQMQ Admin Guide for more information.

Additional query words:

Keywords : kbMSMQ100bug kbGrpPlatform kbDSupport
Version : winnt:1.0
Platform : winnt
Issue type : kbbug


Last Reviewed: September 13, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.