Windows 7 and Sleep
Thread Starter
Needs more Lemon Pledge
Joined: Mar 2005
Posts: 52,768
Likes: 2,000
From: Phoenix, AZ
Windows 7 and Sleep
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.

Are you talking about a program that you can remotely access?
If 3 clicks are too many you can create a shortcut on your desktop ("C:\Windows Shutdown Dialog.js"). If this file doesn't exist in your Windows folder (I can't remember if it was there in Win 7 or I had to make it) the "Shutdown Dialog.js" file can be created in NOTEPAD with the single line of, "(new ActiveXObject("Shell.Application")).ShutdownWindow s();" - without the quotes - and save the NOTEPAD file to your Windows directory with this file name.
Is this on a domain? Group Policy in place?
Do you have another PC you can access? You can access that PC & run a powershell command to disable the power save on the other PC when you need it. If they are on the same subnet & you have admin rights.
Do you have another PC you can access? You can access that PC & run a powershell command to disable the power save on the other PC when you need it. If they are on the same subnet & you have admin rights.
Thread
Thread Starter
Forum
Replies
Last Post
xsilverhawkx
2G TL Problems & Fixes
5
Sep 28, 2015 06:51 PM
AcuraKidd
Non-Automotive & Motorcycle Sales
0
Sep 25, 2015 11:18 PM







