Microsoft KB Archive/910830

= Error message when you use the Mqbkup.exe utility in Message Queuing 2.0: &quot;Access is denied&quot; =

Article ID: 910830

Article Last Modified on 12/26/2006

-

APPLIES TO


 * Microsoft Message Queue Server 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  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  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  registry key. To do this, click Find Handle on the Find menu to search for &quot;MSMQ\Parameters&quot;.

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 &quot;Applies to&quot; 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:

http://www.microsoft.com/technet/sysinternals/default.mspx

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.

