Abilita unità di sviluppo: valore del Registro di sistema FsEnableDevDrive e altri 1ComputerHKLM\System\CurrentControlSet\Policies

ID criterio
EnableDevDrive
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

FsEnableDevDrive

REG_DWORDComputer
Valore abilitato
1
Valore disabilitato
0
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Policies]

; Opzioni (usarne solo una)
; Abilitato
"FsEnableDevDrive"=dword:00000001
; Disabilitato
"FsEnableDevDrive"=dword:00000000
CMD
:: Opzioni (usarne solo una)

:: Abilitato
reg add "HKLM\System\CurrentControlSet\Policies" /v "FsEnableDevDrive" /t REG_DWORD /d 1 /f
:: Disabilitato
reg add "HKLM\System\CurrentControlSet\Policies" /v "FsEnableDevDrive" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\System\CurrentControlSet\Policies' -Force | Out-Null

# Opzioni (usarne solo una)
# Abilitato
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'FsEnableDevDrive' -PropertyType DWord -Value 1 -Force | Out-Null
# Disabilitato
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'FsEnableDevDrive' -PropertyType DWord -Value 0 -Force | Out-Null

FltmgrDevDriveAllowAntivirusFilter

REG_DWORDComputer
Selezionato
1
Non selezionato
0
Elemento
Consenti al filtro antivirus di proteggere le unità di sviluppo
Tipo di valore
REG_DWORD
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Policies]

; Opzioni (usarne solo una)
; Selezionato
"FltmgrDevDriveAllowAntivirusFilter"=dword:00000001
; Non selezionato
"FltmgrDevDriveAllowAntivirusFilter"=dword:00000000
CMD
:: Opzioni (usarne solo una)

:: Selezionato
reg add "HKLM\System\CurrentControlSet\Policies" /v "FltmgrDevDriveAllowAntivirusFilter" /t REG_DWORD /d 1 /f
:: Non selezionato
reg add "HKLM\System\CurrentControlSet\Policies" /v "FltmgrDevDriveAllowAntivirusFilter" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\System\CurrentControlSet\Policies' -Force | Out-Null

# Opzioni (usarne solo una)
# Selezionato
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'FltmgrDevDriveAllowAntivirusFilter' -PropertyType DWord -Value 1 -Force | Out-Null
# Non selezionato
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'FltmgrDevDriveAllowAntivirusFilter' -PropertyType DWord -Value 0 -Force | Out-Null