Export (0) Print
Expand All

Installing and Uninstalling Message Queuing with Unattended Setup

Updated: June 25, 2007

Applies To: Windows Server 2008, Windows Vista

Starting with Windows Server 2008 R2 you can install and removing roles, role services and, features by using Windows PowerShell cmdlets for Server Manager. For more information, see Windows PowerShell cmdlets for Server Manager.

noteNote
Unattended setup can also be performed on Windows Server 2008 R2 computers by using the servermanagercmd.exe utility. For more information about using servermanagercmd.exe to perform an unattended setup on Windows Server 2008 R2 computers, see Server Manager command-line tools, dism, pkgmgr, and ocsetup.

  1. To run any Server Manager-related Windows PowerShell cmdlets, you must be running Windows PowerShell with elevated user rights. To do this task, click Start, click All Programs, click Accessories, click Windows PowerShell, right-click the Windows PowerShell shortcut, and then click Run as administrator.

  2. Load the Server Manager module into each new Windows PowerShell session before working with Server Manager cmdlets. To do this task, type Import-Module Servermanager, and then press Enter.

  3. At the PowerShell command prompt enter the following command to install Message Queuing.

    MSMQ Add-WindowsFeature MSMQ
    
    To uninstall Message Queuing type Remove-WindowsFeature MSMQ.

ImportantImportant
When installing Message Queuing (MSMQ) on Windows Server Core, you must install the individual MSMQ features that you require, such as Microsoft Message Queue (MSMQ) Server Core / MSMQ Services, MSMQ Triggers / Message Queuing Triggers, MSMQ Triggers / Message Queuing Triggers, Routing Service, and MSMQ DCOM Proxy / Message Queuing DCOM Proxy. You do so by specifying the individual features that you require when you run Add-WindowsFeature, as shown in the following example.

Add-WindowsFeature msmq-server, msmq-triggers

WarningWarning
Since Pragmatic General Multicast (PGM) is not supported by Windows Server Core, and Message Queuing relies on PGM for multicasting support, this feature is not supported on Windows Server Core.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft