Brandon12121

useless windows 10 diasbler

Apr 26th, 2021
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $services = @(
  2.     "diagnosticshub.standardcollector.service" # Microsoft (R) Diagnostics Hub Standard Collector Service
  3.     "DiagTrack"                                # Diagnostics Tracking Service
  4.     "dmwappushservice"                         # WAP Push Message Routing Service (see known issues)
  5.     "lfsvc"                                    # Geolocation Service
  6.     "MapsBroker"                               # Downloaded Maps Manager
  7.     "NetTcpPortSharing"                        # Net.Tcp Port Sharing Service
  8.     "RemoteAccess"                             # Routing and Remote Access
  9.     "RemoteRegistry"                           # Remote Registry
  10.     "SharedAccess"                             # Internet Connection Sharing (ICS)
  11.     "TrkWks"                                   # Distributed Link Tracking Client
  12.     "WbioSrvc"                                 # Windows Biometric Service (required for Fingerprint reader / facial detection)
  13.     #"WlanSvc"                                 # WLAN AutoConfig
  14.     "WMPNetworkSvc"                            # Windows Media Player Network Sharing Service
  15.     #"wscsvc"                                  # Windows Security Center Service
  16.     #"WSearch"                                 # Windows Search
  17.     "XblAuthManager"                           # Xbox Live Auth Manager
  18.     "XblGameSave"                              # Xbox Live Game Save Service
  19.     "XboxNetApiSvc"                            # Xbox Live Networking Service
  20.     "ndu"                                      # Windows Network Data Usage Monitor
  21.     "Print Spooler"                            # Disables printing
  22.     "Fax"                                      # Disables Fax
  23.     "stisvc"                                   #disables Windows Image Acquisition
  24.     "PcaSvc"                                   #Program Compatibility Assistant Service
  25.     # Services which cannot be disabled
  26.     #"WdNisSvc"
  27. )
  28.  
  29. foreach ($service in $services) {
  30.     Write-Output "Trying to disable $service"
  31.     Get-Service -Name $service | Set-Service -StartupType Disabled
  32. }
Advertisement
Add Comment
Please, Sign In to add comment