Controlla il montaggio dei volumi ReFS su dischi collegabili a caldo: valore del Registro di sistema RefsHotplugMountPolicyComputerHKLM\System\CurrentControlSet\Policies
- ID criterio
- BlockHotplugMount
- Ambito
- Configurazione computer
- Supportato in
- Almeno Windows 11 versione 22H2
- Origine
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
- Categoria
- Sistema › File system
Registro
RefsHotplugMountPolicy
REG_DWORDComputerHKLM\System\CurrentControlSet\Policies Chiave corrente
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Azione per i volumi ReFS su dischi collegabili a caldo
| Voce | Valore memorizzato |
|---|---|
| Disattivato | 0 |
| Solo audit | 1 |
| Blocca | 2 |
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Policies] ; Opzioni (usarne solo una) ; Disattivato "RefsHotplugMountPolicy"=dword:00000000 ; Solo audit "RefsHotplugMountPolicy"=dword:00000001 ; Blocca "RefsHotplugMountPolicy"=dword:00000002
CMD
:: Opzioni (usarne solo una) :: Disattivato reg add "HKLM\System\CurrentControlSet\Policies" /v "RefsHotplugMountPolicy" /t REG_DWORD /d 0 /f :: Solo audit reg add "HKLM\System\CurrentControlSet\Policies" /v "RefsHotplugMountPolicy" /t REG_DWORD /d 1 /f :: Blocca reg add "HKLM\System\CurrentControlSet\Policies" /v "RefsHotplugMountPolicy" /t REG_DWORD /d 2 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\System\CurrentControlSet\Policies' -Force | Out-Null # Opzioni (usarne solo una) # Disattivato New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'RefsHotplugMountPolicy' -PropertyType DWord -Value 0 -Force | Out-Null # Solo audit New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'RefsHotplugMountPolicy' -PropertyType DWord -Value 1 -Force | Out-Null # Blocca New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'RefsHotplugMountPolicy' -PropertyType DWord -Value 2 -Force | Out-Null