Skip to content

Search guides, tweaks, features, and FAQs.

Code ReferenceTweaks Referencez--Advanced-Tweaks---CAUTION

svchost.exe Splitting - Disable

config/tweaks.json
"WPFTweaksSvcHostSplitting": {
"Content": "svchost.exe Splitting - Disable",
"Description": "Disables service-host splitting to reduce the number of svchost.exe processes and modestly lower memory overhead. Recommended for low-performance systems with 12 GB of RAM or less. Can interfere with Xbox services. Restart Windows after changing this setting.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"InvokeScript": [
"
# A threshold above the physical memory disables svchost service splitting
$Memory = (Get-CimInstance Win32_PhysicalMemory | Measure-Object Capacity -Sum).Sum / 1KB
Set-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Control\" -Name SvcHostSplitThresholdInKB -Value $Memory -Type DWord
"
],
"UndoScript": [
"
# Windows client default (0x380000): splitting back on
Set-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Control\" -Name SvcHostSplitThresholdInKB -Value 3670016 -Type DWord -Force
"
],
}