From 2a7325f4dc42d7d92b0290f947eb903adf667c59 Mon Sep 17 00:00:00 2001 From: Belim Date: Mon, 21 Sep 2020 20:44:17 +0200 Subject: [PATCH] Delete disable-services.ps1 --- scripts/disable-services.ps1 | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 scripts/disable-services.ps1 diff --git a/scripts/disable-services.ps1 b/scripts/disable-services.ps1 deleted file mode 100644 index 99ffc4d..0000000 --- a/scripts/disable-services.ps1 +++ /dev/null @@ -1,32 +0,0 @@ -### This script disables unwanted Windows services. ### -### If you do not want to disable certain services comment out the corresponding lines below.### -### Author of this script: https://github.com/W4RH4WK/Debloat-Windows-10 - -$services = @( - "diagnosticshub.standardcollector.service" # Microsoft (R) Diagnostics Hub Standard Collector Service - "DiagTrack" # Diagnostics Tracking Service - "dmwappushservice" # WAP Push Message Routing Service (see known issues) - "lfsvc" # Geolocation Service - "MapsBroker" # Downloaded Maps Manager - "NetTcpPortSharing" # Net.Tcp Port Sharing Service - "RemoteAccess" # Routing and Remote Access - "RemoteRegistry" # Remote Registry - "SharedAccess" # Internet Connection Sharing (ICS) - "TrkWks" # Distributed Link Tracking Client - "WbioSrvc" # Windows Biometric Service (required for Fingerprint reader / facial detection) - #"WlanSvc" # WLAN AutoConfig - "WMPNetworkSvc" # Windows Media Player Network Sharing Service - "wscsvc" # Windows Security Center Service - #"WSearch" # Windows Search - "XblAuthManager" # Xbox Live Auth Manager - "XblGameSave" # Xbox Live Game Save Service - "XboxNetApiSvc" # Xbox Live Networking Service - "ndu" # Windows Network Data Usage Monitor - # Services which cannot be disabled - #"WdNisSvc" -) - -foreach ($service in $services) { - Write-Output "Trying to disable $service" - Get-Service -Name $service | Set-Service -StartupType Disabled -}