Ocultar el área Recuperación de datos por ataque de ransomware: valor del Registro HideRansomwareRecoveryEquipoHKLM\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Virus and threat protection

Id. de directiva
VirusThreatProtection_HideRansomwareRecovery
Ámbito
Configuración del equipo
Compatible con
Al menos Windows Server 2016, Windows 10 versión 1803
Origen
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
Categoría
Componentes de Windows › Seguridad de Windows › Protección contra virus y amenazas

Registro

HideRansomwareRecovery

REG_DWORDEquipo
Valor al habilitar
1
Valor al deshabilitar
0
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Virus and threat protection]

; Opciones (usar solo una)
; Habilitada
"HideRansomwareRecovery"=dword:00000001
; Deshabilitada
"HideRansomwareRecovery"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Habilitada
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Virus and threat protection" /v "HideRansomwareRecovery" /t REG_DWORD /d 1 /f
:: Deshabilitada
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Virus and threat protection" /v "HideRansomwareRecovery" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Virus and threat protection' -Force | Out-Null

# Opciones (usar solo una)
# Habilitada
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Virus and threat protection' -Name 'HideRansomwareRecovery' -PropertyType DWord -Value 1 -Force | Out-Null
# Deshabilitada
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Virus and threat protection' -Name 'HideRansomwareRecovery' -PropertyType DWord -Value 0 -Force | Out-Null