Open in the explorer

Prevent creation of a system restore point during device activity that would normally prompt creation of a restore point

Empêcher la création de point de restauration système lors d’une activité d’un périphérique demandant habituellement la création d’un point de restauration

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Device Installation FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Installation de périphériques
Supported on
At least Windows Vista FR: Au minimum Windows Vista
ADMX file
DeviceInstallation.admx
Internal name
DeviceInstallation/DeviceInstall_SystemRestore

Explanation

This policy setting allows you to prevent Windows from creating a system restore point during device activity that would normally prompt Windows to create a system restore point. Windows normally creates restore points for certain driver activity, such as the installation of an unsigned driver. A system restore point enables you to more easily restore your system to its state before the activity.

If you enable this policy setting, Windows does not create a system restore point when one would normally be created.

If you disable or do not configure this policy setting, Windows creates a system restore point as it normally would.

French text from Windows 11 26H2

Ce paramètre de stratégie empêche Windows de créer un point de restauration système au cours d’une activité du périphérique impliquant d’ordinaire la création d’un point de restauration. Windows crée généralement des points de restauration lors de certaines activités du pilote comme l’installation d’un pilote non signé. Un point de restauration système permet de rétablir facilement le système dans l’état où il se trouvait avant l’activité.

Si vous activez ce paramètre de stratégie, Windows ne crée pas de point de restauration système lors des activités généralement associées à la création de points de restauration.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, Windows crée un point de restauration système comme d’habitude.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DeviceInstall\Settings
Value name
DisableSystemRestore
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

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: DeviceInstallation/DeviceInstall_SystemRestore
$k = 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableSystemRestore' -Value 1 -Type DWord

Disable

# Disable: DeviceInstallation/DeviceInstall_SystemRestore
$k = 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableSystemRestore' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": DeviceInstallation/DeviceInstall_SystemRestore
$k = 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Settings'
Remove-ItemProperty -Path $k -Name 'DisableSystemRestore' -ErrorAction SilentlyContinue

Availability