mirror of
https://github.com/W4RH4WK/Debloat-Windows-10.git
synced 2024-11-17 15:25:37 +00:00
25 lines
576 B
PowerShell
25 lines
576 B
PowerShell
# Description:
|
|
# This script disables unwanted Windows services. If you do not want to disable
|
|
# certain services comment out the corresponding lines below.
|
|
|
|
$services = @(
|
|
"HomeGroupListener"
|
|
"HomeGroupProvider"
|
|
"MapsBroker"
|
|
"NetTcpPortSharing"
|
|
"RemoteAccess"
|
|
"RemoteRegistry"
|
|
"SharedAccess"
|
|
"WbioSrvc"
|
|
"XblAuthManager"
|
|
"XblGameSave"
|
|
"XboxNetApiSvc"
|
|
"dmwappushservice"
|
|
"lfsvc"
|
|
#"wscsvc"
|
|
)
|
|
|
|
foreach ($service in $services) {
|
|
Get-Service -Name $service | Set-Service -StartupType Disabled
|
|
}
|