- 2 minutes to read

Access denied using the MSMQ MMC

Learn how to resolve an access denied problem in Monitoring MSMQ queues and also the problem accessing them from the MMC in Windows.

If you have any issues that you can not solve, contact our Support or send us an email at support@nodinite.com

Using the MMC, if you can't change the permissions for the MSMQ queue, e.g. nodinite.services.logapiservice/logapiserviceoneway.svc. (when you click on the Apply button or OK button, you get an access denied error message)

This usually happens when some .NET Service removed the "Everyone" group from the permission set. Below are the steps you can follow to resolve this:

  1. Stop the MSMQ Service.

  2. Open the folder C:\WINDOWS\system32\msmq\storage\lqs.

  3. Find the file, based on content, in this folder with the definition for your queue -- (the queue with the access denied problem).

  4. Using notepad++ (or an elevated notepad), open the lqs file for some other private queue, that has working security permissions. (If you don't have any other private queues, simply create one).

  5. Locate the line in the file that begins Security=....

  6. Copy the whole line to your clipboard (watch out for Word Wrap, this line will be quite long).

  7. Open the lqs file in step #3.

  8. Overwrite the Security=... line in this file with the contents of your clipboard.

  9. Save the modified lqs file.

  10. Start the MSMQ service.

  11. Verify access using the MSMQ MMC.

The queue with the access problem, should now have the same set of permissions as the queue used in step 4 above.