How can I turn on a computer when it is truned off ?
-
guys i need to create a small application for turning on my computer at a given time. lets say now it is 8.00Pm and i need to turn on my computer when the system time is equal to 10.00 Pm .. so can any body help me to develop this program!
-
guys i need to create a small application for turning on my computer at a given time. lets say now it is 8.00Pm and i need to turn on my computer when the system time is equal to 10.00 Pm .. so can any body help me to develop this program!
If there's no power, then you can only switch it on if you write a program to control a robot hand to switch it on.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
guys i need to create a small application for turning on my computer at a given time. lets say now it is 8.00Pm and i need to turn on my computer when the system time is equal to 10.00 Pm .. so can any body help me to develop this program!
Only a few little problems here. 1) When the power is off, the processor is not running. This means that your program is not running either. 2) See 1. You will need external hardware - wake on LAN, external mains on switch, or similar. You can't do it with software, sorry.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
-
guys i need to create a small application for turning on my computer at a given time. lets say now it is 8.00Pm and i need to turn on my computer when the system time is equal to 10.00 Pm .. so can any body help me to develop this program!
If your computer isn't running, you can't run a program on it. You can put it to sleep and have a windows service running that will wake it up at a certain time, but that's the best you can do.
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001 -
guys i need to create a small application for turning on my computer at a given time. lets say now it is 8.00Pm and i need to turn on my computer when the system time is equal to 10.00 Pm .. so can any body help me to develop this program!
Virtually all PCs today in their BIOS should have an option, typically in the power management settings, for setting a "Power On Alarm", or something of that sort. If there is a way to set this programmatically within an application, I don't know of it.
-
guys i need to create a small application for turning on my computer at a given time. lets say now it is 8.00Pm and i need to turn on my computer when the system time is equal to 10.00 Pm .. so can any body help me to develop this program!
-
guys i need to create a small application for turning on my computer at a given time. lets say now it is 8.00Pm and i need to turn on my computer when the system time is equal to 10.00 Pm .. so can any body help me to develop this program!
-
guys i need to create a small application for turning on my computer at a given time. lets say now it is 8.00Pm and i need to turn on my computer when the system time is equal to 10.00 Pm .. so can any body help me to develop this program!
You win. It is past 10 o'clock and nobody offered a real solution. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
-
guys i need to create a small application for turning on my computer at a given time. lets say now it is 8.00Pm and i need to turn on my computer when the system time is equal to 10.00 Pm .. so can any body help me to develop this program!
-
guys i need to create a small application for turning on my computer at a given time. lets say now it is 8.00Pm and i need to turn on my computer when the system time is equal to 10.00 Pm .. so can any body help me to develop this program!
Hi, If you are happy to leave the computer in standby mode then a WaitableTimer can be used to wake it up. There's some example code here on CP A WaitableTimer wrapper class[^]. The simplest way to wake up a sleeping computer, without any programming, is to set a scheduled task with the option "Wake the computer to run this task". Alan.
-
guys i need to create a small application for turning on my computer at a given time. lets say now it is 8.00Pm and i need to turn on my computer when the system time is equal to 10.00 Pm .. so can any body help me to develop this program!
Check your machine's BIOS settings for a timed automatic power on option.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak -
guys i need to create a small application for turning on my computer at a given time. lets say now it is 8.00Pm and i need to turn on my computer when the system time is equal to 10.00 Pm .. so can any body help me to develop this program!
My Vista laptop surprised me by turning itself on at various "exact" times, until I figured out what was happening. If you go into 'Scheduled Tasks', you can set up a task with various options about power state and action. I've got no idea how to do this programmatically, but you could configure a scheduled task to run your job. The reason I mention Vista is that I don't remember being able to do this in XP. But I might be completely wrong... ;P [edit]somehow missed Alan N's post before writing this. :thumbsup: What he said...[/edit]
Software rusts. Simon Stephenson, ca 1994.
modified on Monday, August 23, 2010 8:02 PM
-
guys i need to create a small application for turning on my computer at a given time. lets say now it is 8.00Pm and i need to turn on my computer when the system time is equal to 10.00 Pm .. so can any body help me to develop this program!
-
guys i need to create a small application for turning on my computer at a given time. lets say now it is 8.00Pm and i need to turn on my computer when the system time is equal to 10.00 Pm .. so can any body help me to develop this program!
Do you have another networked computer (anywhere) that can run the application? If so, run the wake-up application on the other computer and then buy an APC remote power switch with Internet connectivity. We use one on our server at a server farm so we can turn it on, turn it off or reboot it remotely if it hangs. Dave
-
guys i need to create a small application for turning on my computer at a given time. lets say now it is 8.00Pm and i need to turn on my computer when the system time is equal to 10.00 Pm .. so can any body help me to develop this program!
It is easy, at least with my Dell Optiplex. Power on, press F2 to enter Setup Go to Power Management Select Auto Startup Select EveryDay, or Monday to Friday (default is Off) Set time you want the system to boot up. Save and exit Bios. OK, you asked how to write a program to do it, so this is cheating. But easier.
I came here because I was confused. Now I'm confused on a higher plane.
-
Do you have another networked computer (anywhere) that can run the application? If so, run the wake-up application on the other computer and then buy an APC remote power switch with Internet connectivity. We use one on our server at a server farm so we can turn it on, turn it off or reboot it remotely if it hangs. Dave
There must be some kind of either windows or BIOS API to control power on/off, at least for ATX motherboard based machines - here is a product that uses it (and I have a AV program that will wake the machine up if it happens to be off when it want's to update - nasty if it's a laptop in it's case though!) http://www.lifsoft.com/[^] Mike
-
guys i need to create a small application for turning on my computer at a given time. lets say now it is 8.00Pm and i need to turn on my computer when the system time is equal to 10.00 Pm .. so can any body help me to develop this program!
Just an idea: Why not use a the new TI Launchpad board (or any microcontroller board for that matter) and wire it parallel to the on/off switch of your motherboard. Then programm the Launchpad to close and open a port at a specific time. The wiring is extremelly simple to do even with little knowledge, but a lot of care. We did something similar (shutdown and turn on of a PC through IR receiver and a microcontroller) for a project we had some 10 years back and it was easy even then, so this should be VERY easy now. PS: I just mention the launchpad because it is very cheap, and also it has a thermometer built in. I can understand that most of us have preferences.
-
guys i need to create a small application for turning on my computer at a given time. lets say now it is 8.00Pm and i need to turn on my computer when the system time is equal to 10.00 Pm .. so can any body help me to develop this program!
OK - but what if your computer is not hibernating or in a suspended state: really "off"? You can buy power supplies that respond to "power on" signals, there are even power supplies that respond to SMS messages. (I had a remote installation near to the North Pole where the power continually failed and the machine had to be rebooted remotely - worked fine, perhaps because it was Linux with no GUI ;)).
Why make life more difficult than it is?
-
guys i need to create a small application for turning on my computer at a given time. lets say now it is 8.00Pm and i need to turn on my computer when the system time is equal to 10.00 Pm .. so can any body help me to develop this program!
-
guys i need to create a small application for turning on my computer at a given time. lets say now it is 8.00Pm and i need to turn on my computer when the system time is equal to 10.00 Pm .. so can any body help me to develop this program!
Go buy an iBoot its a remotly controllable surge protector/ power supply. Most will run a website but others have a web service like interface you can code to, to do things. Or it may have a scheduling feature, some also can send out heartbeats and do things when they miss a certain number of packets. We used it to automatically reboot the web server when its NIC would crash. yes we replaced the server, only took a day or 3 to get one from dell.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.