This repository was archived by the owner on Sep 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
windows 10 service disabler.ps1 #398
Open
Brandonbr1
wants to merge
9
commits into
Sycnex:master
Choose a base branch
from
Brandonbr1:patch-1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
d1535db
windows 10 service disabler.ps1
Brandonbr1 420e342
windows 10 service disabler.ps1
Brandonbr1 629a3cf
Update Individual Scripts/windows 10 service disabler.ps1
Brandonbr1 ed7fe85
Delete windows 10 service disabler.ps1
Brandonbr1 4980e27
windows service disabler v2.ps1
Brandonbr1 a9f5e50
requested changes
Brandonbr1 ab6ee32
Update windows service disabler v2.ps1
Brandonbr1 64531eb
Update windows service disabler v2.ps1
Brandonbr1 ef36ad6
Update windows service disabler v2.ps1
Brandonbr1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,112 @@ | ||
| # Description: | ||
| # This script disables unwanted Windows services. If you do not want to disable | ||
| # certain services comment out the corresponding lines below. like this #use hastag to comment | ||
|
|
||
| $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 | ||
| "XboxGipSvc" #Disables Xbox Accessory Management Service | ||
| "ndu" # Windows Network Data Usage Monitor | ||
| "WerSvc" #disables windows error reporting | ||
| "Spooler" #Disables your printer | ||
| "Fax" #Disables fax | ||
| "fhsvc" #Disables fax histroy | ||
| "gupdate" #Disables google update | ||
| "gupdatem" #Disable another google update | ||
| "stisvc" #Disables Windows Image Acquisition (WIA) | ||
| "AJRouter" #Disables (needed for AllJoyn Router Service) | ||
| "MSDTC" # Disables Distributed Transaction Coordinator | ||
| "dmwappushservice" #Device Management Wireless Application Protocol (WAP) Push message Routing Service | ||
| "WpcMonSvc" #Disables Parental Controls | ||
| "PhoneSvc" #Disables Phone Service(Manages the telephony state on the device) | ||
| "PrintNotify" #Disables Windows printer notifications and extentions | ||
| "PcaSvc" #Disables Program Compatibility Assistant Service | ||
| "WPDBusEnum" #Disables Portable Device Enumerator Service | ||
| "LicenseManager" #Disable LicenseManager(Windows store may not work properly) | ||
| "seclogon" #Disables Secondary Logon(disables other credentials only password will work) | ||
| "SysMain" #Disables sysmain | ||
| "lmhosts" #Disables TCP/IP NetBIOS Helper | ||
| "wisvc" #Disables Windows Insider program(Windows Insider will not work) | ||
| "FontCache" #Disables Windows font cache | ||
| "RetailDemo" #Disables RetailDemo whic is often used when showing your device | ||
| "ALG" # Disables Application Layer Gateway Service(Provides support for 3rd party protocol plug-ins for Internet Connection Sharing) | ||
| #"BFE" #Disables Base Filtering Engine (BFE) (is a service that manages firewall and Internet Protocol security) | ||
| #"BrokerInfrastructure" #Disables Windows infrastructure service that controls which background tasks can run on the system. | ||
| "SCardSvr" #Disables Windows smart card | ||
| "lfsvc" #Disable Windows geolocation service it can be use to track you | ||
| "EntAppSvc" #Disables enterprise application management. | ||
| "BthAvctpSvc" #Disables AVCTP service (if you use Bluetooth Audio Device or Wireless Headphones. then don't disable this) | ||
|
Brandonbr1 marked this conversation as resolved.
|
||
| "FrameServer" #Disables Windows Camera Frame Server(this allows multiple clients to access video frames from camera devices.) | ||
|
Sycnex marked this conversation as resolved.
Outdated
|
||
| "Browser" #Disables computer browser | ||
| "BthAvctpSvc" #AVCTP service (This is Audio Video Control Transport Protocol service.) | ||
| "BDESVC" #Disables bitlocker | ||
| "fhsvc" # Disables File History Service (Protects user files from accidental loss by copying them to a backup location.) | ||
| "iphlpsvc" #Disables ipv6 but most websites don't use ipv6 they use ipv4 | ||
| "edgeupdate" # Disables one of edge update service | ||
| "MicrosoftEdgeElevationService" # Disables one of edge service | ||
| "edgeupdatem" # disbales another one of update service (disables edgeupdatem) | ||
| "SEMgrSvc" #Disables Payments and NFC/SE Manager (Manages payments and Near Field Communication (NFC) based secure elements) | ||
| #"PNRPsvc" # Disables peer Name Resolution Protocol ( some peer-to-peer and collaborative applications, such as Remote Assistance, may not function, Discord will still work) | ||
| #"p2psvc" # Disbales Peer Name Resolution Protocol(nables multi-party communication using Peer-to-Peer Grouping. If disabled, some applications, such as HomeGroup, may not function. Discord will still work) | ||
| #"p2pimsvc" # Disables Peer Networking Identity Manager (Peer-to-Peer Grouping services may not function, and some applications, such as HomeGroup and Remote Assistance, may not function correctly.Discord will still work) | ||
| "PerfHost" #Disables remote users and 64-bit processes to query performance . | ||
|
|
||
|
|
||
|
|
||
| # Services which cannot be disabled | ||
| #"WdNisSvc" | ||
| ) | ||
|
|
||
| foreach ($service in $services) { | ||
| Write-Output "Trying to disable $service" | ||
| Get-Service -Name $service | Set-Service -StartupType Disabled | ||
| } | ||
|
|
||
| $hyper = @( | ||
| #hyper-v services | ||
| "HvHost" | ||
| "vmickvpexchange" | ||
| "vmicguestinterface" | ||
| "vmicshutdown" | ||
| "vmicheartbeat" | ||
| "vmicvmsession" | ||
| "vmicrdv" | ||
| "vmictimesync" | ||
|
|
||
| ) | ||
|
|
||
|
|
||
| foreach ($hyper in $hyper) { | ||
| Write-Output "Trying to disable $hyper-v" | ||
| Get-Service -Name $service | Set-Service -StartupType Disabled | ||
| } | ||
|
|
||
| $hp = @( | ||
| #hp services | ||
| "HPAppHelperCap" | ||
| "HPDiagsCap" | ||
| "HPNetworkCap" | ||
| "HPSysInfoCap" | ||
| "HpTouchpointAnalyticsService" | ||
| ) | ||
|
|
||
| foreach ($hp in $hp) { | ||
| Write-Output "Trying to disable $hp" | ||
| Get-Service -Name $service | Set-Service -StartupType Disabled | ||
| } | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.