Configure real-time protection and Security Intelligence Updates during OOBE
Configurer la protection en temps réel et les mises à jour des informations de sécurité pendant OOBE
Explanation
This policy setting allows you to configure whether real-time protection and Security Intelligence Updates are enabled during OOBE (Out of Box experience).
If you enable this setting, real-time protection and Security Intelligence Updates are enabled during OOBE.
If you either disable or do not configure this policy setting, real-time protection and Security Intelligence Updates during OOBE is not enabled.
Ce paramètre de stratégie vous permet de configurer l’activation de la protection en temps réel et des mises à jour des renseignements de sécurité sont activées pendant la phase OOBE (expérience out of box).
Si vous activez ce paramètre, la protection en temps réel et les mises à jour du renseignements de sécurité sont activées pendant la phase OOBE.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, la protection en temps réel et les mises à jour des renseignements de sécurité pendant la phase OOBE ne sont pas activées.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Real-Time Protection- Value name
OobeEnableRtpAndSigUpdate
| 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: WindowsDefender/RealtimeProtection_OobeEnableRtpAndSigUpdate
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'OobeEnableRtpAndSigUpdate' -Value 1 -Type DWordDisable
# Disable: WindowsDefender/RealtimeProtection_OobeEnableRtpAndSigUpdate
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'OobeEnableRtpAndSigUpdate' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": WindowsDefender/RealtimeProtection_OobeEnableRtpAndSigUpdate
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection'
Remove-ItemProperty -Path $k -Name 'OobeEnableRtpAndSigUpdate' -ErrorAction SilentlyContinue