Het koppelen van ReFS-volumes op hot-plugbare schijven beheren: registerwaarde RefsHotplugMountPolicyComputerHKLM\System\CurrentControlSet\Policies

Beleids-ID
BlockHotplugMount
Bereik
Computerconfiguratie
Ondersteund op
Minimaal Windows 11 versie 22H2
Bron
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
Categorie
Systeem › Bestandssysteem

Register

RefsHotplugMountPolicy

REG_DWORDComputer
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Actie voor ReFS-volumes op hot-plugbare schijven
Opties
ItemOpgeslagen waarde
Uit0
Alleen audit1
Blokkeren2
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Policies]

; Opties (gebruik er maar één)
; Uit
"RefsHotplugMountPolicy"=dword:00000000
; Alleen audit
"RefsHotplugMountPolicy"=dword:00000001
; Blokkeren
"RefsHotplugMountPolicy"=dword:00000002
CMD
:: Opties (gebruik er maar één)

:: Uit
reg add "HKLM\System\CurrentControlSet\Policies" /v "RefsHotplugMountPolicy" /t REG_DWORD /d 0 /f
:: Alleen audit
reg add "HKLM\System\CurrentControlSet\Policies" /v "RefsHotplugMountPolicy" /t REG_DWORD /d 1 /f
:: Blokkeren
reg add "HKLM\System\CurrentControlSet\Policies" /v "RefsHotplugMountPolicy" /t REG_DWORD /d 2 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\System\CurrentControlSet\Policies' -Force | Out-Null

# Opties (gebruik er maar één)
# Uit
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'RefsHotplugMountPolicy' -PropertyType DWord -Value 0 -Force | Out-Null
# Alleen audit
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'RefsHotplugMountPolicy' -PropertyType DWord -Value 1 -Force | Out-Null
# Blokkeren
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'RefsHotplugMountPolicy' -PropertyType DWord -Value 2 -Force | Out-Null