Dev drive filter attach policy: registry value FltmgrDevDriveAttachPolicyComputerHKLM\System\CurrentControlSet\Policies
- Policy ID
- DevDriveAttachPolicy
- Scope
- Computer Configuration
- Supported on
- At least Windows 11 Version 22H2
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- System › Filesystem
Registry
FltmgrDevDriveAttachPolicy
REG_MULTI_SZComputerHKLM\System\CurrentControlSet\Policies Current key
- Enabled value
- Depends on the option value
- Element
- Filter list
- Value type
- REG_MULTI_SZ
- Required
- true
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Policies] ; Value names and types follow the ADMX. Replace <enter value> below with your own data ; hex(2) and hex(7) data must be written as hexadecimal (UTF-16LE) "FltmgrDevDriveAttachPolicy"=hex(7):<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKLM\System\CurrentControlSet\Policies" /v "FltmgrDevDriveAttachPolicy" /t REG_MULTI_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKLM:\System\CurrentControlSet\Policies' -Force | Out-Null New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'FltmgrDevDriveAttachPolicy' -PropertyType MultiString -Value '<enter value>' -Force | Out-Null