Limit the size of the entire roaming user profile cache

This policy setting allows you to limit the size of the entire roaming user profile cache on the local drive. This policy setting only applies to a computer on which the Remote Desktop Session Host role service is installed.

Note: If you want to limit the size of an individual user profile, use the "Limit profile size" policy setting located in User Configuration\Policies\Administrative Templates\System\User Profiles.

If you enable this policy setting, you must specify a monitoring interval (in minutes) and a maximum size (in gigabytes) for the entire roaming user profile cache. The monitoring interval determines how often the size of the entire roaming user profile cache is checked. When the size of the entire roaming user profile cache exceeds the maximum size that you have specified, the oldest (least recently used) roaming user profiles will be deleted until the size of the entire roaming user profile cache is less than the maximum size specified.

If you disable or do not configure this policy setting, no restriction is placed on the size of the entire roaming user profile cache on the local drive.

Note: This policy setting is ignored if the "Prevent Roaming Profile changes from propagating to the server" policy setting located in Computer Configuration\Policies\Administrative Templates\System\User Profiles is enabled.

Supported on: At least Windows Server 2008 R2
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
Value NameDeleteRoamingUserProfile
Value TypeREG_DWORD
Enabled Value1
Disabled Value0

Monitoring interval (minutes):

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
Value NameMonitoringInterval
Value TypeREG_DWORD
Default Value900
Min Value15
Max Value10080
Maximum cache size (GBs):

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
Value NameProfileDirectoryQuota
Value TypeREG_DWORD
Default Value600
Min Value5
Max Value10000

vmware_rdsh.admx

Administrative Templates (Computers)

Administrative Templates (Users)