diff --git a/config/tweaks.json b/config/tweaks.json index eab66cd4..6cdc0661 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -1134,6 +1134,12 @@ "OriginalType": "Manual" } ], + "InvokeScript": [ + " + $Memory = (Get-CimInstance Win32_PhysicalMemory | Measure-Object Capacity -Sum).Sum / 1KB + Set-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Control\" -Name SvcHostSplitThresholdInKB -Value $Memory + " + ], "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/services" }, "WPFTweaksBraveDebloat": { @@ -1426,9 +1432,6 @@ # Disable (Windows Error Reporting Manager) Service Set-Service -Name wermgr -StartupType Disabled - $Memory = (Get-CimInstance Win32_PhysicalMemory | Measure-Object Capacity -Sum).Sum / 1KB - Set-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Control\" -Name SvcHostSplitThresholdInKB -Value $Memory - Remove-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Siuf\\Rules\" -Name PeriodInNanoSeconds " ],