Limits the number of user data snapshots retained for use in case of emergency rollback.: registry value UserDataSnapshotRetentionLimitUserHKCU\Software\Policies\Google\Chrome

Policy ID
UserDataSnapshotRetentionLimit
Scope
Computer Configuration, User Configuration
Supported on
Microsoft Windows 7 or later
Source
Google Chrome Policy Templates (version 156.0.8078.80)
Category
Google › Google Chrome

Registry

UserDataSnapshotRetentionLimit

REG_DWORDUserComputer
Enabled value
Depends on the option value
Element
Limits the number of user data snapshots retained for use in case of emergency rollback.:
Value type
REG_DWORD
Maximum value
2000000000
Minimum value
0
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome]

; Value names and types follow the ADMX. Replace <enter value> below with your own data
"UserDataSnapshotRetentionLimit"=dword:<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data

reg add "HKCU\Software\Policies\Google\Chrome" /v "UserDataSnapshotRetentionLimit" /t REG_DWORD /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data

New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'UserDataSnapshotRetentionLimit' -PropertyType DWord -Value '<enter value>' -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome]

; Value names and types follow the ADMX. Replace <enter value> below with your own data
"UserDataSnapshotRetentionLimit"=dword:<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data

reg add "HKLM\Software\Policies\Google\Chrome" /v "UserDataSnapshotRetentionLimit" /t REG_DWORD /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data

New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'UserDataSnapshotRetentionLimit' -PropertyType DWord -Value '<enter value>' -Force | Out-Null