Use this procedure to install a Message Queuing server on a computer running Windows® 7 or Windows Server® 2008 R2. 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 7

To install Message Queuing on Windows 7
  1. Open Control Panel.

  2. 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.

  3. 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.

  4. Click OK.

  5. If you are prompted to restart the computer, click OK to complete the installation.

Installing Message Queuing on Windows Server 2008 R2

To install Message Queuing on Windows Server 2008 R2
  1. Click Start, point to Programs, point to Administrative Tools, and then click Server Manager to display the Server Manager.

  2. Click Add Features to start the Add Features Wizard.

  3. Expand MSMQ, expand MSMQ Services, and then select the check boxes for the Message Queuing features that you want to install.

  4. Click Next, and then click Install.

  5. 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 R2 computer that is not a domain controller, or the Directory Service Integration feature of Message Queuing on a Windows Server 2008 R2 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
  1. Click Start, point to Programs, point to Administrative Tools, and then click Active Directory Sites and Services to open Active Directory Sites and Services.

  2. 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.

  3. Right-click Servers and select Properties to display the Servers Properties dialog box.

  4. Click the Security tab of the Servers Properties dialog box.

  5. Click the Add button to display the Select Users, Computer, or Groups dialog box.

  6. Click the Object Types button to display the Object Types dialog box, click to enable Computers, and then click OK.

  7. 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.

  8. Enable the following permissions for this computer object:

    • Allow Read

    • Allow Write

    • Allow Create all child objects

  9. After enabling these permissions, click Advanced to display the Advanced Security Settings for Servers dialog box.

  10. Select the computer object from the list of permission entries, and then click the Edit button.

  11. Select This object and all descendant objects from the Apply to drop-down list, and then click OK.

  12. Click OK to close the Advanced Security Settings for Servers dialog box.

  13. 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
  1. Click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers to open Active Directory Users and Computers.

  2. Click the View menu and click to enable the options for Users, Groups, and Computers as containers and Advanced Features.

  3. 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 then click Properties to display the computer properties dialog box.

  4. Click to select the Security tab of the computer properties dialog box.

  5. Click the Advanced button to display the Advanced Security Settings for <computer> dialog box.

  6. Click the Add button to display the Select User, Computer, or Group dialog box.

  7. Type Network Service into the Enter the object name to select edit box. Click Check Names, and then click OK.

  8. Click to enable Allow for the Create MSMQ Configuration objects permission, and then click OK to close the Permissions Entry for <computer> dialog box.

  9. Click OK to close the Advanced Security Settings for <computer> dialog box.

  10. Click OK to close the computer properties dialog box.


Table Of Contents