Windows Server 2025 - NVMe Configuration for DELL PowerEdge R770 server
Revolutionary Native NVMe Support
Windows Server 2025 introduces revolutionary Native NVMe support, which eliminates a 14-year reliance on SCSI emulation and provides direct access to NVMe capabilities.
In April 2024, Microsoft introduced the Windows Server 2025 roadmap, describing NVMe support for the OS and detailing a significant performance increase compared to Windows Server 2022. The company promised a massive 70% IOPS performance boost (input/output per second) thanks to the new optimized feature.
In December 2025, Microsoft confirmed that this feature had recently been implemented in Windows Server 2025 and received general availability status. The company confirmed that the recent October 2025 Patch Tuesday update for Server 2025 ( KB5066835 ) adds built-in NVMe support, although it is currently available on an opt-in basis, meaning administrators will need to enable it manually, as it will not be enabled by default.
Microsoft now claims an approximately 80% performance increase in IOPS, which is 10 percentage points higher than previously promised. This indicates that further optimizations have helped improve performance even further. In addition, it promises to save approximately 45% of CPU cycles per I/O operation during random 4K file reads on NTFS volumes.
If you're interested, Windows Server 2025 no longer recognizes all storage devices as SCSI (Small Computer System Interface) by default, a standard originally designed for spinning disks such as hard drives.
Microsoft highlighted all the improvements provided by the new built-in NVMe support for solid-state drives:
-
Significant IOPS increase: direct access to NVMe devices through multiple queues finally allows you to reach the true limits of your hardware's capabilities.
-
Reduced latency: Traditional SCSI-based stacks rely on shared locks and synchronization mechanisms in the kernel I/O path to manage resources. Built-in NVMe provides optimized lock-free I/O paths, which significantly reduces the execution time of each operation.
-
CPU efficiency: a more compact and optimized architecture frees up computing resources for your workloads rather than storage overhead.
-
Future-oriented features: Built-in support for advanced NVMe capabilities, such as multi-queue processing and direct data submission, ensures your readiness for next-generation storage innovations.
Key Performance Improvements
Test Results from Microsoft:
- Up to 80% increase in IOPS on 4K random read workloads
- Up to 45% reduction in CPU usage per I/O operation
- Elimination of latency from the SCSI translation layer
- Multi-queue support of up to 64,000 queues instead of 1 SCSI queue

Requirements for Native NVMe
System Requirements
| Requirement | Details |
|---|---|
| Operating system | Windows Server 2025 + KB5066835 (October 2025 update or later) |
| Driver | Microsoft StorNVMe.sys (standard Windows NVMe driver) |
| Hardware | NVMe SSD (PCIe Gen3/4/5) |
| Recommended | PCIe Gen5 NVMe for maximum performance |
IMPORTANT: If vendor-specific drivers (Samsung, Intel/Solidigm) are used, Native NVMe WILL NOT work. The standard Microsoft driver is required.
Step-by-Step Instructions for Enabling Native NVMe
Method 1: Registry (For Standalone Servers)
Step 1: Install Updates
# Make sure KB5066835 or later is installed
Get-HotFix | Where-Object {$_.HotFixID -eq "KB5066835"}
Step 2: Check the Current Driver
# Check that the Microsoft NVMe driver is being used
Get-PnpDevice -Class "DiskDrive" | Get-PnpDeviceProperty -KeyName DEVPKEY_Device_DriverProvider
Step 3: Enable Native NVMe via the Registry
# Open PowerShell as an administrator and run:
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Policies\Microsoft\FeatureManagement\Overrides /v 1176759950 /t REG_DWORD /d 1 /f
Step 4: Restart
Restart-Computer -Force
Method 2: Group Policy (For Multiple Servers)
Step 1: Download the Group Policy MSI
- Download the Group Policy MSI from Microsoft
- Install it on the domain controller
Step 2: Configure the GPO
- Open the Group Policy Management Console (gpmc.msc)
- Create a new GPO or modify an existing one
- Navigate to:
Local Computer Policy > Computer Configuration > Administrative Templates > KB5066835 251014_21251 Feature Preview > Windows 11, version 24H2, 25H2 - Enable the policy for Native NVMe support
- Apply the GPO to the desired servers
Step 3: Update Group Policy
gpupdate /force
Restart-Computer -Force
Verifying Successful Enablement
Method 1: Device Manager
- Open Device Manager (devmgmt.msc)
- Find the "Storage disks" or "Disk drives" section
- NVMe devices should be explicitly shown under this section
- Check the driver properties - it should be StorNVMe.sys
Method 2: PowerShell Verification
# Check NVMe devices
Get-PnpDevice -Class "DiskDrive" | Where-Object {$_.FriendlyName -like "*NVMe*"}
# Check driver details
Get-PnpDevice -Class "DiskDrive" | Get-PnpDeviceProperty -KeyName DEVPKEY_Device_DriverVersion
# Check that the new stack is being used
Get-StorageSubSystem | Select-Object FriendlyName, HealthStatus, Model
Method 3: Performance Monitor
Set Up IOPS Monitoring:
- Open Performance Monitor (perfmon.msc)
- Add a counter: Physical Disk > Disk Transfers/sec
- Select the corresponding NVMe disk
- Start monitoring
Performance Testing
Using DiskSpd for Benchmarking
Installing DiskSpd:
# Download DiskSpd from Microsoft
# https://github.com/Microsoft/diskspd
Baseline Test (4K Random Read):
# Test used by Microsoft to demonstrate the 80% gain
diskspd.exe -b4k -r -Su -t8 -L -o32 -W10 -d30 C:\testfile.dat
Test parameters:
-
-b4k- Block size 4KB -
-r- Random I/O -
-Su- Disable software caching -
-t8- 8 threads -
-L- Measure latency -
-o32- Outstanding I/O operations 32 -
-W10- Warmup 10 seconds -
-d30- Duration 30 seconds
Advanced Tests:
# Sequential Read Test
diskspd.exe -b128k -d60 -Sh -L -o32 -t4 -r -w0 C:\testfile.dat
# Sequential Write Test
diskspd.exe -b128k -d60 -Sh -L -o32 -t4 -r -w100 C:\testfile.dat
# Mixed Read/Write (70% read, 30% write)
diskspd.exe -b4k -d60 -Sh -L -o32 -t8 -r -w30 C:\testfile.dat
Configuration Optimization for Various Workloads
1. SQL Server and OLTP Databases
Recommended Settings:
# Configure MPIO for multi-path I/O (if applicable)
Enable-WindowsOptionalFeature -Online -FeatureName "MultiPathIO" -All
# Optimize queue depth for SQL
# Use Device Manager > NVMe Properties > Advanced
SQL Server Specific:
-- Check latency in SQL Server
SELECT
database_name,
file_id,
io_stall_read_ms,
io_stall_write_ms,
num_of_reads,
num_of_writes
FROM sys.dm_io_virtual_file_stats(NULL, NULL) AS divfs
2. Hyper-V and Virtualization
NVMe for VM Storage:
# Create a VM with NVMe storage for maximum performance
New-VM -Name "VM1" -MemoryStartupBytes 8GB -Generation 2
# Add an NVMe disk
New-VHD -Path "D:\VMs\VM1\disk.vhdx" -SizeBytes 500GB -Dynamic
Add-VMHardDiskDrive -VMName "VM1" -Path "D:\VMs\VM1\disk.vhdx"
# Enable Storage QoS to control IOPS
Set-VMHardDiskDrive -VMName "VM1" -MinimumIOPS 100 -MaximumIOPS 10000
3. Storage Spaces Direct (S2D)
Configuration for S2D Campus Cluster:
Requirements:
- All-flash storage (NVMe or SSD only)
- Inter-rack latency ≤ 1ms
- RDMA networking recommended
- Windows Server 2025 native NVMe support
Configuration:
# Enable Storage Spaces Direct
Enable-ClusterStorageSpacesDirect -PoolFriendlyName "S2D Pool" -CacheState Enabled
# Create a volume optimized for NVMe
New-Volume -FriendlyName "Volume1" -FileSystem CSVFS_ReFS -StoragePoolFriendlyName "S2D Pool" -Size 1TB -ResiliencySettingName Mirror
# Check health
Get-StoragePool | Get-PhysicalDisk
4. File Server and SMB
Optimization for File Serving:
# Enable SMB Direct (RDMA) for low latency
Set-SmbServerConfiguration -EnableSMBQUIC $true
# Configure SMB Multichannel
Set-SmbClientConfiguration -EnableMultiChannel $true
# Optimize SMB for NVMe
Set-SmbServerConfiguration -MaxThreadsPerQueue 256
Advanced Configuration Settings
Registry Tweaks for Performance
# Optimize NTFS for NVMe
# Disable Last Access Time (reduces write operations)
fsutil behavior set disablelastaccess 1
# Increase NTFS memory usage for cache
fsutil behavior set memoryusage 2
# Configure MPIO recovery interval (if used)
reg add "HKLM\SYSTEM\CurrentControlSet\Services\mpio\Parameters" /v PathRecoveryInterval /t REG_DWORD /d 30 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Services\mpio\Parameters" /v UseCustomPathRecoveryInterval /t REG_DWORD /d 1 /f
Power Management Optimization
# Configure the power plan for maximum performance
powercfg /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
# Disable power saving for NVMe devices
# Device Manager > NVMe Controller > Properties > Power Management
# Uncheck "Allow the computer to turn off this device to save power"
Write Cache Optimization
# Enable write caching (if safe with UPS/battery backup)
# Use only with proper power protection!
# PowerShell command to enable write caching
$disks = Get-PhysicalDisk | Where-Object {$_.BusType -eq "NVMe"}
foreach ($disk in $disks) {
Set-PhysicalDisk -UniqueId $disk.UniqueId -Usage AutoSelect
}
Monitoring and Troubleshooting
Performance Monitoring Setup
Create a Custom Data Collector Set:
# Create a performance baseline
$counterSets = @(
"\PhysicalDisk(*)\Disk Read Bytes/sec",
"\PhysicalDisk(*)\Disk Write Bytes/sec",
"\PhysicalDisk(*)\Disk Reads/sec",
"\PhysicalDisk(*)\Disk Writes/sec",
"\PhysicalDisk(*)\Avg. Disk sec/Read",
"\PhysicalDisk(*)\Avg. Disk sec/Write",
"\PhysicalDisk(*)\Current Disk Queue Length",
"\Processor(*)\% Processor Time",
"\Memory\Available MBytes"
)
# Create a data collector set
$collectorSet = New-Object -COM Pla.DataCollectorSet
$collectorSet.DisplayName = "NVMe Performance Monitor"
$collectorSet.Duration = 3600 # 1 hour
$collectorSet.SchedulesEnabled = $true
Windows Admin Center Monitoring
- Open Windows Admin Center
- Connect to the server
- Navigate to the Storage section
- Monitor:
- IOPS (reads/writes)
- Throughput (MB/s)
- Latency (ms)
- Queue depth
Troubleshooting Common Issues
Problem 1: Native NVMe is not activated
# Check that the Microsoft driver is being used
Get-PnpDevice -Class "DiskDrive" | Get-PnpDeviceProperty | Where-Object {$_.KeyName -like "*Driver*"}
# If a vendor driver is being used, switch to the Microsoft driver:
# Device Manager > NVMe Controller > Update Driver > Browse > Let me pick > Standard NVMe Driver
Problem 2: Performance has not improved
# Check that the registry key is set correctly
Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Policies\Microsoft\FeatureManagement\Overrides" -Name "1176759950"
# Check Event Viewer for errors
Get-EventLog -LogName System -Source "stornvme" -Newest 50
Problem 3: Compatibility Issues
- Some consumer-grade NVMe drives may show reduced performance
- PCIe Gen5 drives show the greatest gain
- Older NVMe (Gen3) may show a smaller improvement
Best Practices and Recommendations
Do's (Recommended):
- Test in a lab environment first before production deployment
- Create a full backup before enabling Native NVMe
- Monitor performance before and after to measure real gains
- Use enterprise-grade NVMe for critical applications
- Update NVMe drive firmware to the latest versions
- Check compatibility with vendor-specific drivers
Don'ts (Not Recommended):
- Do not enable on production without testing
- Do not use with vendor-specific drivers (it will not work)
- Do not expect gains on older hardware (PCIe Gen3/4)
- Do not disable unnecessarily after successful enablement
- Do not forget about UPS if aggressive write caching is enabled
Expected Results by Workload Type
SQL Server / OLTP
- Transaction throughput: +40-60% increase
- Query latency: -30-50% reduction
- CPU overhead: -40-45% on I/O operations
Hyper-V VMs
- VM IOPS: +60-80% improvement
- VM boot time: -20-30% faster
- Storage latency: -40-50% less
File Server / SMB
- Throughput: +50-70% on sequential workloads
- IOPS: +70-80% on random workloads
- Concurrent users: +30-50% more supported users
Storage Spaces Direct
- Cluster performance: +60-75% IOPS
- Rebuild speed: +40-50% faster
- Resync operations: -30-40% time
Conclusion
Native NVMe support in Windows Server 2025 is a fundamental improvement to the storage stack, eliminating 14-year-old SCSI emulation limitations.
Key Benefits:
- Up to 80% increase in IOPS for enterprise workloads
- Up to 45% reduction in CPU overhead for storage operations
- Significant reduction in latency for all I/O types
- Multi-queue architecture utilizes the full potential of NVMe
- Future-proof for next-generation NVMe hardware
Deployment Recommendations:
- Start with a non-production environment for testing
- Measure the baseline performance before enabling
- Gradually roll out to production servers
- Monitor closely for the first few days
- Use Windows Admin Center for centralized monitoring
This improvement is especially valuable for organizations with I/O-intensive workloads such as databases, virtualization platforms, and high-performance file services.