Sign in to follow this  
Followers 0
ChromeFan

stoping/Pausing/Killing a Service?

7 posts in this topic

how to stop/Pause/Kill a Service?

Thanks!


Website: www.cerescode.comForum: www.forum.cerescode.comIRC: irc.freenode.net , Channel: #Ceres--------------------Autoit Wrappers, Great additions to your script (Must See) (By: Valuater)Read It Befor Asking Question Click Here...--------------------Join Monoceres's Forums http://www.monoceres.se--------------------There are three kinds of people: Those who make things happen, those who watch things happen, and those who ask, ‘What happened?’” –Casey Stengel

Share this post


Link to post
Share on other sites

how to stop/Pause/Kill a Service?

Thanks!

Hey! I've just read that topic, but I forgot where. hehe!


"Failure is the key to success. So try and try until you succeed!"

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

to stop a service you can use

net stop servicename
and to pause i think it's
net pause servicename

and autoit

Func _pause($service)
    Run("net.exe pause " & $service)
EndFund

oh and to unpause it's net continue :)

Edited by TheMadman

Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro

Share this post


Link to post
Share on other sites

There could be dependency to that service by another one(s), so it is probably better idea to use some other method in order to achieve full automation.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

to stop a service you can use

net stop servicename
and to pause i think it's
net pause servicename

and autoit

Func _pause($service)
    Run("net.exe pause " & $service)
EndFund

oh and to unpause it's net continue :)

Thanks!


Website: www.cerescode.comForum: www.forum.cerescode.comIRC: irc.freenode.net , Channel: #Ceres--------------------Autoit Wrappers, Great additions to your script (Must See) (By: Valuater)Read It Befor Asking Question Click Here...--------------------Join Monoceres's Forums http://www.monoceres.se--------------------There are three kinds of people: Those who make things happen, those who watch things happen, and those who ask, ‘What happened?’” –Casey Stengel

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0