← All Tweaks
Essential Tweaks
Services - Set to Manual
Sets unnecessary services to Manual startup.
Benefit
Reduces background CPU/RAM usage
Impact
mediumCommands (1)
$svcManual = @('DiagTrack', 'dmwappushservice', 'WerSvc', 'PcaSvc', 'DPS', 'WdiServiceHost', 'WdiSystemHost', 'MapsBroker', 'lfsvc', 'WbioSrvc', 'SensorService', 'SensrSvc', 'TabletInputService', 'Fax', 'WMPNetworkSvc', 'fdPHost', 'FDResPub', 'SSDPSRV', 'upnphost', 'SCardSvr', 'ScDeviceEnum', 'SCPolicySvc', 'PhoneSvc', 'XblAuthManager', 'XblGameSave', 'XboxNetApiSvc', 'XboxGipSvc', 'CDPSvc', 'wisvc'); $svcDisabled = @('RemoteRegistry', 'RetailDemo'); $mDone = 0; $mSkip = 0; foreach ($s in $svcManual) { $svc = Get-Service -Name $s -ErrorAction SilentlyContinue; if (-not $svc) { $mSkip++; continue } try { Set-Service -Name $s -StartupType Manual -ErrorAction Stop; $mDone++ } catch { Write-Host "[WARN] $s : $($_.Exception.Message)" } } $dDone = 0; $dSkip = 0; foreach ($s in $svcDisabled) { $svc = Get-Service -Name $s -ErrorAction SilentlyContinue; if (-not $svc) { $dSkip++; continue } try { Stop-Service -Name $s -Force -ErrorAction SilentlyContinue; Set-Service -Name $s -StartupType Disabled -ErrorAction Stop; $dDone++ } catch { Write-Host "[WARN] $s : $($_.Exception.Message)" } } Write-Host ("[OK] Set to Manual: $mDone service(s), $mSkip not present"); Write-Host ("[OK] Disabled: $dDone service(s), $dSkip not present")Warnings
- Some services may be needed by specific hardware