MSMQ cannot delete or purge a queue

Christopher Bennage picture Christopher Bennage · Oct 13, 2009 · Viewed 38k times · Source

I'm very new to MSMQ. We have a critical system using MSMQ and it is not able to start due to insufficient resources. It appears that MSMQ is at capacity. I am trying to purge messages (or even delete unneccessary queues), but I receive the following error when purging:

Cannot delete all messages from queue. Error: Access to Message Queuing system is denied.

What are my options? Is there a way to delete queues when the services is off?

Answer

panania picture panania · Jun 11, 2012

There's an easier way:

  • Open Computer Management on the machine,
  • expand the Services and Applications node (Features on 2008),
  • expand the Message Queuing service,
  • expand the private queues folder,
  • expand the private queue you're working with,
  • right click onto the queue messages folder and
  • click the purge option.