Turn off creation of System Restore checkpoints
Désactiver la création de points de vérification pour la Restauration du système
Explanation
This policy setting prevents Windows Installer from creating a System Restore checkpoint each time an application is installed. System Restore enables users, in the event of a problem, to restore their computers to a previous state without losing personal data files.
If you enable this policy setting, the Windows Installer does not generate System Restore checkpoints when installing applications.
If you disable or do not configure this policy setting, by default, the Windows Installer automatically creates a System Restore checkpoint each time an application is installed, so that users can restore their computer to the state it was in before installing the application.
Ce paramètre de stratégie empêche Windows Installer de créer un point de vérification pour la Restauration du système chaque fois qu’une application est installée. La Restauration du système permet aux utilisateurs, en cas de problème, de restaurer leur PC à un état précédent sans perdre de fichiers de données personnelles.
Si vous activez ce paramètre de stratégie, Windows Installer ne génère pas de points de vérification pour la Restauration du système lors de l’installation des applications.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, par défaut, Windows Installer crée automatiquement un point de vérification pour la Restauration du système chaque fois qu’une application est installée, de sorte que les utilisateurs puissent restaurer leur ordinateur dans l’état où il se trouvait avant d’installer l’application.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer- Value name
LimitSystemRestoreCheckpointing
| State | Value written |
|---|---|
| Enabled | not defined in the ADMX |
| Disabled | not defined in the ADMX |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: MSI/MSI_DisableSRCheckPoints
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Installer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'LimitSystemRestoreCheckpointing' -Value 1 -Type DWord # assumed value (not defined in the ADMX)Disable
# Disable: MSI/MSI_DisableSRCheckPoints
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Installer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'LimitSystemRestoreCheckpointing' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": MSI/MSI_DisableSRCheckPoints
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Installer'
Remove-ItemProperty -Path $k -Name 'LimitSystemRestoreCheckpointing' -ErrorAction SilentlyContinue