Error message when you use the Mqbkup.exe utility in Message Queuing 2.0: "Access is denied" (910830)



The information in this article applies to:

  • Microsoft Message Queue Server (MSMQ) 2.0

SYMPTOMS

When you use the Mqbkup.exe utility in Microsoft Message Queuing 2.0, you may receive an error message that is similar to the following:
Can't restore MSMQ registry settings (0x5)
Access is denied.

CAUSE

This problem occurs because there are open registry handles to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters registry key.

Note This problem may also be caused by any process that has loaded the Mqrt.dll file.

RESOLUTION

To resolve this problem, close all processes that have loaded the Mqrt.dll file and all process that have handles that are opened to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters registry key. You can use Sysinternals Process Explorer to view both loaded DLLs and opened registry handles.

In Process Explorer, you can list processes that have loaded the Mqrt.dll file. To do this, click Find DLL on the Find menu to search for Mqrt.dll. When you view open handles in Process Explorer, you can list the processes that have open handles to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters registry key. To do this, click Find Handle on the Find menu to search for "MSMQ\Parameters".

For more information about searching for processes that load DLLs or have opened registry handles, see the Process Explorer documentation.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

The following processes are examples of processes that may cause this problem to occur:
  • Mmc.exe
  • Explorer.exe
  • Rundll32.exe
To obtain Process Explorer, visit the following Sysinternals Web site: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

REFERENCES

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

842041 You may receive an "Access denied" error message when you try to restore a Message Queuing back-up file


Modification Type:MajorLast Reviewed:2/6/2006
Keywords:kbinfo kbtshoot kbBug kbprb KB910830 kbAudEndUser kbAudITPRO