Delete all private queues in MSMQ?
You can also write a small program by using code below.
Note that your project should reference System.Messaging
using System.Messaging;
. .
.
MessageQueue[] msmques = MessageQueue.GetPrivateQueuesByMachine(".");
foreach (var item in msmques)
{
MessageQueue.Delete(".\\"+item.QueueName);
}