Shut Down Machine

M

Michael Persaud

.... Can you say shut down a machine with code by clicking on a button in a
web page.

This would also have to have some user privelage authentication through AD
and probally even to a SQl database.

Any ideas appreciated
MP
 
C

Curt_C [MVP]

there are utilities (shutdown.exe) that MS has in the res kits that allow
this, but they would execute on the SERVER and yes, the user that calls the
exe would need admin rights to the destination pc/machine
 
G

George Ter-Saakov

What machine do you want to Shutdown?
Client or server?

You can shutdown a server. Just use an API ExitWindows but do not forget to
give special permissions to ASP.NET account.

If you want to shutdown a server then you need to install ActiveX client on
clients machine and then do what you want with it.

George.
 

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top