Policy
Limit profile size
Microsoft Windows
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows2000, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2003, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista, WindowsXP
This policy setting sets the maximum size of each user profile and determines the system's response when a user profile reaches the maximum size. This policy setting affects both local and roaming profiles. If you disable this policy setting or do not configure it, the system does not limit the size of user profiles. If you enable this policy setting, you can: -- Set a maximum permitted user profile size. -- Determine whether the registry files are included in the calculation of the profile size. -- Determine whether users are notified when the profile exceeds the permitted maximum size. -- Specify a customized message notifying users of the oversized profile. -- Determine how often the customized message is displayed. Note: In operating systems earlier than Microsoft Windows Vista, Windows will not allow users to log off until the profile size has been reduced to within the allowable limit. In Microsoft Windows Vista, Windows will not block users from logging off. Instead, if the user has a roaming user profile, Windows will not synchronize the user's profile with the roaming profile server if the maximum profile size limit specified here is exceeded.
Registry values
How enabled and disabled states update the registry.
No explicit registry values are set for enabled or disabled states.
Policy elements
Inputs and configuration options exposed by this policy.
| Scope | Element | Type | Registry mapping | Constraints & behavior | Copy |
|---|---|---|---|---|---|
| User | Custom Message ID SizeMessage | text | Path Software\Microsoft\Windows\CurrentVersion\Policies\System Value name ProfileQuotaMessage Type REG_SZ | None | |
| User | Max Profile size (KB) ID ProfileSize | decimal | Path Software\Microsoft\Windows\CurrentVersion\Policies\System Value name MaxProfileSize Type REG_DWORD | Range: 300 to 30000000 | |
| User | Remind user every X minutes: ID WarnUserTimeout | decimal | Path Software\Microsoft\Windows\CurrentVersion\Policies\System Value name WarnUserTimeout Type REG_DWORD | None | |
| User | Show registry files in the file list ID IncludeRegInProQuota | boolean | Path Software\Microsoft\Windows\CurrentVersion\Policies\System Value name IncludeRegInProQuota Type REG_DWORD | Options: true (), false () True: None · False: None | |
| User | Notify user when profile storage space is exceeded. ID WarnUser | boolean | Path Software\Microsoft\Windows\CurrentVersion\Policies\System Value name WarnUser Type REG_DWORD | Options: true (), false () True: None · False: None |