Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 39 additions & 7 deletions 1. NVMe Performance Enable/enable-nvme.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Write-Host "✓ Running as Administrator" -ForegroundColor Green
Write-Host ""

# Step 1: Create System Restore Point
Write-Host "[STEP 1/6] Creating System Restore Point..." -ForegroundColor Yellow
Write-Host "[STEP 1/8] Creating System Restore Point..." -ForegroundColor Yellow
try {
Checkpoint-Computer -Description "NVMe-Before-Registry-Changes" -RestorePointType "MODIFY_SETTINGS" -ErrorAction Stop
Write-Host "✓ Restore Point Created Successfully" -ForegroundColor Green
Expand All @@ -37,7 +37,7 @@ try {
Write-Host ""

# Step 2: Add Registry Entry 1 (Official - Microsoft Server 2025)
Write-Host "[STEP 2/6] Adding Class ID 1176759950 (Microsoft Official)..." -ForegroundColor Yellow
Write-Host "[STEP 2/8] Adding Class ID 1176759950 (Microsoft Official)..." -ForegroundColor Yellow
Write-Host " Source: Microsoft Tech Community (Official)" -ForegroundColor Gray
Write-Host " Purpose: Primary Native NVMe feature (Windows Server 2025)" -ForegroundColor Gray
try {
Expand All @@ -52,7 +52,7 @@ try {
Write-Host ""

# Step 3: Add Registry Entry 2 (Community - Windows 11)
Write-Host "[STEP 3/6] Adding Class ID 1853569164 (Community-Discovered)..." -ForegroundColor Yellow
Write-Host "[STEP 3/8] Adding Class ID 1853569164 (Community-Discovered)..." -ForegroundColor Yellow
Write-Host " Source: Windows Forums, Reddit, TechPowerUp (Unsupported)" -ForegroundColor Gray
Write-Host " Purpose: NVMe Enhancement Component 1 (Windows 11 25H2)" -ForegroundColor Gray
try {
Expand All @@ -67,7 +67,7 @@ try {
Write-Host ""

# Step 4: Add Registry Entry 3 (Community - Windows 11)
Write-Host "[STEP 4/6] Adding Class ID 156965516 (Community-Discovered)..." -ForegroundColor Yellow
Write-Host "[STEP 4/8] Adding Class ID 156965516 (Community-Discovered)..." -ForegroundColor Yellow
Write-Host " Source: Deskmodder, Heise, Windows Forums (Unsupported)" -ForegroundColor Gray
Write-Host " Purpose: NVMe Enhancement Component 2 (Windows 11 25H2)" -ForegroundColor Gray
try {
Expand All @@ -82,7 +82,7 @@ try {
Write-Host ""

# Step 5: Add Registry Entry 4 (Community - Windows 11)
Write-Host "[STEP 5/6] Adding Class ID 735209102 (Community-Discovered)..." -ForegroundColor Yellow
Write-Host "[STEP 5/8] Adding Class ID 735209102 (Community-Discovered)..." -ForegroundColor Yellow
Write-Host " Source: PC Gamer, Tom's Hardware, NotebookCheck, VideoCardz (Unsupported)" -ForegroundColor Gray
Write-Host " Purpose: NVMe Enhancement Component 3 - KEY (Windows 11 25H2)" -ForegroundColor Gray
try {
Expand All @@ -96,8 +96,38 @@ try {

Write-Host ""

# Step 6: Summary and Restart Prompt
Write-Host "[STEP 6/6] Verification and Restart" -ForegroundColor Yellow
# Step 6: Add Registry Entry 5 (Community - Windows 11)
Write-Host "[STEP 6/8] Adding Class ID 3244671118 (Community-Discovered)..." -ForegroundColor Yellow
Write-Host " Source: HotHardware, Tom's Hardware (Unsupported)" -ForegroundColor Gray
Write-Host " Purpose: Community-discovered newer Windows 11 client flag" -ForegroundColor Gray
try {
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Policies\Microsoft\FeatureManagement\Overrides" /v 3244671118 /t REG_DWORD /d 1 /f | Out-Null
Write-Host "✓ Class ID 3244671118 added successfully" -ForegroundColor Green
} catch {
Write-Host "✗ Failed to add Class ID 3244671118" -ForegroundColor Red
Write-Host " Error: $_" -ForegroundColor Red
Exit 1
}

Write-Host ""

# Step 7: Add Registry Entry 6 (Community - Windows 11)
Write-Host "[STEP 7/8] Adding Class ID 1409234060 (Community-Discovered)..." -ForegroundColor Yellow
Write-Host " Source: HotHardware, Tom's Hardware (Unsupported)" -ForegroundColor Gray
Write-Host " Purpose: Community-discovered newer Windows 11 client enable flag" -ForegroundColor Gray
try {
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Policies\Microsoft\FeatureManagement\Overrides" /v 1409234060 /t REG_DWORD /d 1 /f | Out-Null
Write-Host "✓ Class ID 1409234060 added successfully" -ForegroundColor Green
} catch {
Write-Host "✗ Failed to add Class ID 1409234060" -ForegroundColor Red
Write-Host " Error: $_" -ForegroundColor Red
Exit 1
}

Write-Host ""

# Step 8: Summary and Restart Prompt
Write-Host "[STEP 8/8] Verification and Restart" -ForegroundColor Yellow
Write-Host ""
Write-Host "========================================" -ForegroundColor Green
Write-Host "✓ ALL REGISTRY ENTRIES ADDED" -ForegroundColor Green
Expand All @@ -109,6 +139,8 @@ Write-Host " • Class ID 1176759950: Added ✓ (Microsoft Official)" -Foregrou
Write-Host " • Class ID 1853569164: Added ✓ (Community)" -ForegroundColor Green
Write-Host " • Class ID 156965516: Added ✓ (Community)" -ForegroundColor Green
Write-Host " • Class ID 735209102: Added ✓ (Community)" -ForegroundColor Green
Write-Host " • Class ID 3244671118: Added ✓ (Community)" -ForegroundColor Green
Write-Host " • Class ID 1409234060: Added ✓ (Community)" -ForegroundColor Green
Write-Host ""
Write-Host "⚠ IMPORTANT: You MUST restart your system for changes to take effect!" -ForegroundColor Yellow
Write-Host ""
Expand Down
4 changes: 4 additions & 0 deletions 1. NVMe Performance Enable/enable-nvme.reg
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@ Windows Registry Editor Version 5.00
; Class ID 1853569164: Community-discovered (Windows 11 25H2)
; Class ID 156965516: Community-discovered (Windows 11 25H2)
; Class ID 735209102: Community-discovered (Windows 11 25H2)
; Class ID 3244671118: Community-discovered (newer Windows 11 25H2)
; Class ID 1409234060: Community-discovered (newer Windows 11 25H2)

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Policies\Microsoft\FeatureManagement\Overrides]
"1176759950"=dword:00000001
"1853569164"=dword:00000001
"156965516"=dword:00000001
"735209102"=dword:00000001
"3244671118"=dword:00000001
"1409234060"=dword:00000001
34 changes: 28 additions & 6 deletions 2. NVMe Performance Disable/disable-nvme.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if ($confirmation -ne "Y" -and $confirmation -ne "y") {
Write-Host ""

# Step 1: Remove Registry Entry 1
Write-Host "[STEP 1/5] Removing Class ID 1176759950..." -ForegroundColor Yellow
Write-Host "[STEP 1/7] Removing Class ID 1176759950..." -ForegroundColor Yellow
try {
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Policies\Microsoft\FeatureManagement\Overrides" /v 1176759950 /f 2>$null | Out-Null
Write-Host "✓ Class ID 1176759950 removed" -ForegroundColor Green
Expand All @@ -38,7 +38,7 @@ try {
Write-Host ""

# Step 2: Remove Registry Entry 2
Write-Host "[STEP 2/5] Removing Class ID 1853569164..." -ForegroundColor Yellow
Write-Host "[STEP 2/7] Removing Class ID 1853569164..." -ForegroundColor Yellow
try {
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Policies\Microsoft\FeatureManagement\Overrides" /v 1853569164 /f 2>$null | Out-Null
Write-Host "✓ Class ID 1853569164 removed" -ForegroundColor Green
Expand All @@ -49,7 +49,7 @@ try {
Write-Host ""

# Step 3: Remove Registry Entry 3
Write-Host "[STEP 3/5] Removing Class ID 156965516..." -ForegroundColor Yellow
Write-Host "[STEP 3/7] Removing Class ID 156965516..." -ForegroundColor Yellow
try {
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Policies\Microsoft\FeatureManagement\Overrides" /v 156965516 /f 2>$null | Out-Null
Write-Host "✓ Class ID 156965516 removed" -ForegroundColor Green
Expand All @@ -60,7 +60,7 @@ try {
Write-Host ""

# Step 4: Remove Registry Entry 4
Write-Host "[STEP 4/5] Removing Class ID 735209102..." -ForegroundColor Yellow
Write-Host "[STEP 4/7] Removing Class ID 735209102..." -ForegroundColor Yellow
try {
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Policies\Microsoft\FeatureManagement\Overrides" /v 735209102 /f 2>$null | Out-Null
Write-Host "✓ Class ID 735209102 removed" -ForegroundColor Green
Expand All @@ -70,8 +70,30 @@ try {

Write-Host ""

# Step 5: Summary and Restart
Write-Host "[STEP 5/5] Completion" -ForegroundColor Yellow
# Step 5: Remove Registry Entry 5
Write-Host "[STEP 5/7] Removing Class ID 3244671118..." -ForegroundColor Yellow
try {
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Policies\Microsoft\FeatureManagement\Overrides" /v 3244671118 /f 2>$null | Out-Null
Write-Host "✓ Class ID 3244671118 removed" -ForegroundColor Green
} catch {
Write-Host "⚠ Class ID 3244671118 not found or already removed" -ForegroundColor Yellow
}

Write-Host ""

# Step 6: Remove Registry Entry 6
Write-Host "[STEP 6/7] Removing Class ID 1409234060..." -ForegroundColor Yellow
try {
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Policies\Microsoft\FeatureManagement\Overrides" /v 1409234060 /f 2>$null | Out-Null
Write-Host "✓ Class ID 1409234060 removed" -ForegroundColor Green
} catch {
Write-Host "⚠ Class ID 1409234060 not found or already removed" -ForegroundColor Yellow
}

Write-Host ""

# Step 7: Summary and Restart
Write-Host "[STEP 7/7] Completion" -ForegroundColor Yellow
Write-Host ""
Write-Host "========================================" -ForegroundColor Green
Write-Host "✓ ALL REGISTRY ENTRIES REMOVED" -ForegroundColor Green
Expand Down
2 changes: 2 additions & 0 deletions 2. NVMe Performance Disable/disable-nvme.reg
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ Windows Registry Editor Version 5.00
"1853569164"=-
"156965516"=-
"735209102"=-
"3244671118"=-
"1409234060"=-
Loading