What is a Dev Drive? A faster folder for your code on Windows
A Dev Drive is a special drive in Windows 11 that makes coding projects install and build faster. Here's what it does, who it helps, and when to skip it.
Short answer
A Dev Drive is a special drive you add in Windows 11 for your coding projects. Installs and builds usually finish faster there than on your regular C: drive.
Why it matters
When you install or build a project, your computer writes thousands of tiny files. Windows Security, the built-in antivirus, normally checks each file as it's written. That's thorough, and it's also why an install or restore can feel stuck.
On a Dev Drive, those checks still happen. They just wait until after the file is already open, instead of stopping every write. Microsoft recommends this over turning protection off for a folder.
Rough estimate, not a benchmark from this site: Microsoft has reported up to 30% better overall build times compared with Windows 11 22H2, and later measured around 25% average improvement for disk-heavy work such as cloning, building, copying files, and restoring packages. How much you notice will depend on your project and your machine.
If you build with Windows tools, this is one of the cheapest speedups you can get. If you mostly work in Windows' built-in Linux, skip to when it doesn't help.
Who it's for
It's for people who write or build code on Windows itself: Node, Python, .NET, Rust, Visual Studio, and similar tools. You don't need to be a systems expert. If someone is setting up your laptop, or you're learning to code on a Windows machine, this is the kind of change that quietly makes the slow parts less slow.
It also helps if you've been tempted to exclude a project folder from Windows Security. A Dev Drive keeps the scans on and moves them out of the way.
When it doesn't help
Windows 11 can also run Linux through WSL (Windows Subsystem for Linux) — think of it as Windows' built-in Linux. Projects that live inside WSL already have their own fast disk. A Dev Drive will not speed those up.
The rule is simple: keep Linux-side projects inside WSL (for example, in your Linux home folder). Keep Windows-side projects on the Dev Drive. You can still open Dev Drive files from Linux, but you shouldn't expect them to get faster. Microsoft says this directly in the Dev Drive FAQ.
If WSL is your whole workflow, you may not need a Dev Drive at all. If you also build .NET apps, Windows-native Node, or Visual Studio projects, it's still worth creating one for that work.
Ready to make one? Follow How to set up a Dev Drive on Windows 11.
Often confused with
- A regular drive or partition. A Dev Drive looks like another letter in File Explorer, such as D:. The difference is how it was created: it uses a different file system and a friendlier antivirus setting, and you can't turn an existing drive into one later.
- WSL. WSL is a Linux environment inside Windows. A Dev Drive is still a Windows drive. They solve different problems, and using one from the other is usually slower, not faster. See WSL.
- A cloud development environment. That's a workspace that runs on a remote machine, often in a browser or editor. A Dev Drive lives on your own PC.
Common mistakes
- Installing apps on it. Put projects and download caches on the Dev Drive. Leave apps and toolkits — Visual Studio, the .NET SDK, and similar — on C:. Microsoft does not recommend installing applications there.
- Saving the virtual disk in OneDrive. If you create the drive as a file on C:, keep that file in a normal folder, such as
C:\Users\<you>\DevDrive, not in OneDrive or another cloud-sync folder. A growing disk file and a sync tool are a poor mix. - Expecting it to speed up WSL. It won't. Keep those projects inside WSL.
- Using a third-party antivirus as your main protection. The speed boost from "check later" is a Microsoft Defender feature. You still get a Dev Drive without Defender, but not that particular speedup.
Under the hood
A Dev Drive is a storage volume formatted with ReFS (Resilient File System), not the NTFS format used by most Windows drives. You can't convert an existing volume into one. The designation happens only when the volume is first formatted.
Microsoft's prerequisites: Windows 11, build 10.0.22621.2338 or later; at least 50 GB of free space; local administrator permission; 8 GB of memory minimum, 16 GB recommended. After a Windows update, you may need one extra restart before the option appears. On a work PC, a security policy may need to be turned on first.
Most people create it as a virtual disk file. Microsoft recommends the VHDX format and a dynamically expanding disk, stored under your user folder rather than at C:\.
A new Dev Drive is marked trusted at format time. On a trusted drive, Microsoft Defender can run performance mode: file-open checks happen after the open finishes, not during it. That only applies if Defender is your main antivirus and real-time protection is on. Other drives keep their usual, immediate scanning.
WSL 2 is a different kind of virtual disk. Each Linux install keeps its files in an ext4 .vhdx file, not on the Dev Drive. When Linux reads Windows files through paths like /mnt/d, it goes through a translation layer (the 9P protocol), which is slow for lots of small files. That's why Microsoft says to store Linux project files on the Linux file system, and why a Dev Drive won't help from WSL. The WSL metadata mount option, which stores Linux permissions on Windows files, also isn't supported on ReFS.
For the click-by-click setup, see How to set up a Dev Drive on Windows 11.