Install Message Queuing
Use this procedure to install a Message Queuing server on a computer running Windows Vista® or Windows Server® 2008. A Message Queuing server can perform the following actions:
Run the Message Queuing service
Host queues
Send and receive messages
Operate while disconnected from the network
Membership in the local Administrators group, or equivalent, is the minimum required to complete this procedure.
Installing Message Queuing on Windows Vista
To install Message Queuing on Windows Vista
Open Control Panel.
Click Programs, and then, under Programs and Features, click Turn Windows features on or off.
-or-
Click Classic View, double-click Programs and Features, and then in the tasks pane, click Turn Windows features on or off.
Expand Microsoft Message Queue (MSMQ) Server, expand Microsoft Message Queue (MSMQ) Server Core, and then select the check boxes for the Message Queuing features that you want to install.
Click OK.
If you are prompted to restart the computer, click OK to complete the installation.
Installing Message Queuing on Windows Server 2008
To install Message Queuing on Windows Server 2008
Click Start, point to Programs, point to Administrative Tools, and then click Server Manager to display the Server Manager.
Click Add Features to start the Add Features Wizard.
Expand MSMQ, expand MSMQ Services, and then select the check boxes for the Message Queuing features that you want to install.
Click Next, and then click Install.
If you are prompted to restart the computer, click OK to complete the installation.
Setting Permissions in Active Directory Domain Services Before Installing the Routing Service or the Directory Service Integration Features of Message Queuing
The successful installation of the Routing Service feature on a Windows Server 2008 computer that is not a domain controller, or the Directory Service Integration feature of Message Queuing on a Windows Server 2008 computer that is a domain controller requires that specific permissions are set in Active Directory Domain Services. Follow these steps to grant the appropriate permissions in Active Directory Domain Services before installing these features.
To grant permissions for a computer object to the Servers object in Active Directory Domain Services before installing the Routing Service feature on a computer that is not a domain controller
Click Start, point to Programs, point to Administrative Tools, and then click Active Directory Sites and Services to open Active Directory Sites and Services.
Click to expand Active Directory Sites and Services, click to expand Sites, and then click to expand the site which this computer will be a member of.
Right-click Servers and select Properties to display the Servers Properties dialog box.
Click the Security tab of the Servers Properties dialog box.
Click the Add button to display the Select Users, Computer, or Groups dialog box.
Click the Object Types button to display the Object Types dialog box, click to enable Computers, and then click OK.
Enter the name of the computer for which the Routing Service or Directory Service Integration feature will be installed, click Check Names, and then click OK.
Enable the following permissions for this computer object:
Allow Read
Allow Write
Allow Create all child objects
After enabling these permissions, click Advanced to display the Advanced Security Settings for Servers dialog box.
Select the computer object from the list of permission entries and click the Edit button.
Select Thisobject and all descendant objects from the Apply to: dropdown list and click OK.
Click OK to close the Advanced Security Settings for Servers dialog box.
Click OK to close the Server Properties dialog box.
To grant the Network Service account the Create MSMQ Configuration Objects permission to the computer object in Active Directory Domain Services before installing the Directory Services Integration feature on a computer that is a domain controller
Click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers to open Active Directory Users and Computers.
Click the View menu and click to enable the options for Users, Groups, and Computers as containers and Advanced Features.
Click to expand the Domain container for the domain, click to expand the Computers container, right click the computer object on which the Directory Services Integration feature is being installed, and click Properties to display the computer properties dialog box.
Click to select the Security tab of the computer properties dialog box.
Click the Advanced button to display the Advanced Security Settings for <computer> dialog box.
Click the Add button to display the Select User, Computer, or Group dialog box.
Type <domain>\Network Service into the Enter the object name to select edit box. click Check Names, and then click OK. Substitute the actual Active Directory Domain Services domain name for <domain>.
Click to enable Allow for the Create MSMQ Configuration objects permission and click OK to close the Permissions Entry for <computer> dialog box.
Click OK to close the Advanced Security Settings for <computer> dialog box.
Click OK to close the computer properties dialog box.
Considerations When Installing Message Queuing on Windows Server 2008
Do not install a Message Queuing server with routing on a domain controller
If your Message Queuing infrastructure requires both message routing and Active Directory Domain Services access, install this functionality on different computers to prevent overload on the domain controller. For example, install a Message Queuing server with the Routing Service feature on a non-domain controller computer, and install another Message Queuing server with the Windows 2000 client support feature on a Windows Server 2008 domain controller to provide Active Directory Domain Services access for Windows 2000 clients. This configuration helps prevent overload on the domain controller.