Enable dev drive
Supported on: At least Windows 11 Version 22H2
When the GPO stops applying: The value can stay behind (tattoo): this policy writes outside the Policies branches. Set it to the value you want left, let it apply, then remove the GPO. How cleanup works
| Registry key | HKLM\System\CurrentControlSet\Policies |
|---|---|
| Value name | FsEnableDevDrive |
| Enabled writes | 1 (REG_DWORD) |
| Disabled writes | 0 (REG_DWORD) |
| Option | Value | Type | Allowed values |
|---|---|---|---|
| Let antivirus filter protect dev drives | FltmgrDevDriveAllowAntivirusFilter | REG_DWORD | Checked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD) |
What it does (vendor explanation)
Dev drive or developer volume is a volume optimized for performance of developer scenarios. A developer volume allows an administrator to choose file system filters that are attached on the volume.
Disabling this setting will disallow creation of new developer volumes, existing developer volumes will mount as regular volumes.
If this setting is not configured the default policy is to enable developer volumes while allowing antivirus filter to attach on a deveveloper volume. Further, if not configured, a local administrator can choose to not have antivirus filter attached to a developer volume.
A reboot is required for this setting to take effect.
Group Policy path: Computer Configuration > Administrative Templates > System > Filesystem > Enable dev drive
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\System\CurrentControlSet\Policies' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'FsEnableDevDrive' -Value 1 -PropertyType DWord -Force
# Let antivirus filter protect dev drives
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies' -Name 'FltmgrDevDriveAllowAntivirusFilter' -Value <value> -PropertyType DWord -ForceGroup Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".