Network Management
Install or uninstall Message Queuing or MSMQ on Windows Servers
How to install and uninstall Message Queuing or MSMQ on Windows Server 2008 and Windows Server 2012.
First published date
Last published date
Overview
Product section
Cause
Resolution
MSMQ is a messaging protocol implemented by Microsoft and deployed on Windows Servers. These procedures provide quick how-to steps for your reference. For more details, search Microsoft online help.
Install MSMQ on Windows Server 2008 or 2008 R2
- Go to Start > All Programs > Administrative Tools > Server Manager, and click Features.
- In the pane under Features Summary, click Add Features.
- In the resulting window, expand Message Queuing and expand Message Queuing Services.
- Click Directory Services Integration (for computers joined to a Domain), and click HTTP Support.
- Click Next, then click Install.
Uninstall MSMQ on Windows Server 2008 or 2008 R2
- Open the Server Manager and click Remove Features to start the wizard.
- Clear the MSMQ check box.
- Click Next, and then click Remove.
- When prompted, click OK to restart the server.
To install MSMQ on Windows Server 2012, 2012 R2 or 2016
- Open Server Manager, click Manage and select Add Roles and Features.
- In the Add Roles and Features Wizard, click on Next.
- Under Installation Type, select Role-Based or Feature-Based Installation and click Next.
- Under Server Selection, select a Server or a Virtual Hard Disk and then click Next.
- Under Features, select Message Queuing and click Next and then Install.
Uninstall MSMQ on Windows Server 2012, 2012 R2 or 2016
- Open Server Manager, click Manage and select Remove Roles and Features.
- In the Add Roles and Features Wizard, click on Next.
- Under Installation Type, select Role-Based or Feature-Based Installation and click Next.
- Under Server Selection, select a Server or a Virtual Hard Disk and click Next.
- Under Features, clear Message Queuing, click Next and then click Remove.
- When prompted, click OK to restart the server.
Install and uninstall MSMQ using Windows PowerShell in Windows 2012 or 2012 R2
To run any Server Manager related Windows PowerShell, run Windows PowerShell with elevated user rights (Run as Administrator).
- Load the Server Manager module into each new Windows PowerShell session. Type the following and then press Enter:
Import-Module Servermanager - At the PowerShell command prompt, enter the following command to install or uninstall Message Queuing:
Install Command:
Add-WindowsFeature MSMQUninstall Command:
Remove-WindowsFeature MSMQ