Sign up ×
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them, it only takes a minute:

Is there a way to start / stop a windows service of a server in a different network

(not \\<server name>) from an asp.net page?

I tried using ServiceController but it's only work if it's in the same network.

share|improve this question

1 Answer 1

RE: ServiceController How to Start/Stop a Windows Service from an ASP.NET app - Security issues

Anything you can do from command line or powershell can be ran from a page (assuming the app pool user has correct permissions etc)

Powershell is probably your best bet for managing services on a remote server though this will require the server to allow remote powershell.

and of course for the topic of powershell resetting/stopping remote services.

Google is definitely your friend on this one :)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.