Enable Windows Backup
Activer Sauvegarde Windows
Explanation
This policy setting allows administrators to configure and manage Windows settings backup for their organization.
If you enable this policy setting, Windows settings backup will occur periodically.
If you disable this policy setting, Windows settings backup will not take place.
If this policy setting is not configured, Windows settings backup will occur periodically based on eligibility.
Ce paramètre de stratégie permet aux administrateurs de configurer et de gérer la sauvegarde des paramètres Windows pour leur organization.
Si vous activez ce paramètre de stratégie, la sauvegarde des paramètres Windows est effectuée régulièrement.
Si vous désactivez ce paramètre de stratégie, la sauvegarde des paramètres Windows n’a pas lieu.
Si ce paramètre de stratégie n’est pas configuré, la sauvegarde des paramètres Windows est effectuée périodiquement en fonction de l’éligibilité.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\SettingSync- Value name
EnableWindowsBackup
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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: SettingSync/EnableWindowsBackup
$k = 'HKLM:\Software\Policies\Microsoft\Windows\SettingSync'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableWindowsBackup' -Value 1 -Type DWordDisable
# Disable: SettingSync/EnableWindowsBackup
$k = 'HKLM:\Software\Policies\Microsoft\Windows\SettingSync'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableWindowsBackup' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": SettingSync/EnableWindowsBackup
$k = 'HKLM:\Software\Policies\Microsoft\Windows\SettingSync'
Remove-ItemProperty -Path $k -Name 'EnableWindowsBackup' -ErrorAction SilentlyContinue