Purge All Messages in a Queue

Updated: June 25, 2007

Applies To: Windows Server 2008

Use this procedure to purge all messages in a Message Queuing queue.

You can use this procedure to purge all messages in a Message Queuing queue.

Membership in <Domain>\Domain Users, or equivalent, is the minimum required to complete this procedure.

  1. Click Start, point to Run, type compmgmt.msc, and press ENTER to display the Computer Management MMC console.

  2. In the console tree, right-click Queue messages (or Journal messages).


    • Computer Management/Services and Applications/Message Queuing/YourQueueFolder (such as Public Queues or Private Queues)/YourQueue/Queue messages/Journal messages

  3. Point to All Tasks, and then click Purge.

  4. When prompted, click Yes.

  • You cannot purge individual messages from a queue. It is possible however to move individual messages to a subqueue and then purge the subqueue. For more information about moving messages see Additional references.

  • To increase performance, messages in journals and dead-letter queues must be purged on a regular basis.

  • You can also perform this task using the Active Directory Users and Computers snap-in. For more information, see Additional references.

  • Purging a queue does not purge messages contained in subqueues of the queue.

  • Purging a subqueue does not purge messages in the parent queue.

Community Additions