Sign in to follow this  
Followers 0
KenzoIT

Restart a windows service remotely

3 posts in this topic

Hi everyone,

I want to restart windows services remotely such as CA, Telnet, ASP.NET ....

Can you instruct me how to do it ?

Thanks !

Share this post


Link to post
Share on other sites



Hi,

have a look at windows command line tool sc.exe (sc /?).

Look in helpfile for function Run, RunAs, RunWait, RunAsWait.

;-))

Stefan

Share this post


Link to post
Share on other sites

I execute DOS command with _RunDOS ( $sCommand )

And windows command line:

SC \\machine_name START "Service Name"

Thanks for your support ! :mellow:

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