Share via


Create Queue Aliases

Applies To: Windows Server 2008

You can use this procedure to create MSMQ queue aliases. Create MSMQ queue aliases to reference queues that might not be listed in Active Directory Domain Services.

Membership in <Domain>\Domain Users, or equivalent, is the minimum required to complete this procedure.

To create Message Queuing queue aliases

  1. Click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.

  2. On the View menu, click Users, Groups, and Computers as containers, and then on the View menu, click Advanced Features.

  3. In the console tree, right-click the applicable container.

    Where?

    • Active Directory Users and Computers/YourDomain/YourContainer (such as Computers or Domain Controllers)
  4. Point to New, and then click MSMQ Queue Alias to open the New Object - Message Queuing Queue Alias dialog box.

  5. Under Queue alias name, type the alias.

  6. Under Format name, type the applicable format name.

Additional considerations

  • The format name typed can be any public, private, or direct single-element format name. The validity of the format name typed and the existence of the queues to which the queue alias points are not verified during this procedure. For examples of valid format names, see Additional references.

  • Multiple aliases can be created for the same physical queue.

  • When you create a queue alias in Active Directory Domain Services, you are prompted to specify the minimal information needed to establish the object in Active Directory Domain Services. Each queue alias has many more properties (attributes) that can be set. After a queue alias is created, the values of many additional attributes can be viewed and modified. For information about how to do this, see Additional references.

  • A queue alias can be used to point to a private queue and publish a private queue. For best security practice, create a queue alias with the narrowest possible security permissions.

  • Since the alias is created in Active Directory Domain Services, an alias that points to a non-machine specific location such as DIRECT=OS:.\private$\testq will always point to the local computer accessing the alias, not the computer that was logged into when creating the alias.

  • The Message Queuing feature must be enabled on the computer from which you are running the Active Directory Users and Computers MMC snap-in before you can create Message Queuing queue aliases from that computer.

Additional references