System Enable or Disable Create Dev Drive in Windows 11


DevDrive_banner.png

This tutorial will show you how to enable or disable the ability to create a Dev Drive for all users in Windows 11.

Dev Drive is a new form of storage volume available to improve performance for key developer workloads. Dev Drive is built upon Resilient File System (ReFS) technology and includes file system optimizations and features that provide more control over storage volume settings and security, including trust designation, antivirus configuration, and administrative control over what filters are attached. It has been designed to meet a developer’s needs to host project source code, working folders, and package caches. It is not designed for general consumer workloads such as document libraries, installing packaged applications or non-developer tools.

By default, to give the best possible performance, creating a Dev Drive automatically grants trust in the new volume. A trusted Dev Drive volume causes real-time protection to run in a special asynchronousperformance mode” for that volume. Running performance mode provides a balance between threat protection and performance. The balance is achieved by deferring security scans until after the open file operation has completed, instead of performing the security scan synchronously while the file operation is being processed. This mode of performing security scans inherently provides faster performance, but with less protection. However, enabling performance mode provides significantly better protection than other performance tuning methods such as using folder exclusions, which block security scans altogether.

If you like, you can disable the ability to create a dev drive for all users on the device. This will not affect any current dev drives.

Reference:

You must be signed in as an administrator to enable or disable the ability to create a Dev Drive.



Contents

  • Option One: Enable or Disable Create Dev Drive using Command
  • Option Two: Enable or Disable Create Dev Drive in Local Group Policy Editor
  • Option Three: Enable or Disable Create Dev Drive using REG file


EXAMPLE: Create a dev drive enabled and disabled

Enable_create_dev_drive.png
Disable_create_dev_drive.png





Option One

Enable or Disable Create Dev Drive using Command



1 Open Windows Terminal (Admin), and select either Windows PowerShell or Command Prompt.

2 Copy and paste the command below you want to use into Windows Terminal (Admin), and press Enter.

(Enable - default)​
fsutil devdrv enable

OR​

(Disable)​
fsutil devdrv disable

3 You can now close Windows Terminal (Admin) if you like.




Option Two

Enable or Disable Create Dev Drive in Local Group Policy Editor


The Local Group Policy Editor is only available in the Windows 11 Pro, Enterprise, and Education editions.

All editions can use Option Three to configure the same policy.


1 Open the Local Group Policy Editor (gpedit.msc).

2 Navigate to the location below in the left pane of Local Group Policy Editor. (see screenshot below)

Computer Configuration > Administrative Templates > System > Filesystem

Dev_Drive_gpedit-1.png

3 In the right pane of Filesystem, double click/tap on the Enable dev drive policy to edit it. (see screenshot above)

4 Do step 5 (enable) or step 6 (disable) below for what you want.

5 Enable Create Dev Drive

This is the default setting.


A) Select (dot) Not Configured. (see screenshot below)​

B) Click/tap on OK, and go to step 7.​

Dev_Drive_gpedit-2.png

6 Disable Create Dev Drive

This will override Option One.


A) Select (dot) Disabled. (see screenshot below)​

B) Click/tap on OK, and go to step 7.​

Dev_Drive_gpedit-3.png

7 You can now close the Local Group Policy Editor if you like.




Option Three

Enable or Disable Create Dev Drive using REG file


1 Do step 2 (enable) or step 3 (disable) below for what you want.

2 Enable Create Dev Drive

This is the default setting.


A) Click/tap on the Download button below to download the .reg file below, and go to step 4 below.​

Enable_create_dev_drive.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Policies]
"FsEnableDevDrive"=-
"FltmgrDevDriveAllowAntivirusFilter"=-

3 Disable Create Dev Drive

This will override Option One.


A) Click/tap on the Download button below to download the .reg file below, and go to step 4 below.​

Disable_create_dev_drive.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Policies]
"FsEnableDevDrive"=dword:00000000
"FltmgrDevDriveAllowAntivirusFilter"=dword:00000000

4 Save the .reg file to your desktop.

5 Double click/tap on the downloaded .reg file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 You can delete the downloaded .reg file if you like.


That's it,
Shawn Brink


 

Attachments

Last edited:
Hey Brink ... just registered as I have been using this site alot since our upgrade to Windows 11 is in image creation phase. You are the only resource that mentions these registry keys per ability to disable Create a Dev Drive and works perfectly. My question/s are if you have time please as follows:
- How were you able to locate these specific reg keys ?
- I also want to disable Create VHD and Attach VHD in similiar fashion

I am also looking at other specific Windows settings such as this and how you were able to locate the Dev Drive key may assist me with finding the other registry entries I could use.

Any assistance would be greatly appreciated as I am banging my head over this.

Rich
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E7470
Could a dev drive *in theory* be used as a regular storage drive? Would there be any advantage to doing this?
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2 (RP channel)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Gigabyte
    CPU
    AMD Ryzen 5900X 12-core
    Motherboard
    X570 Aorus Xtreme
    Memory
    64GB Corsair Platinum RGB 3600MHz CL16
    Graphics Card(s)
    MSI Suprim X 3080 Ti
    Sound Card
    Soundblaster AE-5 Plus
    Monitor(s) Displays
    ASUS TUF Gaming VG289Q
    Screen Resolution
    3840x2160
    Hard Drives
    Samsung 990 Pro 2TB
    Samsung 980 Pro 2TB
    Samsung 970 Evo Plus 1TB
    Samsung 870 Evo 4TB
    Samsung T7 Touch 1TB
    PSU
    Asus ROG Strix 1000W
    Case
    Corsair D750 Airflow
    Cooling
    Noctua NH-D15S
    Keyboard
    Logitech G915 X (wired)
    Mouse
    Logitech G903 with PowerPlay charger
    Internet Speed
    900Mb/sec
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender
Hey Brink ... just registered as I have been using this site alot since our upgrade to Windows 11 is in image creation phase. You are the only resource that mentions these registry keys per ability to disable Create a Dev Drive and works perfectly. My question/s are if you have time please as follows:
- How were you able to locate these specific reg keys ?
- I also want to disable Create VHD and Attach VHD in similiar fashion

I am also looking at other specific Windows settings such as this and how you were able to locate the Dev Drive key may assist me with finding the other registry entries I could use.

Any assistance would be greatly appreciated as I am banging my head over this.

Rich
Hello Rich, :alien:

I use the free app Process Monitor to help find them in the registry.

I haven't seen a way to disable the ability to create and/or attach a VHD though.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
Could a dev drive *in theory* be used as a regular storage drive? Would there be any advantage to doing this?
Hello Brian, :alien:

Technically, you could since it's basically just an attached VHDX file acting as a virtual drive.

I'm not sure there would be any advantages other than the Dev Drive using ReFS file system, and could be portable to attach its VHDX file to another computer for usage on.

 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender

Latest Support Threads

Back
Top Bottom