How to create Dev Drive on Windows 11

Hare are the instructions to manage Dev Drives on Windows 11.

Windows 11 Dev Drives
Windows 11 Dev Drives
  • To create a Dev Drive on Windows 11, open Settings > System > Storage > Advanced storage settings, click on “Disks & volumes,” click on “Create Dev Drive,” choose “Create new VHD,” click on “Next,” configure the Dev Drive with a minimum of 50GB, click “Create,” select “GPT (GUID Partition Table),” click “Initialize,” configure volume settings, and click on “Format.”
  • It’s also possible to set up a physical hard drive as a Dev Drive. In addition, it’s possible to resize and delete the Dev Drive on Windows 11.

On Windows 11 23H2, you can create and manage Dev Drives, and in this guide, you will learn how. “Dev Drive” is a feature that allows developers to create regular and virtual storage using the Resilient File System (ReFS) with custom file system optimizations, Microsoft Defender Antivirus in performance mode, and features to enable better management of performance and security profile.

This feature is not designed for general workloads such as document libraries, installing packaged applications, or non-developer tools. Instead, it’s been designed specifically to meet the needs of developers to host project source code, working folders, and package caches.

This guide will teach you the steps to set up virtual Dev Drives on Windows 11.

Create Dev Drive on Windows 11 (virtual)

To create a Dev Drive on Windows 11, use these steps:

  1. Open Settings on Windows 11.

  2. Click on System.

  3. Click the Storage tab.

  4. Under the “Storage management” section, click “Advanced storage settings.”

  5. Click the Disks & volumes setting.

    Disks & volumes

  6. Click the Create Dev Drive button.

    Create Dev Drive

  7. Select the “Create new VHD” option.

    Create Dev Drive

  8. Click the Next button.

  9. Confirm a descriptive name for the drive.

  10. Confirm a location to store the virtual drive.

    Quick tip: Usually, you can want to store the VHD or VHDX file on a secondary drive for better performance.
  11. Specify the size of the virtual drive as equal to or larger than 50GB.

    Create and attach Dev Drive

  12. Check the VHDX option.

  13. Check the Dynamically expanding option to allow the drive to grow as more data is written.

    Quick note: The “Fixed size” will allocate the maximum size when the drive is created.
  14. Click the Create button.

  15. Select the “GPT (GUID Partition Table)” option to assign a partition style to the drive.

    Initialize Dev Drive

  16. Click the Initialize button.

  17. Confirm a label for the virtual drive.

    Format Dev Drive

  18. Choose the drive letter.

  19. (Optional) Use the default size specified in the setting.

  20. Click the Format button.

After you complete the steps, the Dev Drive will be created and accessible from File Explorer on Windows 11 23H2.

Create Dev Drive on Windows 11 (physical)

Windows 11 also allows you to create a Dev Drive as a volume on the hard drive instead of using virtualization. In other words, you can also create a volume on a hard drive with the benefits of the Dev Drive, including security and performance, using ReFS technology.

To create a Dev Drive on a physical hard drive, use these steps:

  1. Open Settings.

  2. Click on System.

  3. Click the Storage tab.

  4. Under the “Storage management” section, click “Advanced storage settings.”

  5. Click the Disks & volumes setting.

    Disks & volumes

  6. Click the “Create Dev Drive” button.

    Create Dev Drive

  7. Select the “Unallocated space on disk” option.

    Dev Drive unallocated space

  8. Click the Next button.

  9. Confirm a descriptive name for the drive in the “Label” setting.

  10. Confirm the letter for the drive in the “Drive letter” setting.

    Dev Drive format settings

  11. Confirm the size (equal to or more than 50GB) in the “Size (MB)” setting.

  12. Click the Format button.

After you complete the steps, the volume will be created in the physical drive using the ReFS file system on Windows 11.

Resize Dev Drive on Windows 11

You can resize the volume of a Dev Drive as long as the available space on the virtual drive is equal to or more than 50GB. On the other hand, if you configure a physical storage as a Dev Drive, you can change the size of the volume with any remaining space available. If you have to increase the size of the virtual drive, you will have to create another drive with a larger size.

To change the side of a Dev Drive on Windows 11, use these steps:

  1. Open Settings.

  2. Click on System.

  3. Click the Storage tab.

  4. Under the “Storage management” section, click “Advanced storage settings.”

  5. Click the Disks & volumes setting.

    Disks & volumes

  6. Click the “Create Dev Drive” button.

    Create Dev Drive

  7. Click the “Resize an existing volume” option.

    Dev Drive resize

  8. Click the Next button.

  9. Choose the drive to resize.

    Choose volume to resize

    Quick note: If you’re configuring a hard drive, you can use the remaining space to increase the size of the drive. If you have a virtual drive, you can only change the size of the physical drive has more than 50GB of available space.
  10. Click the Next button.

  11. Specify the new size of the drive (in megabytes).

    Dev Drive change size volume

  12. Click the Next button.

Once you complete the steps, the Dev Drive will now reflect the new size.

Using these instructions, you can increase or decrease the size of the drive. However, if you’re dealing with virtualization, the size of the Dev Drive can’t be less than 50GB.

Delete Dev Drive on Windows 11

If you no longer have to use a Dev Drive, the best way to delete the drive is to use the “Disk Management” tool to detach the virtual drive, and then you can proceed to delete the “.vhd” or “.vhdx” file. If you are using a physical drive, you can simply delete or reformat the volume.

To delete a Dev Drive on Windows 11, use these steps:

  1. Open Start.

  2. Search for Create and format hard disk partitions and click the top result to open the Disk Management app.

  3. Right-click the Dev Drive and choose the Detach VHD option.

    Detach Dev Drive

    Quick note: If you are using a Dev Drive volume, you can right-click the volume and select the “Delete Volume” option.
  4. Open File Explorer.

  5. Open the folder storing the virtual drive.

  6. Right-click the Dev Drive and choose the Delete option.

    Delete Dev Drive

After you complete the steps, the Dev Drive will be removed from your device running Windows 11 23H2 or higher release.

About the author

Mauro Huculak is a Windows expert and the Editor-in-Chief who started Pureinfotech in 2010 as an independent online publication. He is also been a Windows Central contributor for nearly a decade. Mauro has over 12 years of experience writing comprehensive guides and creating professional videos about Windows, software, and related technologies, including Android and Linux. Before becoming a technology writer, he was an IT administrator for seven years. In total, Mauro has over 20 years of combined experience in technology. Throughout his career, he achieved different professional certifications from Microsoft (MSCA), Cisco (CCNP), VMware (VCP), and CompTIA (A+ and Network+), and he has been recognized as a Microsoft MVP for many years. You can follow him on X (Twitter), YouTube, LinkedIn and About.me.