Website that will allow a user to restart a service on another computer.

M

Mufasa

I have a website that does all kinds of maint. functions for our systems.
One of the things I'd like to do is be able to restart a service that's on
another computer. Can somebody point me in the right direction to do that?

I think there may be issues of user privileges.

TIA - Jeff.
 
K

Kevin Spencer

The application will have to log on to the other computer using an account
with the necessary priveleges.

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,



Mufasa said:
I have a website that does all kinds of maint. functions for our systems.
One of the things I'd like to do is be able to restart a service that's on
another computer. Can somebody point me in the right direction to do that?

I think there may be issues of user privileges.

You can use ServiceController to control a service. Of course you need your
app to have admin. priv. You can do so by impersonate.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top