When Microsoft releases a new OS, they turn on, by default, just about every Service that any of their customers would ever want. But for most of us, home PC users, there are a lot of those services that will never be needed and should just be disabled, to save memory and CPU time.
One source of information about what each Service does and which ones can safely be shut off is the "Black Viper" web site.
From that site, I was able to write a single batch file, that disables as many services as I like.
That helps me to get the most out of every PC that I have to set up with Windows xx.
Here is an excerpt from that batch file.
@echo off
cls
rem This batch file will Stop selected Services and set them to Disabled.
rem The following are a few examples of task name vs actual program name.
rem Schedule = Task Scheduler
rem Themes = Themes
rem W32Time = Windows Time
rem SysMain = Superfetch
rem WinDefend = Windows Defender
rem
sc config Appinfo start= demand
sc stop Appinfo
My actual "StopServices.bat" file is a bit longer, but this can give y'all an idea of how it's done.
Disabling unneeded Services can and will improve performance.
If the service name has spaces in it you need quotes otherwise windows won't know what you are talking about since it only looks at the first word. Also when running the bat file you have to right click and select run as administrator even if you are an administrator. You also you need to change the services to manual or they will start automatically on next reboot.