I was wondering if anyone knew how to stop an Administrative Service with a command in a .bat file? Thanks Chris
You could create a bat file using the
net stop <service name>
A full list of the exact services is found in the registry (run regedit.exe) under the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es key.
Alternatively, you can perform the stop and start using the name that is showed in the Services Control Panel applet by putting the name in quotes
net stop "<service>"
You can also use the Resource Kit SC.EXE command, using
to get a list of the services, and then
sc stop <service name>