The person who was previously using my PC at work set up a private MSMQ that I need to access. They have since left the bank but the permissions remain and I can't access the queue or give myself edit permission to remove the restriction.
I am an admin on this machine now so I'm assuming there's some way for me to change things..Been searching high and low but most of what I find is related to doing things through scripts.
Any help appreciated,
thanks
Stop the MSMQ Service (Services -> Message Queuing) Open the C:\WINDOWS\system32\msmq\storage\lqs folder. Find the config file in this folder that describes a queue that has "good" security permissions. You will need to open each file in turn with a text editor to determine which queue it relates to.
Private queues are queues that are not published in Active Directory and are displayed only on the local computer that contains them.
To create a new queue, right click on the desired queue folder (Public Queues or Private Queues) and select New > Public/Private Queue. In the New Public/Private Queue dialog, enter the name of the queue in the Queue name text field. Click OK to confirm.
In computer management, go to the security properties of the queue, take ownership through the Advanced button, and set permissions to what you want. Find the queue config file in the system32\msmq\storage\lqs directory and delete the file; the queue name will be inside the file you want.
And for a manual process if all else fails:
Cheers
John Breakwell
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With