BUG: MSMQ Service Fails to Start Automatically on Restart (234372)
The information in this article applies to:
- Microsoft Message Queue Server (MSMQ) 1.0
This article was previously published under Q234372 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.
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.
RESOLUTIONIMPORTANT: 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: -
On the taskbar, select Start, and then click Run.
-
Type REGEDT32 and click OK to open the Registry Editor.
-
Using the Registry Editor, navigate to the following key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSMQ -
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 -
Restart the computer. The MSMQ Service will now start automatically on restart.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCES
Please see the MQMQ Admin Guide for more information.
Modification Type: | Major | Last Reviewed: | 10/15/2002 |
---|
Keywords: | kbBug kbDSupport KB234372 |
---|
|