Share via


Uninstalling Message Queuing

Applies To: Windows Server 2008, Windows Vista

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 the associated Message Queuing objects will not be deleted from Active Directory Domain Services. For more information about installation permissions, see Installation Permissions [LH].

Running Message Queuing Setup

In this version of Windows, you uninstall Message Queuing using the Remove Features Wizard from Server Manager (on Windows Server 2008 R2) or Turn Windows features on or off from Programs and Features (on Windows 7). 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 Domain Services 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.

You can also uninstall certain individual Message Queuing features by running the Remove Features Wizard (on Windows Server 2008 R2) or Turn Windows features on or off (on Windows 7) and clearing the check boxes for the applicable features. For more information about the Message Queuing features, see Choosing Installation Features[LH].

Removing Message Queuing objects from Active Directory Domain Services

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 Domain Services. When you remove the Message Queuing objects from Active Directory Domain Services, all queues and messages on the local computer are also removed.

For more information about Message Queuing objects, where they are created, and where they are located in Active Directory Domain Services, see Message Queuing and Active Directory Domain Services [LH].

For information about how to remove objects for Message Queuing in Active Directory Domain Services, see Remove Message Queuing Objects from Active Directory Domain Services [LH].

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.