Skip to content
Documentation
Updated 4 minutes to read
Markdown
Release Notes

On this page you will find answers to some of the most frequently asked questions regarding monitoring of Message Queuing technologies.

If you're getting "Access Denied" when trying to modify MSMQ queue permissions (e.g., in MMC or via Nodinite monitoring), follow the revised and complete guide below to fully regain control of your queues.

This issue usually occurs because:

  • The "Everyone" group or your admin user account has been removed from the queue's Security descriptor (ACL).
  • MSMQ's internal queue definitions (stored as .lqs files) have incomplete or corrupted permissions.
  • You're using an account that lacks NT AUTHORITY\SYSTEM or full control privileges on the queue.

From an elevated Command Prompt or PowerShell:

Terminal window
net stop msmq
Step 2: Take Ownership of LQS Files (if needed)
Section titled “Step 2: Take Ownership of LQS Files (if needed)”

Sometimes the files are protected even from administrators.

Terminal window
takeown /f "C:\WINDOWS\system32\msmq\storage\lqs\*" /a
icacls "C:\WINDOWS\system32\msmq\storage\lqs\*" /grant administrators:F

This ensures you can read/write the LQS files.

Navigate to:

Terminal window
C:\WINDOWS\system32\msmq\storage\lqs

Use a text editor (like Notepad++ run as Administrator) to search inside the .lqs files for your queue name (e.g., logapiserviceoneway.svc).

Open the correct file once identified.

Step 4: Copy a Working Security Descriptor
Section titled “Step 4: Copy a Working Security Descriptor”

If you have another private queue that works (you can access it in MMC):

  • Open its .lqs file.
  • Find the line beginning with Security=
  • Copy the entire line (watch out for word wrap)
Step 5: Replace Security Descriptor in Problem Queue
Section titled “Step 5: Replace Security Descriptor in Problem Queue”

In the .lqs file of the problem queue, replace the existing Security= line with the working one.

Save the file (ensure it's saved as UTF-8 with no extra formatting).

Set Correct File Permissions on the Modified File
Section titled “Set Correct File Permissions on the Modified File”

Sometimes even after modifying the file, MSMQ cannot read it due to incorrect file ACLs.

Run the following command:

Terminal window
icacls "C:\WINDOWS\system32\msmq\storage\lqs\YourQueueFile.lqs" /grant "NT AUTHORITY\SYSTEM":F

Replace YourQueueFile.lqs with the actual file name.

You need to restart the MSMQ service to apply changes:

Terminal window
net start msmq

Open MMC > Message Queuing > Private Queues:

  • Right-click the queue → Properties → Security tab
  • Confirm you can now view and modify permissions
Optional: Restore Secure Default Permissions
Section titled “ Optional: Restore Secure Default Permissions”

After access is restored, consider removing excess permissions and applying a known good security policy for your environment (consult your security team).

If the issue persists, your system may be affected by:

  • Group Policy overwrites
  • NTFS-level file locks
  • MSMQ corruption

If you still cannot resolve the issue, please contact Support for further assistance.

How do I enable monitoring of Azure Service Bus

Section titled “ How do I enable monitoring of Azure Service Bus”

To Monitor the Azure Service Bus; Check the Enable monitoring for Service Bus checkbox (default is checked). Additional configuration is required; Review the 'User access to Azure Service Bus monitoring' user guide for specifics.

The screenshot below is from the remote configuration form available from the Monitoring Agents administration page.
Enable Monitoring
Example with monitoring for Azure Service Bus resources enabled.

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...