"BthAvctpSvc"#Disables AVCTP service (if you use Bluetooth Audio Device or Wireless Headphones. then don't disable this)
#"FrameServer" #Disables Windows Camera Frame Server(this allows multiple clients to access video frames from camera devices.)
"Browser"#Disables computer browser
"BthAvctpSvc"#AVCTP service (This is Audio Video Control Transport Protocol service.)
"BDESVC"#Disables bitlocker
"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 .
"BcastDVRUserService_48486de"#Disables GameDVR and Broadcast is used for Game Recordings and Live Broadcasts
"CaptureService_48486de"#Disables ptional screen capture functionality for applications that call the Windows.Graphics.Capture API.
"cbdhsvc_48486de"#Disables cbdhsvc_48486de (clipboard service it disables)
"BluetoothUserService_48486de"#disbales BluetoothUserService_48486de (The Bluetooth user service supports proper functionality of Bluetooth features relevant to each user session.)
"WpnService"#Disables WpnService (Push Notifications may not work )
#"StorSvc" #Disables StorSvc (usb external hard drive will not be reconised by windows)
"RtkBtManServ"#Disables Realtek Bluetooth Device Manager Service
"QWAVE"#Disables Quality Windows Audio Video Experience (audio and video might sound worse)
#Hp services
"HPAppHelperCap"
"HPDiagsCap"
"HPNetworkCap"
"HPSysInfoCap"
"HpTouchpointAnalyticsService"
#hyper-v services
"HvHost"
"vmickvpexchange"
"vmicguestinterface"
"vmicshutdown"
"vmicheartbeat"
"vmicvmsession"
"vmicrdv"
"vmictimesync"
# Services which cannot be disabled
# Services which cannot be disabled
#"WdNisSvc"
#"WdNisSvc"
)
)
foreach($servicein$services){
foreach($servicein$services){
Write-Output"Trying to disable $service"
# -ErrorAction SilentlyContinue is so it doesn't write an error to stdout if a service doesn't exist