A collection of Scripts which disable / remove Windows 10 Features and Apps
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
529 B

9 years ago
# 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
}