開発者ドライブを有効にする のレジストリ値 FsEnableDevDrive ほか 1 件コンピューターHKLM\System\CurrentControlSet\Policies

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

レジストリ

FsEnableDevDrive

REG_DWORDコンピューター
有効時の値
1
無効時の値
0
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Policies]

; 選択項目 (1 つだけ使用)
; 有効
"FsEnableDevDrive"=dword:00000001
; 無効
"FsEnableDevDrive"=dword:00000000
CMD
:: 選択項目 (1 つだけ使用)

:: 有効
reg add "HKLM\System\CurrentControlSet\Policies" /v "FsEnableDevDrive" /t REG_DWORD /d 1 /f
:: 無効
reg add "HKLM\System\CurrentControlSet\Policies" /v "FsEnableDevDrive" /t REG_DWORD /d 0 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\System\CurrentControlSet\Policies' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# 有効
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'FsEnableDevDrive' -PropertyType DWord -Value 1 -Force | Out-Null
# 無効
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'FsEnableDevDrive' -PropertyType DWord -Value 0 -Force | Out-Null

FltmgrDevDriveAllowAntivirusFilter

REG_DWORDコンピューター
チェックあり
1
チェックなし
0
要素
ウイルス対策フィルターによる開発者ドライブの保護を許可する
値の種類
REG_DWORD
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Policies]

; 選択項目 (1 つだけ使用)
; チェックあり
"FltmgrDevDriveAllowAntivirusFilter"=dword:00000001
; チェックなし
"FltmgrDevDriveAllowAntivirusFilter"=dword:00000000
CMD
:: 選択項目 (1 つだけ使用)

:: チェックあり
reg add "HKLM\System\CurrentControlSet\Policies" /v "FltmgrDevDriveAllowAntivirusFilter" /t REG_DWORD /d 1 /f
:: チェックなし
reg add "HKLM\System\CurrentControlSet\Policies" /v "FltmgrDevDriveAllowAntivirusFilter" /t REG_DWORD /d 0 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\System\CurrentControlSet\Policies' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# チェックあり
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'FltmgrDevDriveAllowAntivirusFilter' -PropertyType DWord -Value 1 -Force | Out-Null
# チェックなし
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'FltmgrDevDriveAllowAntivirusFilter' -PropertyType DWord -Value 0 -Force | Out-Null