Configurer la fonctionnalité « Bloquer à la première consultation » : valeur de Registre DisableBlockAtFirstSeenOrdinateurHKLM\Software\Policies\Microsoft\Windows Defender\Spynet
- ID de stratégie
- DisableBlockAtFirstSeen
- Étendue
- Configuration ordinateur
- Pris en charge sur
- Au moins Windows Server 2016, Windows 10
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Catégorie
- Composants Windows › Antivirus Microsoft Defender › MAPS
Registre
DisableBlockAtFirstSeen
REG_DWORDOrdinateur- Valeur si activée
- 0
- Valeur si désactivée
- 1
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Spynet] ; Options (en utiliser une seule) ; Activé "DisableBlockAtFirstSeen"=dword:00000000 ; Désactivé "DisableBlockAtFirstSeen"=dword:00000001
CMD
:: Options (en utiliser une seule) :: Activé reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Spynet" /v "DisableBlockAtFirstSeen" /t REG_DWORD /d 0 /f :: Désactivé reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Spynet" /v "DisableBlockAtFirstSeen" /t REG_DWORD /d 1 /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Spynet' -Force | Out-Null # Options (en utiliser une seule) # Activé New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Spynet' -Name 'DisableBlockAtFirstSeen' -PropertyType DWord -Value 0 -Force | Out-Null # Désactivé New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Spynet' -Name 'DisableBlockAtFirstSeen' -PropertyType DWord -Value 1 -Force | Out-Null