UserCacheSize

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

HKLM\SOFTWARE\Microsoft\MSMQ\Parameters

Data type Range Default value

REG_DWORD

0x0–0xFFFFFFFF entries

0xFD (253 entries)

Description

Specifies the maximum number of entries that can be stored in the user account information cache. This cache stores information about users who recently sent messages to the computer.

When Message Queuing (also known as MSMQ) receives a message, it uses user account information to verify that the sending user has permission to send messages to the particular queue. Storing user account information in the cache reduces the time it takes to verify user permissions.

If the cache is full (that is, if the number of entries is equal to the value of UserCacheSize) when the next entry arrives, then Message Queuing deletes half of the entries in the cache. The oldest entries are deleted first.

This entry does not exist in the registry by default. You can add it by using the registry editor Regedit.exe.