Control del montaje de volúmenes ReFS en discos conectables en caliente: valor del Registro RefsHotplugMountPolicyEquipoHKLM\System\CurrentControlSet\Policies

Id. de directiva
BlockHotplugMount
Ámbito
Configuración del equipo
Compatible con
Como mínimo Windows 11 versión 22H2
Origen
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
Categoría
Sistema › Sistema de archivos

Registro

RefsHotplugMountPolicy

REG_DWORDEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
Acción para volúmenes ReFS en discos conectables en caliente
Opciones
Elemento de listaValor almacenado
Desactivar0
Solo auditoría1
Bloquear2
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Policies]

; Opciones (usar solo una)
; Desactivar
"RefsHotplugMountPolicy"=dword:00000000
; Solo auditoría
"RefsHotplugMountPolicy"=dword:00000001
; Bloquear
"RefsHotplugMountPolicy"=dword:00000002
CMD
:: Opciones (usar solo una)

:: Desactivar
reg add "HKLM\System\CurrentControlSet\Policies" /v "RefsHotplugMountPolicy" /t REG_DWORD /d 0 /f
:: Solo auditoría
reg add "HKLM\System\CurrentControlSet\Policies" /v "RefsHotplugMountPolicy" /t REG_DWORD /d 1 /f
:: Bloquear
reg add "HKLM\System\CurrentControlSet\Policies" /v "RefsHotplugMountPolicy" /t REG_DWORD /d 2 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\System\CurrentControlSet\Policies' -Force | Out-Null

# Opciones (usar solo una)
# Desactivar
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'RefsHotplugMountPolicy' -PropertyType DWord -Value 0 -Force | Out-Null
# Solo auditoría
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'RefsHotplugMountPolicy' -PropertyType DWord -Value 1 -Force | Out-Null
# Bloquear
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'RefsHotplugMountPolicy' -PropertyType DWord -Value 2 -Force | Out-Null