@echo off
echo Stopping and disabling unnecessary services for optimal gaming performance...
:: Stop and disable Windows Update (wuauserv)
net stop wuauserv
sc config wuauserv start= disabled
:: Stop and disable Superfetch (SysMain)
net stop SysMain
sc config SysMain start= disabled
:: Stop and disable Windows Search (WSearch)
net stop WSearch
sc config WSearch start= disabled
:: Stop and disable Printer Spooler (spooler)
net stop spooler
sc config spooler start= disabled
:: Stop and disable Bluetooth Support Service (bthserv)
net stop bthserv
sc config bthserv start= disabled
:: Stop and disable Remote Registry (RemoteRegistry)
net stop RemoteRegistry
sc config RemoteRegistry start= disabled
:: Stop and disable Windows Error Reporting (WerSvc)
net stop WerSvc
sc config WerSvc start= disabled
:: Stop and disable Background Intelligent Transfer Service (BITS)
net stop bits
sc config bits start= disabled
:: Stop and disable Windows Defender Antivirus (WinDefend)
net stop WinDefend
sc config WinDefend start= disabled
:: Stop and disable Windows Defender Firewall (MpsSvc)
net stop MpsSvc
sc config MpsSvc start= disabled
:: Stop and disable Fax Service (Fax)
net stop Fax
sc config Fax start= disabled
:: Stop and disable Touch Keyboard and Handwriting Panel Service
(TabletInputService)
net stop TabletInputService
sc config TabletInputService start= disabled
:: Stop and disable Windows Time Service (W32Time)
net stop W32Time
sc config W32Time start= disabled
:: Stop and disable Windows Insider Service (wisvc)
net stop wisvc
sc config wisvc start= disabled
:: Stop and disable Tablet PC Input Service (TabletInputService)
net stop TabletInputService
sc config TabletInputService start= disabled
:: Stop and disable System Restore Service (srservice)
net stop srservice
sc config srservice start= disabled
:: Stop and disable HomeGroup Listener (HomeGroupListener)
net stop HomeGroupListener
sc config HomeGroupListener start= disabled
:: Stop and disable Windows Image Acquisition (WIA) (stisvc)
net stop stisvc
sc config stisvc start= disabled
:: Stop and disable Security Center (wscsvc)
net stop wscsvc
sc config wscsvc start= disabled
:: Stop and disable IP Helper (iphlpsvc)
net stop iphlpsvc
sc config iphlpsvc start= disabled
echo All unnecessary services have been stopped and disabled.
pause