System Create Dev Drive in Windows 11


  • Staff
Drive_banner.png

This tutorial will show you how to create a Dev Drive using unallocated space on a disk or new virtual hard disk (VHD/VHDX) in Windows 11.

Starting with Windows 11 version 22H2 KB5030310 Build 22621.2361,, Microsoft introduced Dev Drive.

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.

The following table summarizes performance mode synchronous and asynchronous scan behavior.

Performance mode state​
Scan type​
Description​
Summary​
Not enabled (Off)Synchronous
(Real-time protection)
Opening a file initiates a Real-time protection scan.Open now, scan now.
Enabled (On) - defaultAsynchronousFile open operations are scanned asynchronously.Open now, scan later.

An untrusted Dev Drive doesn't have the same benefits as a trusted Dev Drive. Security runs in synchronous, Real-time protection mode when a Dev Drive is untrusted. Real-time protection scans may impact performance.

For performance mode to be enabled, the Dev Drive must be designated as trusted and Microsoft Defender Real-time protection must be set to "On".

Starting with Windows 11 build 25931 (Canary), you can now enable or disable performance mode for Dev Drive protection in Windows Security.

To setup a Dev Drive, you can create one using unallocated space on an existing drive or create a VHD/VHDX.

Dev Drive prerequisites:
Starting with Windows 11 build 25905 (Canary), this build includes new features from the Dev Channel, such as Dev Drive, Backup and Restore improvements (Windows Backup), Dynamic Lighting, the Windows App SDK version of File Explorer and Gallery, and more.

Starting with Windows 11 build 25982 (Canary), ReFS filesystem Block Cloning Support is now available in the Windows copy engine. ReFS already supports Block Cloning, so this feature adds native support to copy actions and APIs on Windows. This feature improves the performance of ReFS volumes including Dev Drive volumes for build scenarios or any other copy intensive scenarios, the larger the files being copied the larger the savings.

References:


Contents

  • Option One: Create New Dev Drive using Unallocated Space on Disk
  • Option Two: Create New Dev Drive using Virtual Hard Disk (VHD/VHDX)




Option One

Create New Dev Drive using Unallocated Space on Disk


This option requires you to already have at least 50GB of unallocated space available on a disk to select to use for the Dev Drive. If you don't, then you can shrink a volume/partition on a disk to create the unallocated space from.

The Dev Drive you create using this option will be always be available as a drive in File Explorer > This PC.


You can delete the Dev Drive created in this option to permanently remove it.


1 Open Settings (Win+I).

2 Click/tap on System on the left side, and click/tap on Storage on the right side. (see screenshot below)


Dev_Drive-1.png

3 Click/tap on Advanced storage settings on the right side to expand it, and click/tap on Disks & volumes. (see screenshot below)

Dev_Drive-2.png

4 Click/tap on the Create Dev Drive button. (see screenshot below)

Dev_Drive-3.png

5 Select the unallocated space you want to use for the Dev Drive, and click/tap on Next. (see screenshot below)

Dev_Drive_unallocated-1.png

6 Perform the steps below to create the Dev Drive: (see screenshot below)
  1. Enter the Label (drive name) you want for this Dev Drive.
  2. Select an available Drive Letter you want assigned to this Dev Drive.
  3. Enter the Size in MB of unallocated space you want to use for this Dev Drive. Must be at least 50GB.
  4. Click/tap on Format.
Dev_Drive_unallocated-2.png

7 When finished, you can close Settings if you like.




Option Two

Create New Dev Drive using Virtual Hard Disk (VHD/VHDX)


This option will create a new virtual hard disk (VHD/VHDX) that is then used to create a new Dev Drive on.

The Dev Drive you create using this option will be only be available as a drive in File Explorer > This PC while its VHD/VHDX file is mounted.

The virtual hard disk (VHD/VHDX) will automatically unmount whenever you restart the computer. You will need to mount the VHD/VHDX file when you want the Dev Drive available as a drive in File Explorer > This PC again.


You can unmount and delete the virtual hard disk (VHD/VHDX) file created in this option to permanently remove the Dev Drive.


1 Open Settings (Win+I).

2 Click/tap on System on the left side, and click/tap on Storage on the right side. (see screenshot below)


Dev_Drive-1.png

3 Click/tap on Advanced storage settings on the right side to expand it, and click/tap on Disks & volumes. (see screenshot below)

Dev_Drive-2.png

4 Click/tap on the Create Dev Drive button. (see screenshot below)

Dev_Drive-3.png

5 Select Create new VHD, and click/tap on Next. (see screenshot below)

Dev_Drive_VHD-1.png

6 Perform the steps below to create a new VHD/VHDX for the Dev Drive: (see screenshot below)
  1. Enter the Virtual hard disk name you want for this VHD/VHDX file.
  2. Browse to and select the drive or folder Location you want to create this VHD/VHDX file at.
  3. Specify a Virtual hard disk size you want assigned to this VHD/VHDX file at. Must be at least 50GB.
  4. Select (dot) the Virtual hard disk formatyou want to use.
    • VHD: Supports virtual disks up to 2040GB in size.
    • VHDX: Supports virtual disks up to 64TB in size and offers more resilient protection against unexpected IO failure caused by issues like power outage).
  5. Select (dot) the Virtual hard disk typeyou want to use.
    • Fixed size - This virtual hard disk file is allocated to the maximum size when created (Recommended for efficiency).
    • Dynamically expanding - Grows to maximum size as data is written.
  6. Click/tap on Create.
Dev_Drive_VHD-2.png

7 It will take a moment to create and attach (mount) the new virtual hard disk. (see screenshot below)

Dev_Drive_VHD-3.png

8 Select (dot) GPT (default) or MBR for the partition style you want to use for the VHD/VHDX, and click/tap on Initialize. (see screenshot below)

Dev_Drive_VHD-4.png

9 Perform the steps below to create the Dev Drive on the VHD/VHDX: (see screenshot below)
  1. Enter the Label (drive name) you want for this Dev Drive.
  2. Select an available Drive Letter you want assigned to this Dev Drive.
  3. Enter the Size in MB of unallocated space you want to use for this Dev Drive. Must be at least 50GB.
  4. Click/tap on Format.
Dev_Drive_VHD-5.png

10 When finished, you can close Settings if you like.


That's it,
Shawn Brink


 

Attachments

  • Drive.png
    Drive.png
    2.7 KB · Views: 55
Last edited:
Thank you for this comprehensive guide! I'd have two questions:
  1. Do I understand correctly that due to it staying always mounted, "Create New Dev Drive using Unallocated Space on Disk" is the recommended option?
  2. In the VHD option, do you also recommend GPT partition style or MBR?
Thanks!
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
Thank you for this comprehensive guide! I'd have two questions:
  1. Do I understand correctly that due to it staying always mounted, "Create New Dev Drive using Unallocated Space on Disk" is the recommended option?
  2. In the VHD option, do you also recommend GPT partition style or MBR?
Thanks!
Hello, and welcome. :alien:

Q1) Either option 1 or 2 is fine to use to create the Dev Drive. What's recommended is what works best for you.

Q2) GPT would usually be recommended since it's not a bootable drive.
 

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,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium
Thank you for your quick reply!

For #1, I'm not really sure what would work best for me :). From what I can tell, in the end, you get a new virtual drive in both cases (I tried the VHD option). However, are there any performance benefits to either approach? I guess the advantage of the VHD option is that you can more easily move the file.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
Thank you for your quick reply!

For #1, I'm not really sure what would work best for me :). From what I can tell, in the end, you get a new virtual drive in both cases (I tried the VHD option). However, are there any performance benefits to either approach? I guess the advantage of the VHD option is that you can more easily move the file.
Correct. It just depends on if you prefer a movable file or set partition for the VHD.
 

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,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium

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,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium
Back
Top Bottom