Partager via


Workgroup Support

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

Message Queuing provides support for client applications running on computers that are operating in a workgroup environment, where there is no access to a directory service.

Computers that belong to a domain can also be configured to run Message Queuing in workgroup mode by installing Message Queuing in workgroup mode, and then adding the AlwaysWithoutDS registry entry (a DWORD) under the HKLM\SOFTWARE\Microsoft\MSMQ\Parameters\Setup registry key with a value of 1. When operating in workgroup mode, applications are limited to the following functionality.

  • Creating and deleting private queues on the local computer.

  • Setting and retrieving the properties and the security descriptor of local private queues.

  • Opening queues using direct format names to send messages to any public or private queue or to read messages from local and remote private queues. Note, however, that messages can be retrieved from a remote private queue on an MSMQ 3.0 computer when either the local or remote computer is operating in workgroup mode only if the queue's default security descriptor is changed to grant the Receive Message permission to anonymous users.

  • Calling functions or methods that do not require access to the directory service. Functions and methods that query the directory service can only be called if the computer joins a domain and, for MSMQ 3.0 installations, if Message Queuing was installed with the Active Directory Integration subcomponent selected.

Note

Public and private format names cannot be used in workgroup mode.

The following illustration shows the possible connections between a client computer operating in a workgroup environment and other Message Queuing computers operating in a Windows® domain.

<No Change>

More Information

For information on See
All functions and methods that are restricted when operating in a workgroup environment Workgroup Quick Reference
Sending encrypted messages in a workgroup environment Sending Private (Encrypted) Messages
Moving from a workgroup to a Windows 2000 or Windows Server 2003 domain Joining a Domain
Example code that verifies if a computer is operating in workgroup mode C/C++ Code Example: Verifying Workgroup Installation

 Visual Basic Code Example: Verifying Workgroup Installation