Ouvrir dans l'explorateur

Configurer le mode de protection contre le chiffrement à distance

Configure Remote Encryption Protection Mode

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Antivirus Microsoft Defender › Mise à jour › Blocs réseau comportementaux › Protection contre le chiffrement à distance EN : Computer Configuration › Policies › Administrative Templates › Windows Components › Microsoft Defender Antivirus › Remediation › Behavioral Network Blocks › Remote Encryption Protection
Pris en charge sur
Windows Server 2016, Windows 10 version 1607 ou versions supérieures EN : At least Windows Server 2016, Windows 10 Version 1607
Fichier ADMX
WindowsDefender.admx
Nom interne
WindowsDefender/Remediation_BNB_REP_RemoteEncryptionProtection_ConfiguredState

Explication

Texte français issu de Windows 11 26H2

Définissez le mode de protection contre le chiffrement à distance dans Microsoft Defender Antivirus, qui peut détecter et bloquer les tentatives de remplacement des fichiers locaux par des versions chiffrées d’un autre appareil.

Paramètres pris en charge :
* 0 - Non configuré ou par défaut : appliquer les valeurs par défaut, qui peuvent varier en fonction de la version du moteur antivirus et de la plateforme
* 1 - Bloquer : empêcher les comportements suspects et malveillants
* 2 - Audit : Générer les détections EDR sans blocage
* 4 - Désactivé : la fonctionnalité est désactivée sans impact sur les performances

Set the mode for Remote Encryption Protection in Microsoft Defender Antivirus, which can detect and block attempts to replace local files with encrypted versions from another device.

Supported settings:
* 0 - Not configured or Default: Apply defaults, which can vary depending on the antivirus engine version and the platform
* 1 - Block: Prevent suspicious and malicious behaviors
* 2 - Audit: Generate EDR detections without blocking
* 4 - Off: Feature is off with no performance impact

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Remediation\Behavioral Network Blocks\Remote Encryption Protection
Nom de la valeur
RemoteEncryptionProtectionConfiguredState
ÉtatValeur écrite
Activénon défini dans l'ADMX (voir les options ci-dessous)
Désactivénon défini dans l'ADMX (voir les options ci-dessous)

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

L'ADMX ne précise pas la valeur écrite à l'activation ; l'éditeur GPO écrit habituellement REG_DWORD 1 (activé) / 0 (désactivé). Les commandes ci-dessous utilisent 1/0 par hypothèse.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : WindowsDefender/Remediation_BNB_REP_RemoteEncryptionProtection_ConfiguredState
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Remediation\Behavioral Network Blocks\Remote Encryption Protection'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# L'ADMX ne précise pas la valeur écrite ; l'éditeur GPO écrit habituellement REG_DWORD 1 (activé) / 0 (désactivé)
Set-ItemProperty -Path $k -Name 'RemoteEncryptionProtectionConfiguredState' -Value 1 -Type DWord  # valeur supposée (non définie dans l'ADMX)
# Spécifier l’état de la protection de chiffrement à distance
# Options possibles :
#   Default = 0
#   Block = 1
#   Audit = 2
#   Off = 4
Set-ItemProperty -Path $k -Name 'RemoteEncryptionProtectionConfiguredState' -Value 0 -Type DWord

Désactiver

# Désactiver : WindowsDefender/Remediation_BNB_REP_RemoteEncryptionProtection_ConfiguredState
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Remediation\Behavioral Network Blocks\Remote Encryption Protection'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# L'ADMX ne précise pas la valeur écrite ; l'éditeur GPO écrit habituellement REG_DWORD 1 (activé) / 0 (désactivé)
Set-ItemProperty -Path $k -Name 'RemoteEncryptionProtectionConfiguredState' -Value 0 -Type DWord  # valeur supposée (non définie dans l'ADMX)

Revenir à « Non configuré »

# Revenir à « Non configuré » : WindowsDefender/Remediation_BNB_REP_RemoteEncryptionProtection_ConfiguredState
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Remediation\Behavioral Network Blocks\Remote Encryption Protection'
Remove-ItemProperty -Path $k -Name 'RemoteEncryptionProtectionConfiguredState' -ErrorAction SilentlyContinue

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
Spécifier l’état de la protection de chiffrement à distanceSpecify the state of Remote Encryption ProtectionRemediation_BNB_REP_RemoteEncryptionProtection_ConfiguredStateListe déroulanteenumRemoteEncryptionProtectionConfiguredStateREG_DWORD
Obligatoire · Choix par défaut (interface) : n° 0
LibelléValeur
DefaultREG_DWORD = 0
BlockREG_DWORD = 1
AuditREG_DWORD = 2
OffREG_DWORD = 4

Disponibilité

Windows 11

✓ 26H2✓ 25H2✓ 24H2— 23H2— 22H2— 21H2

Windows 10

— 22H2— 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server

✓ 2025— 2022— 2016