Compartir a través de


Set the message storage size for computers

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To set the message storage size for computers

  1. Open Active Directory Users and Computers.

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

  3. In the console tree, right-click msmq.

    Where?

    • Active Directory Users and Computers/YourDomain/YourOrganizationalUnit (such as Computers or Domain Controllers)/YourComputer/msmq
  4. Click Properties.

  5. On the General tab, in Storage limits, select the Limit message storage to (KB) check box, and then type a maximum total size (in kilobytes) for messages stored in all queues on the selected computer.

Notes

  • To open Active Directory Users and Computers, click Start, point to All Programs, point to Administrative Tools, and then click Active Directory Users and Computers.

  • This procedure is not applicable to computers operating in workgroup mode or virtual servers in clusters. You can set the computer quota of a workgroup computer using the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters\MachineCache\MachineQuota registry key. To change the quota for a virtual server, you need to change the analogous registry key for clustered servers. After setting the registry, restart the Message Queuing service for the changes to take effect.

    Caution

    • Incorrectly editing the registry may severely damage your system. It is recommended that you back up any valuable data on the computer before making changes to the registry.
  • Following a new installation of Message Queuing, or an upgrade from Windows 2000, the default limit for these storage sizes is 8 gigabytes (GB).

  • When the computer quota is reached, no messages can be delivered to any queue or journal on the computer. No negative acknowledgment message is generated, and an error is returned for messages sent locally, while a remote computer tries to resend until the cumulative size of all messages in the queues drops below the specified limit.

  • For information on how to set the journal storage size limit (or quota) for a computer, see Related Topics.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Setting message quotas
Administering Messages
Set the journal storage size for queues
Working with MMC console files