Microsoft KB Archive/842041

= You may receive an &quot;Access denied&quot; error message when you try to restore a Message Queuing back-up file =

Article ID: 842041

Article Last Modified on 1/18/2007

-

APPLIES TO


 * Microsoft Message Queuing 2.0

-





SYMPTOMS
When you try to restore a Message Queuing back-up file by using the Mqbkup.exe utility, the restore may fail, and you may receive the following error message:

Access denied



CAUSE
This problem occurs when you are logged on to the computer without Administrator permissions.



RESOLUTION
To resolve the problem, log on to the computer with Administrator permissions.



Steps to reproduce the problem
To do this, follow these steps:
 * 1) Log on to the computer without Administrator permissions.
 * 2) Try to restore a Message Queuing back-up file by using the Mqbkup.exe utility.

When you restore a back-up file by using the Mqbkup.exe utility, the Mqbkup.exe utility first tries to delete all files from the directory and then to copy the back-up files to the empty directory. The Mqbkup.exe utility cannot delete all files from the directory without Administrator permissions. Therefore, you receive the error message that is mentioned in the &quot;Symptoms&quot; section.

