Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remote standby/shut down

Status
Not open for further replies.

crrrazydan

Programmer
Jul 27, 2000
34
US
Basicly what I want to do is put my downstairs computer on standby (which is networked to my upstairs one) from my upstairs computer. I thought of two ways this might be accomplished. 1: Somehow execute an exe located on the downstairs computer from upstairs, and the exe would be simple like:
Sendkeys "{%}{F4}{Enter}"
-to bring up the shut down screen and press ok
2: My second idea is execute code upstairs that would tell the downstairs computer to shut down, or go on standby.

So if anybody could tell me how to execute an exe across a network, or how to put a computer on stanby (or shut down) across a network, I would be extremely happy.
 
I've been trying to do a similar thing but on a local machine not a network. In many of the solutions that people gave me were API calls that needed the machine name to be pased into them. You could use one of these found in this thread and give it the machine name that you want to shut down on the network:

sqid=43066&spid=222&newpid=222&cfid=9944629&cftoken=58412203

I hope you're not trying to shutdown a Win2K machine because I have being tring to find decent code for this for a month now and have had no luck!

Good luck

elziko
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top