mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-06-04 14:17:27 +00:00
46 lines
1.3 KiB
Markdown
46 lines
1.3 KiB
Markdown
---
|
|
title: "Services - Set to Manual"
|
|
description: ""
|
|
---
|
|
|
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=165}
|
|
"WPFTweaksServices": {
|
|
"Content": "Services - Set to Manual",
|
|
"Description": "Sets some services to Manual startup and adjusts the SvcHostSplitThresholdInKB registry value to better match system memory, which can significantly reduce the number of svchost.exe processes.",
|
|
"category": "Essential Tweaks",
|
|
"panel": "1",
|
|
"service": [
|
|
{
|
|
"Name": "CscService",
|
|
"StartupType": "Disabled",
|
|
"OriginalType": "Manual"
|
|
},
|
|
{
|
|
"Name": "DiagTrack",
|
|
"StartupType": "Disabled",
|
|
"OriginalType": "Automatic"
|
|
},
|
|
{
|
|
"Name": "MapsBroker",
|
|
"StartupType": "Manual",
|
|
"OriginalType": "Automatic"
|
|
},
|
|
{
|
|
"Name": "StorSvc",
|
|
"StartupType": "Manual",
|
|
"OriginalType": "Automatic"
|
|
},
|
|
{
|
|
"Name": "SharedAccess",
|
|
"StartupType": "Disabled",
|
|
"OriginalType": "Automatic"
|
|
}
|
|
],
|
|
"InvokeScript": [
|
|
"
|
|
$Memory = (Get-CimInstance Win32_PhysicalMemory | Measure-Object Capacity -Sum).Sum / 1KB
|
|
Set-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Control\" -Name SvcHostSplitThresholdInKB -Value $Memory
|
|
"
|
|
],
|
|
```
|