mirror of
https://github.com/theitaliandeveloper/WindowsPPKGOptimizer.git
synced 2025-10-01 22:50:47 +00:00
3 lines
446 B
Batchfile
3 lines
446 B
Batchfile
@echo off
|
|
powershell -Command "Get-ChildItem 'HKLM:\SYSTEM\CurrentControlSet\Services' | Where-Object { $_.Name -notmatch 'Xbl|Xbox' } | Foreach-Object { if ($null -ne (Get-ItemProperty -Path """Registry::$_""" -EA 0).Start) { Set-ItemProperty -Path """Registry::$_""" -Name 'SvcHostSplitDisable' -Type DWORD -Value 1 -Force -EA 0 } }"
|
|
reg add "HKLM\SYSTEM\CurrentControlSet\Control" /v "SvcHostSplitThresholdInKB" /t REG_DWORD /d "4294967295" /f |