How To

Dev Drive vs NTFS on Windows 11: Where the Speed Comes From

Microsoft sells Dev Drive with “up to 30% better performance for overall build times”, and few people repeating it ask what the baseline was. It was a stock Windows 11 22H2 laptop with Defender scanning every file synchronously, so the figure blends a new file system with a new scan mode.

Original content from computingforgeeks.com - post 198760

That matters when you’re deciding whether to carve a ReFS volume out of your SSD. We pulled the published Dev Drive vs NTFS numbers apart to see how much comes from ReFS and how much from Defender. We checked every command against the Microsoft documentation in December 2026, with Windows 11 25H2 and 26H2 in service.

What is a Dev Drive, and how is it different from NTFS?

A Dev Drive is a ReFS volume that Windows flags as trusted when it is formatted, and that flag is what changes antivirus behaviour. The official Dev Drive documentation describes it as building “on ReFS technology to employ targeted file system optimizations” while giving you control over trust, antivirus and which file system filters attach. An ordinary NTFS data volume gets none of those controls.

Three things separate the two volumes in practice. The table below lines them up so the later benchmark numbers make sense, because each row is a separate reason a build can run faster.

PropertyNTFS data volumeDev Drive
File systemNTFSReFS
Defender scan on file openSynchronous: open now, scan nowAsynchronous on a trusted volume: open now, scan later
File system filtersEvery installed filter attachesAll off except antivirus, unless you allow more
Block cloning for copiesNoYes, from Windows 11 24H2 and Windows Server 2025
Can be the C: driveYesNo
Converting an existing volumeNot applicableImpossible: the designation is set only at format time

The last row catches people out. You cannot flip an existing D: drive into a Dev Drive, so moving to one means freeing space, formatting a fresh volume and copying your repositories across. When Balliauw did this, a 418,900-item source folder took about 15 minutes to land on his Dev Drive. For a copy that size, Robocopy with its mirror and multithread flags is the safer tool, because a scripted copy can be rerun when it stops halfway and only moves what is missing.

What does Microsoft’s “up to 30%” claim actually compare?

The 30% figure compares a Dev Drive with performance mode against default Windows 11 22H2 with normal Defender real-time scanning, not ReFS against NTFS on equal terms. It comes from the Windows Developer Blog announcement of June 2023, which ran its tests on a Surface Laptop 4 and published the per-scenario results only as a chart.

Microsoft has published three different headline figures across its own blogs, and each one measured a different mix of work. None of them compares ReFS and NTFS with the same Defender setting, so none can tell you what the file system alone is worth. Reading them side by side shows how wide the range really is.

Microsoft sourceWorkloadsClaim
Windows Developer Blog, June 2023Orchard Core .NET build, django tests, Spring Framework Gradle build, Node repo git cloneUp to 30% better overall build times
Visual Studio Blog, May 2023Clone, build, file copy, package restoreAverage improvement of around 25%
Microsoft for Java Developers, February 2024Full builds by internal Microsoft teams14% to 28% faster full builds

The Windows blog adds the most useful sentence of the lot: “Scenarios that are more file io heavy benefit the most.” A Gradle or MSBuild compile that spends most of its time in the compiler sits at the low end of the range, while a git clone or a package restore that creates thousands of tiny files sits at the top. “Up to” is doing a lot of work in that headline.

What do independent Dev Drive vs NTFS tests show?

Independent tests show bigger gains than the Microsoft average on small-file work and smaller gains once a compiler or an IDE dominates the run. The most careful public comparison is Maarten Balliauw’s Dev Drive test drive for .NET, which he calls unscientific himself, and a smaller file churn test in the PaloMiklo Windows 11 Dev Drive setup notes. We worked out the percentage column from their raw figures.

Test (source)NTFSDev DriveChange
dotnet restore, project 1 of 4 (Balliauw)846 ms434 ms48.7% faster
dotnet restore, project 2 of 4 (Balliauw)871 ms434 ms50.2% faster
dotnet restore, project 3 of 4 (Balliauw)1.39 s740 ms46.8% faster
dotnet restore, project 4 of 4 (Balliauw)1.29 s730 ms43.4% faster
22-project clean rebuild in Rider, average (Balliauw)32.41 s19.8 s38.9% faster
8,000 files of 2 KB, write, read, delete (PaloMiklo)19,901 ms12,028 ms39.6% faster
Gradle clean build, small Kotlin project (Balliauw)13.45 s10.2 s24.2% faster
Open 38-project solution in Rider (Balliauw)about 67 sabout 58 s13.4% faster
Rider start to welcome screen (Balliauw)about 6.5 sabout 6.5 sNo change

Laid out this way, the pattern is hard to miss. Package restore and file churn land at about 40% to 50%, a full rebuild just under 40%, a Gradle build around a quarter, and IDE startup does not move at all. The 25% to 30% from Microsoft is roughly what you would get by averaging a mix of these, which is what the Visual Studio post did.

Treat the table as a direction, not a forecast for your machine. Balliauw timed the Rider rows with a stopwatch, PaloMiklo averaged two runs, and neither published variance, so a few points either way could be noise. The Microsoft Java team saw a Spring PetClinic package drop from “just over 2 minutes” to 45 seconds, but that was a single run and the author warns that results vary.

Is it ReFS or Defender that makes Dev Drive faster?

The one public control run suggests most of the speedup comes from the Defender performance mode, not from ReFS itself. That evidence is a column Balliauw added for fun: the same Rider workload on plain NTFS with Defender real-time protection switched off. It covers only his IDE test, where the IDE and its caches moved too. That run finished in about 59 seconds, one second behind the Dev Drive and eight seconds ahead of NTFS with Defender on.

Rider workload (Balliauw)NTFS, Defender real-timeDev Drive, performance modeNTFS, Defender off
Start IDE to welcome screenabout 6.5 sabout 6.5 sabout 6.0 s
Open solution, restore packages, re-indexabout 1 m 07 sabout 58 sabout 59 s

The performance mode documentation explains why. With the mode off, a file open waits for the scan (“open now, scan now”). With it on, the open returns and the scan runs afterwards (“open now, scan later”). Every one of the thousands of small files an npm install writes pays that wait on NTFS, which is why file-heavy jobs gain most.

ReFS still contributes something. Block cloning lets a copy share data blocks instead of duplicating them, and the Visual Studio team pushes the MSBuild CopyOnWrite SDK to use it. Balliauw tried that SDK on several solutions and saw clean builds improve by no more than a few milliseconds, so do not expect cloning to rescue a build that is already compiler bound.

When we line the evidence up, each part of a Dev Drive maps to a different kind of work:

  • Deferred Defender scans cut the wait on every file open, so restores, clones and file churn gain the most.
  • Block cloning speeds up file copies within the volume, which helps build output steps on recent releases.
  • The trimmed filter stack removes overhead from extra minifilters, which matters most on machines with many agents installed.
  • Compiler and IDE CPU time is untouched, so compute-heavy builds show the smallest change.

So the honest summary of Dev Drive vs NTFS is that you are mostly buying a safe way to defer antivirus scans on one volume. That beats the old habit of folder exclusions, which the Defender docs point out “block security scans altogether”, because files on a Dev Drive still get scanned, just not on the critical path.

Which setups get little or nothing from a Dev Drive?

Several common setups see almost none of the gain, and the Microsoft pages say so in the limitations and FAQ sections. Check yours against this list before reformatting anything:

  • Machines running a third-party antivirus get no performance mode, because Microsoft says it applies only when Defender is the active antivirus.
  • WSL distributions reading a Dev Drive see no speedup, per the Dev Drive FAQ, and the WSL metadata mount option is not supported on ReFS. Our WSL commands reference covers how to back up, clone and move a distro to another NTFS volume.
  • Repositories already covered by a Defender folder exclusion were never paying the scan cost, so moving them changes little apart from the ReFS layer.
  • An untrusted Dev Drive, such as a VHD copied from another machine, falls back to synchronous real-time scanning until you trust it again.
  • A Dev Drive inside a VHD is “slightly lower” in performance than one on a partition, according to the setup guide.
  • OneDrive folders can’t live there: Balliauw moved his D: drive back to NTFS after OneDrive refused the ReFS volume.

The third point is the one most teams forget. If your IT policy already excludes C:\src from scanning, a Dev Drive is mostly a security upgrade for you rather than a speed upgrade, since it brings scanning back without the old penalty. That is still worth having, because an excluded build folder is exactly where a poisoned npm package would sit unscanned. Just set expectations with the team before anyone promises a 30% faster pipeline.

How do you create a Dev Drive on Windows 11?

You create one in Settings under System, Storage, Advanced storage settings, Disks & volumes, then Create dev drive. The wizard offers three sources: a new VHD, shrinking an existing volume, or unallocated space. Before you start, we suggest ticking off the requirements Microsoft lists:

  • The Windows 11 build is 10.0.22621.2338 or later, which winver shows.
  • At least 50 GB of free or unallocated space is available for the new volume.
  • Your account has local administrator rights on the machine.
  • The machine has 16 GB of RAM, or 8 GB at minimum, since ReFS uses slightly more memory than NTFS.

When a volume already exists and holds nothing you need, formatting it from an elevated terminal is quicker than the wizard. This wipes the volume, so confirm the drive letter first. The PowerShell form from the Microsoft guide is:

Format-Volume -DriveLetter D -DevDrive

From a classic Command Prompt, the same quick format uses the /DevDrv switch:

Format D: /DevDrv /Q

We would pick a partition over a VHD whenever the free space exists, because the partition skips the virtual disk layer. If you go the VHD route, Microsoft recommends a dynamically expanding VHDX, which tops out at 64 TB and survives power loss better than the older VHD format.

Keep your compilers and SDKs on C: as well, since the guide advises against installing applications on a Dev Drive. Installing them with winget keeps them on C: unless you override the install location.

How do you confirm trust and Defender performance mode?

You confirm both with fsutil and the Defender PowerShell cmdlets, and you should, because an untrusted volume quietly loses the whole speed advantage. A freshly formatted Dev Drive is trusted automatically, but a VHD moved from another machine is not. Query the volume from an elevated prompt:

fsutil devdrv query D:

If it reports the volume as untrusted, Defender is scanning it synchronously like any NTFS disk. Microsoft asks for caution when trusting a volume after its creation. It also advises against carrying a Dev Drive VHD to another machine. Only trust a volume whose origin you know:

fsutil devdrv trust D:

Performance mode also needs Defender platform 4.18.2303.8 or later and security intelligence 1.385.1455.0 or later. Both version strings show up in the Defender status output:

Get-MpComputerStatus | Select-Object AMProductVersion, AntivirusSignatureVersion, RealTimeProtectionEnabled

Then turn performance mode on and read the setting back. Watch the value here: Get-MpPreference reports 1 when performance mode is enabled and 0 when it is disabled, which is the reverse of the Intune setting values.

Set-MpPreference -PerformanceModeStatus Enabled
Get-MpPreference | Select-Object PerformanceModeStatus

For a per-volume view, open Windows Security, go to Virus & threat protection settings, Manage settings, and under Dev Drive protection choose See volumes. Managed fleets set the same option through the Group Policy setting “Configure performance mode status” under Microsoft Defender Antivirus, Real-time Protection, which appears once the Windows 11 24H2 Administrative Templates are installed, or the Intune PerformanceModeStatus OMA-URI.

Should you move package caches to the Dev Drive too?

Yes, because a restore reads and writes the cache as much as the project folder, and Balliauw’s restore numbers above came with both on the Dev Drive. The Microsoft guide sets machine-wide environment variables with setx /M. Run these from an elevated prompt, adjusting the paths to your layout:

setx /M npm_config_cache D:\packages\npm
setx /M PIP_CACHE_DIR D:\packages\pip
setx /M CARGO_HOME D:\packages\cargo
setx /M GRADLE_USER_HOME D:\packages\gradle
setx /M MAVEN_OPTS "-Dmaven.repo.local=D:\packages\maven"

Open a new terminal afterwards, since setx does not touch the session you ran it in. Then ask npm where its cache lives now:

npm config get cache

NuGet is the odd one. Microsoft prefers the globalPackagesFolder setting in a NuGet config file over the NUGET_PACKAGES variable, and the variable wins when both are set. Whichever you choose, check the result with dotnet nuget locals global-packages --list.

Move existing caches across rather than letting them refill from the network, or your first restore will look slower than NTFS ever was. Our Windows CMD cheat sheet covers setx and friends if you script this.

How do you benchmark Dev Drive against NTFS on your own machine?

Benchmark it with both volumes on the same physical disk at the same size, and run each test in three Defender states so you can split the ReFS effect from the scan effect. Without that third state you end up repeating Microsoft’s comparison, which cannot tell you which half of the gain you are getting. A fair setup looks like this:

  • Both volumes sit on the same SSD, so controller and flash differences can’t skew the result.
  • The NTFS volume is tested with Defender real-time on, which is the everyday baseline most machines run.
  • The Dev Drive is tested trusted, with performance mode reading 1 in Get-MpPreference.
  • A control run on NTFS with real-time protection off isolates the scan cost, as Balliauw’s third column did.
  • Every test runs at least three times per state, with the npm cache and node_modules cleared before each cold run.

The Measure-Command cmdlet is enough for timing. Wrap the operation you care about and record TotalSeconds. A large public repository makes a good clone test because it creates tens of thousands of files:

(Measure-Command { git clone https://github.com/microsoft/vscode.git D:\src\vscode }).TotalSeconds

Repeat it with an NTFS path such as E:\src\vscode, then time a clean dependency install inside the cloned tree the same way. Your network sits in the clone time too, so compare medians across runs rather than single numbers.

Switching real-time protection off for the control run needs Tamper Protection disabled first, both under Windows Security, Virus & threat protection, Manage settings. On a managed device the organisation owns Tamper Protection, so you may not be able to run the control at all. Microsoft also notes that real-time protection turns itself back on after a while. Check that RealTimeProtectionEnabled still reads False before each control run. When the runs finish, switch both back on.

What does a sensible Dev Drive setup look like?

Putting the evidence together, a Dev Drive pays off when Defender is your antivirus and your day is full of clones, restores and rebuilds. On a fresh machine, do the post-install basics first, then work through this order:

  1. Confirm Defender is the active antivirus and real-time protection reads True in Get-MpComputerStatus.
  2. Free at least 50 GB of unallocated space on your fastest internal SSD, preferring a partition over a VHD.
  3. Create the Dev Drive in Settings or with Format-Volume -DevDrive on an empty volume.
  4. Check that fsutil devdrv query reports the volume as trusted.
  5. Enable performance mode and confirm PerformanceModeStatus reads 1.
  6. Copy repositories across with Robocopy and remove any old Defender folder exclusions that covered them.
  7. Point npm, NuGet, pip, Cargo, Maven and Gradle caches at the Dev Drive and move the existing caches.
  8. Keep SDKs, compilers, WSL distributions and OneDrive on NTFS volumes.

Step six is the one that turns a speed tweak into a security gain, because the old exclusions stop being needed once the Dev Drive defers its scans. Leave them in place and those folders stay unscanned for no benefit. If you rebuild machines often, the volume and cache steps fit neatly into a WinGet Configuration file, and the PowerShell cheat sheet has the cmdlets for wrapping the trust and Defender checks into a startup script.

Keep reading

Create a Bootable Windows 11 USB and Install Windows 11 Windows Create a Bootable Windows 11 USB and Install Windows 11 Set Up a Samba Share on Windows 11 and Access It from Linux Networking Set Up a Samba Share on Windows 11 and Access It from Linux Windows 11 Installation on KVM with Virt-Manager KVM Windows 11 Installation on KVM with Virt-Manager Install Grok Build on Windows 11 (Formerly Cursor) AI Install Grok Build on Windows 11 (Formerly Cursor) netsh Commands Cheat Sheet: Wi-Fi, Firewall, Port Proxy (PDF) Cheat Sheets netsh Commands Cheat Sheet: Wi-Fi, Firewall, Port Proxy (PDF) Enable BitLocker on Windows 11 and Back Up the Recovery Key Security Enable BitLocker on Windows 11 and Back Up the Recovery Key

Leave a Comment

Press ESC to close