ホットプラグ可能なディスク上の ReFS ボリュームのマウントを制御する のレジストリ値 RefsHotplugMountPolicyコンピューターHKLM\System\CurrentControlSet\Policies

ポリシー ID
BlockHotplugMount
適用対象
コンピューターの構成
サポートされるバージョン
Windows 11 バージョン 22H2 以降
出典
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
カテゴリ
システム › ファイル システム

レジストリ

RefsHotplugMountPolicy

REG_DWORDコンピューター
有効時の値
オプションの値に依存
要素
ホットプラグ可能なディスク上の ReFS ボリュームに対する操作
オプション
項目保存される値
オフ0
監査のみ1
ブロック2
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Policies]

; 選択項目 (1 つだけ使用)
; オフ
"RefsHotplugMountPolicy"=dword:00000000
; 監査のみ
"RefsHotplugMountPolicy"=dword:00000001
; ブロック
"RefsHotplugMountPolicy"=dword:00000002
CMD
:: 選択項目 (1 つだけ使用)

:: オフ
reg add "HKLM\System\CurrentControlSet\Policies" /v "RefsHotplugMountPolicy" /t REG_DWORD /d 0 /f
:: 監査のみ
reg add "HKLM\System\CurrentControlSet\Policies" /v "RefsHotplugMountPolicy" /t REG_DWORD /d 1 /f
:: ブロック
reg add "HKLM\System\CurrentControlSet\Policies" /v "RefsHotplugMountPolicy" /t REG_DWORD /d 2 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\System\CurrentControlSet\Policies' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# オフ
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'RefsHotplugMountPolicy' -PropertyType DWord -Value 0 -Force | Out-Null
# 監査のみ
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'RefsHotplugMountPolicy' -PropertyType DWord -Value 1 -Force | Out-Null
# ブロック
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'RefsHotplugMountPolicy' -PropertyType DWord -Value 2 -Force | Out-Null