Desabilitar unidade de desenvolvimento: valor do Registro FsEnableDevDrive e mais 1ComputadorHKLM\System\CurrentControlSet\Policies

ID da política
EnableDevDrive
Escopo
Configuração do Computador
Compatível com
Pelo menos Windows 11 Versão 22H2
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Sistema › Sistema de Arquivos

Registro

FsEnableDevDrive

REG_DWORDComputador
Valor habilitado
1
Valor desabilitado
0
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Policies]

; Opções (use apenas uma)
; Habilitada
"FsEnableDevDrive"=dword:00000001
; Desabilitada
"FsEnableDevDrive"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Habilitada
reg add "HKLM\System\CurrentControlSet\Policies" /v "FsEnableDevDrive" /t REG_DWORD /d 1 /f
:: Desabilitada
reg add "HKLM\System\CurrentControlSet\Policies" /v "FsEnableDevDrive" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\System\CurrentControlSet\Policies' -Force | Out-Null

# Opções (use apenas uma)
# Habilitada
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'FsEnableDevDrive' -PropertyType DWord -Value 1 -Force | Out-Null
# Desabilitada
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'FsEnableDevDrive' -PropertyType DWord -Value 0 -Force | Out-Null

FltmgrDevDriveAllowAntivirusFilter

REG_DWORDComputador
Marcado
1
Desmarcado
0
Elemento
Permitir que o filtro antivírus proteja as unidades de desenvolvimento
Tipo de valor
REG_DWORD
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Policies]

; Opções (use apenas uma)
; Marcado
"FltmgrDevDriveAllowAntivirusFilter"=dword:00000001
; Desmarcado
"FltmgrDevDriveAllowAntivirusFilter"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Marcado
reg add "HKLM\System\CurrentControlSet\Policies" /v "FltmgrDevDriveAllowAntivirusFilter" /t REG_DWORD /d 1 /f
:: Desmarcado
reg add "HKLM\System\CurrentControlSet\Policies" /v "FltmgrDevDriveAllowAntivirusFilter" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\System\CurrentControlSet\Policies' -Force | Out-Null

# Opções (use apenas uma)
# Marcado
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'FltmgrDevDriveAllowAntivirusFilter' -PropertyType DWord -Value 1 -Force | Out-Null
# Desmarcado
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'FltmgrDevDriveAllowAntivirusFilter' -PropertyType DWord -Value 0 -Force | Out-Null