473,387 Members | 1,364 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Shut Down Machine

.... 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


Nov 18 '05 #1
3 1162
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

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Michael Persaud" <mi**************@hotmail.com> wrote in message
news:uN**************@TK2MSFTNGP10.phx.gbl...
... 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

Nov 18 '05 #2
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

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Michael Persaud" <mi**************@hotmail.com> wrote in message
news:uN**************@TK2MSFTNGP10.phx.gbl...
... 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

Nov 18 '05 #3

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.

"Michael Persaud" <mi**************@hotmail.com> wrote in message
news:uN**************@TK2MSFTNGP10.phx.gbl...
... 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

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Daniel | last post by:
Is there any way for System.IO.StreamWriter Write method to write out part of the string to file. such as if the machine is shut down half way through? or does the file not actually exist until the...
3
by: kuldeep | last post by:
Hi all, I have a application developed in C# .net. The problem I face is I am unable to shutdown my machine when the exe is running. Windows is unable to close this exe an shut down. Can anyone...
5
by: Anders Both | last post by:
If no pages in my asp.net web-system, is being requested for some periode, it seems like the asp.net process is shut down automaticaly. Is this a normal behavior, or does my system contains some...
6
sashi
by: sashi | last post by:
Shut down Windows For various reasons you may require a shut down of Windows to happen programmatically. For instance if the installation of your program requires system reconfiguration. The...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.