How to create a Dev Drive in Windows 11

The new Dev Drive feature in Windows 11 lets you create a drive optimized for development resources.

Screenshot of a Windows 11 desktop with the Settings app running and showing a list of drives on the computer

At Build 2023, Microsoft announced a couple of new features for developers on Windows 11, including a new Dev Home app and Dev Drive. This is a type of drive designed specifically for development use to speed up access to project files, source code repositories, and so on. Anyone can create a Dev Drive, but if you’re not sure how, we’re here to help.

There are a few prerequisites, starting with having the latest Windows 11 build in the Dev channel, though this will become more widely available in the near future. You’ll also need to have at least 8GB of RAM (though 16GB is recommended) and at least 50GB of free storage space.

What is a Dev Drive?

Before we get started, you might be wondering what a Dev Drive even is. Basically, it’s a storage volume that’s based on the Resilient File System (ReFS) with some file system optimizations, but also special settings to enhance performance. A Dev Drive is seen as a trusted drive by Microsoft Defender, and this enables a new performance mode that lessens the impact of antivirus protection on performance. Because of that, Dev Drives can deliver up to 30% faster performance for file I/O scenarios.

You could technically get some similar performance benefits by creating file and folder exclusions for Microsoft Defender, but Microsoft says this method is better for security.

How to set up a Dev Drive

Setting up a Dev Drive is relatively easy, provided you meet the minimum requirements. You can do it either by creating a virtual hard drive (VHD) or partitioning your existing drive.

  1. Open the Settings app.
  2. Choose Storage.
    Screenshot of the System section in the Windows 11 Settings app. The storage button is highlighted.
  3. Expand the Advanced storage settings area and click Disks and Volumes.
    Screenshot of the Storage section in the Windows 11 Settings app. The Disk & volumes button is highlighted
  4. Choose Create a Dev Drive.
    Screenshot of the Disks & volumes page in the Windows 11 Settings app. The button to create a Dev Drive is highlighted
  5. You’ll be given two options: Create new VHD or Resize an existing volume. Choose an option and click Next.
  6. If you already have unallocated space on a drive on your PC, you can create a Dev Drive on it directly from the Disks & Volumes page.

And that’s it, you now have a Dev Drive for storing all your development-related files and accessing them more quickly. One thing to note is that this kind of drive isn’t meant to store your IDE, like Visual Studio, or other developer tools. It’s specifically meant for project files and packages. It’s also worth noting that you can’t convert an existing volume to a Dev Drive. You always have to create a new drive if you want to enjoy the benefits of this approach.

Dev Drives are currently one of the many Windows 11 features available in preview, but it should become available to everyone in the future. While it helps with development, you may also want to check out the best laptops for developers if you’re in need of more performance.