Policy overview

Key metadata and intent for this policy.

ClassComputer
CategoryWindows Components > Remote Desktop Services > Remote Desktop Session Host > Profiles
Supported onAt least Windows Server 2008 R2

Supported OS tags: WindowsServer2008

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.

Internal name
TS_DELETE_ROAMING_USER_PROFILES
Policy ID
3dc6b02ed86a
Elements
2

Registry values

How enabled and disabled states update the registry.

Registry locationTypeEnabled valueDisabled value
HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\DeleteRoamingUserProfileREG_DWORD
1
0

Policy elements

Inputs and configuration options exposed by this policy.

ElementTypeRegistry mappingConstraints & behavior
Monitoring interval (minutes):
ID TS_PROFILE_DIRECTORY_MONITORING_INTERVAL
decimal
HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\MonitoringInterval
Type REG_DWORD
Range: 15 to 10080
Maximum cache size (GBs):
ID TS_PROFILE_DIRECTORY_QUOTA
decimal
HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\ProfileDirectoryQuota
Type REG_DWORD
Range: 5 to 10000

Other policies in this category

Explore related policies at the same level.