Change the Privacy Level for Queues

Applies To: Windows Server 2008

You can use this procedure to change the privacy level for Message Queuing queues. Change the privacy level of a Message Queuing queue to specify whether a queue accepts encrypted messages, unencrypted messages, or both.

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

To change the privacy level for Message Queuing queues

  1. Click Start, point to Run, type compmgmt.msc, and press ENTER to display the Computer Management MMC console.

  2. In the console tree, right-click the applicable queue.

    Where?

    • Computer Management/Services and Applications/Message Queuing/YourQueueFolder (such as Public Queues or Private Queues)/YourQueue
  3. Click Properties.

  4. On the General page, in Privacy Level, do one of the following:

    • To have the queue accept both encrypted and unencrypted messages, click Optional (the default).

    • To have the queue accept only encrypted messages, click Body.

  5. To have the queue accept only unencrypted messages, click None.

Additional considerations

  • You can also perform this task using the Active Directory Users and Computers snap-in. For more information, see Additional references.

  • Privacy levels are used to specify whether a queue accepts encrypted messages, unencrypted messages, or both by selecting the privacy level for the queue. If the queue privacy level is set to None, the queue accepts only unencrypted messages. If the queue privacy level is set to Body, the queue accepts only encrypted messages. If the queue privacy level is set to Optional, the queue accepts both unencrypted and encrypted messages.

  • You can check whether a message sent to the queue was encrypted or unencrypted by using the Computer Management MMC console, by using Active Directory Users and Computers, or programmatically by checking the PROPID_M_PRIV_LEVEL message property. Determine if a message was encrypted by viewing the Sender tab of the message properties dialog box from either the Computer Management MMC console or from Active Directory Users and Computers. The encryption status and encryption algorithm used are displayed in the Security section of the Sender tab.

Additional references