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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

remotely booting a pc

Status
Not open for further replies.

chesterguyca

Technical User
Joined
Mar 12, 2003
Messages
8
Location
CA
Hello,

I am a Perl newbie and am trying to find a way to remotely boot a PC.

I have tried google and alltheweb and some forums but with no success.

any help would be appreciated,

chester
 
Perl is a programming language. To remotely boot a PC you need some sort of remotely tripable switch.

This is more of a hardware problem then a software issue.

If you want to REBOOT a machine you should look at using shell scripts rather then perl.
 
You didn't mention the OS, but for Windows - Win32::InitiateSystemShutdown(MACHINE, MESSAGE, TIMEOUT, FORCECLOSE, REBOOT)
 
There is also a NTResKit tool: Shutdown.exe that I use. VERY reliable. Like clockwork.

I can't tell you how many times I've typed: "shutdown /r /t:1 \\servername" or how many times I've just executed that commandline via PERL.
 
oops forgot to mention the OS...Windows 2000.

Yes, VBScript, Perl and the Windows Admin kit (shutdown.exe) will all shutdown/reboot a PC, but it is remote booting that I want to do.

The hardware is not an issue its all enabled for WOL and other software packages have remote booting features (including Norton Ghost) so I am thinking its some kind of bios code.

There must be a way...why else have a WOL card?

Chester
 
Chester - look again at soy's reply, you have to specify the server name on the command line; it looks to me like it *does* do remote reboots. Soy?

Mike

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

It's like this; even samurai have teddy bears, and even teddy bears get drunk.
 
Just for clarification, the windows reskit shutdown.exe DOES reboot a remote computer, you simply must use the correct syntax:

shutdown /r /t:1 \\entit07

This command uses the /r to reboot the pc upon shutdown.
The /t gives the number of seconds in which to execute the shutdown process.
The \\entit07 is the computer name on the network to shutdown.

Ah, I think I understand. By "remote" you mean, "Not on your own network," right? Sorry man. This will not do that.
 
What I wanted to do is this:

I am at computer "A"

computer "B" is locked in a vault and the PC has been powered down completely.

I want to turn computer "B" on.

I do not want to "reboot" it. I want to "boot" it. I am not sure how this thread got turned into a windows API discussion. This has nothing to do with the OS.

anyways....look at a previous reply of mine to see what I did eventually seek out.
 
can't believe I read through this thread two or three times and missed the fact that the OP wanted to start-up a cold PC, not restart a hot one.... duh...

Mike

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

It's like this; even samurai have teddy bears, and even teddy bears get drunk.
 
Yes it is closed.

Is there a close thread feature on this fourm? I am unable to find it.

chester
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top