I have a machine on my network that sometimes I want to be able to go to sleep, and sometimes I want it to not go to sleep (anticipating a remote login, FTP server running, etc).
Rather than accessing the power menu each time, I wrote two batch files to enable one of two custom power configurations. One config allows sleep after 5 minutes and the other prevents sleep entirely.
Problem is, the computer does not seem to care and does what it wants, sometime sleeping and other times never going to sleep regardless of the power profile I have activated. I confirm that the correct profile is the active one, however in the sleep=ON profile, the machine often never sleeps and inthe sleep=OFF profile, the machine often goes to sleep.
Does anyone know of a good, surefire program/method to toggle sleep on and off? I have tried a few and they are unreliable at best, and disabled WOL/MagicPacket at worst.
Rather than accessing the power menu each time, I wrote two batch files to enable one of two custom power configurations. One config allows sleep after 5 minutes and the other prevents sleep entirely.
Problem is, the computer does not seem to care and does what it wants, sometime sleeping and other times never going to sleep regardless of the power profile I have activated. I confirm that the correct profile is the active one, however in the sleep=ON profile, the machine often never sleeps and inthe sleep=OFF profile, the machine often goes to sleep.
Does anyone know of a good, surefire program/method to toggle sleep on and off? I have tried a few and they are unreliable at best, and disabled WOL/MagicPacket at worst.