Share via


Uninstalling Message Queuing

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Uninstalling Message Queuing

To uninstall Message Queuing software from a computer, it is recommended that you first be granted the Delete MSMQ Configuration Object permission. If you do not have this permission, you can still uninstall Message Queuing, but this object will not be deleted from Active Directory. For more information on installation permissions, see Installation permissions.

Running Message Queuing Setup

You uninstall Message Queuing using Add or Remove Programs in Control Panel. When you uninstall Message Queuing from a computer, Message Queuing Setup removes all of the queues (including private queues) and messages for that computer from Active Directory and from the local computer. However, no Message Queuing files are removed from the \Windows\System32 and \Windows\System32\Drivers folders.

When you uninstall a Message Queuing server, all the applicable computer objects (the MSMQ Configuration and MSMQ Settings objects) are also deleted, and the name of the server is removed from the message routing lists of clients using that server.

For information on how to uninstall Message Queuing software, see Uninstall Message Queuing.

You can also uninstall certain individual Message Queuing subcomponents by running Add or Remove Programs and clearing the check boxes for the applicable subcomponents in the Windows Components Wizard. For more information on the Message Queuing subcomponents, see Choosing installation subcomponents.

Removing Message Queuing objects from Active Directory

If you cannot uninstall Message Queuing software from a computer, such as during a hardware malfunction or if you no longer have physical access to a computer, you can remove Message Queuing objects for the computer from Active Directory. When you remove the Message Queuing objects from Active Directory, all queues and messages on the local computer are also removed.

For more information on Message Queuing objects, where they are created, and where they are located in Active Directory, see Message Queuing and Active Directory.

For information on how to remove objects for Message Queuing in Active Directory, see Remove Message Queuing objects from Active Directory.

Note

  • You must not delete the MsmqServices object unless you are removing Message Queuing from every computer in your organization. This object is the "enterprise" object for Message Queuing.