KenzoIT Posted March 1, 2010 Share Posted March 1, 2010 Hi everyone, I want to restart windows services remotely such as CA, Telnet, ASP.NET .... Can you instruct me how to do it ? Thanks ! Link to comment Share on other sites More sharing options...
99ojo Posted March 1, 2010 Share Posted March 1, 2010 Hi, have a look at windows command line tool sc.exe (sc /?). Look in helpfile for function Run, RunAs, RunWait, RunAsWait. ;-)) Stefan Link to comment Share on other sites More sharing options...
KenzoIT Posted March 3, 2010 Author Share Posted March 3, 2010 I execute DOS command with _RunDOS ( $sCommand ) And windows command line: SC \\machine_name START "Service Name" Thanks for your support ! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now