New
#1
bat file - net stop service doesn't work
I need bat file to stop service.
Net stop servicename doesn't work.
I get message syntax is:
NET STOP
service
Please help.
I need bat file to stop service.
Net stop servicename doesn't work.
I get message syntax is:
NET STOP
service
Please help.
Hello tweaker, :)
Which service are your trying to stop?
Services - Start or Disable - Windows 7 Help Forums
thanks perfect, where i found it wasn't in quotes, i woudn't guess that's problem
A little background:
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
sc config ALG start= demand
sc stop ALG
sc config AppMgmt start= demand
sc stop AppMgmt
sc config wbengine start= demand
sc stop wbengine
sc config CertPropSvc start= disabled
sc stop CertPropSvc
sc config Keylso start= demand
sc stop Keylso
sc config COMSysApp start= demand
sc stop COMSysApp
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.
Happy Computing!
TechnoMage
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.