Main Area and Open Discussion > General Software Discussion
Activate/deactive a windows service with a script
Contro:
Activate/deactive a windows service with a script
I would like to be able with a script to activate a windows service for windows xp pro
The same, but deactivate that service.
P.D. Really I would like to run or stop the service, but may be more general and allow in some cases to abilitate the service o eliminate.
Best Regards
Stoic Joker:
net stop [service name]
net start [service name]
net restart [service name]
AbteriX:
C:\>sc
DESCRIPTION:
SC is a command line program used for communicating with the
NT Service Controller and services.
USAGE:
sc <server> [command] [service name] <option1> <option2>...
--- End quote ---
Contro:
:-[
Trying. i will comment. Are bat files ?¿
:-*
Shades:
Watch out with 'sc'.
At least read the manual very carefully, as it is quite a powerful tool. And it can wreak havoc in your system if you select (unintentionally) the wrong option for any (critical) service running in Windows.
Just sayin'.
Navigation
[0] Message Index
[#] Next page
Go to full version