BUG: MSMQ Service Fails to Start Automatically on Restart

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 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.
Propriétés

ID d'article : 234372 - Dernière mise à jour : 15 oct. 2002 - Révision : 1

Commentaires