mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2026-04-23 11:30:16 +10:00
76 lines
2.0 KiB
Markdown
76 lines
2.0 KiB
Markdown
---
|
|
title: "Services - Set to Manual"
|
|
description: ""
|
|
---
|
|
|
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=175}
|
|
"WPFTweaksServices": {
|
|
"Content": "Services - Set to Manual",
|
|
"Description": "Turns a bunch of system services to manual that don't need to be running all the time. This is pretty harmless as if the service is needed, it will simply start on demand.",
|
|
"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": "RemoteAccess",
|
|
"StartupType": "Disabled",
|
|
"OriginalType": "Disabled"
|
|
},
|
|
{
|
|
"Name": "RemoteRegistry",
|
|
"StartupType": "Disabled",
|
|
"OriginalType": "Disabled"
|
|
},
|
|
{
|
|
"Name": "StorSvc",
|
|
"StartupType": "Manual",
|
|
"OriginalType": "Automatic"
|
|
},
|
|
{
|
|
"Name": "SharedAccess",
|
|
"StartupType": "Disabled",
|
|
"OriginalType": "Automatic"
|
|
},
|
|
{
|
|
"Name": "TermService",
|
|
"StartupType": "Manual",
|
|
"OriginalType": "Manual"
|
|
},
|
|
{
|
|
"Name": "TroubleshootingSvc",
|
|
"StartupType": "Manual",
|
|
"OriginalType": "Manual"
|
|
},
|
|
{
|
|
"Name": "seclogon",
|
|
"StartupType": "Manual",
|
|
"OriginalType": "Manual"
|
|
},
|
|
{
|
|
"Name": "ssh-agent",
|
|
"StartupType": "Disabled",
|
|
"OriginalType": "Disabled"
|
|
}
|
|
],
|
|
"InvokeScript": [
|
|
"
|
|
$Memory = (Get-CimInstance Win32_PhysicalMemory | Measure-Object Capacity -Sum).Sum / 1KB
|
|
Set-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Control\" -Name SvcHostSplitThresholdInKB -Value $Memory
|
|
"
|
|
],
|
|
```
|