Windows 2003 MSMQ Access is Denied
Problem: When setting permissions on a private MSMQueue we were getting an “Error: Access is denied.” when applying as the local administrator.
The security descriptor cannot be set. Error. Access is denied.
Unable to save permission changes on Xprivate$queue_name
(null)
Solution: Taking ownership of the queues and adding the permissions manually did not work.
Create a new default private QUEUE as the local administrator
find the file relating to the NEW queue in C:windowssystem32msmqstoragelqs
copy the Security= section from the new queues file
copy and paste the security section into the broken queues file -= stop and restart Message Queuing – edit the queue permissions as usual
EXAMPLE
[Properties]
Label=
Type=00000000-0000-0000-0000-000000000000
QueueName=private$MYTESTQUEUE
Journal=00
Quota=4294967295
Security=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
JournalQuota=……. etc etc etc etc