Technology Get the latest on technology, electronics and software…

Windows 7 and Sleep

Thread Tools
 
Old Nov 7, 2014 | 05:44 PM
  #1  
stogie1020's Avatar
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.
Reply
Old Nov 7, 2014 | 06:22 PM
  #2  
jupitersolo's Avatar
nnInn
 
Joined: Mar 2006
Posts: 37,670
Likes: 1,084
Reply
Old Nov 7, 2014 | 06:52 PM
  #3  
Will Y.'s Avatar
Registered but harmless
20 Year Member
 
Joined: Aug 2005
Posts: 14,889
Likes: 1,164
From: Los Angeles, CA
Originally Posted by stogie1020
Rather than accessing the power menu each time, I wrote two batch files...
Does anyone know of a good, surefire program/method to toggle sleep on and off?
The sleep function is at most three mouse clicks into the start bar menu, and it works 99% of the time on my computers.

Are you talking about a program that you can remotely access?
Reply
Old Nov 7, 2014 | 07:32 PM
  #4  
Ken1997TL's Avatar
Senior Moderator
20 Year Member
Liked
Loved
Community Favorite
 
Joined: May 2003
Posts: 45,641
Likes: 2,335
From: Better Neighborhood, Arizona
Make sure your BIOS settings are configured properly. A flash/update may be in order.
Reply
Old Nov 8, 2014 | 04:53 PM
  #5  
Anachostic's Avatar
Safety Car
 
Joined: Jul 2007
Posts: 4,845
Likes: 145
Always use the sleep profile and run a sleep blocker like NoSleep when you want to prevent sleeping.

Download
Reply
Old Nov 8, 2014 | 05:17 PM
  #6  
RenoTL's Avatar
Racer
10 Year Member
Liked
Loved
Community Favorite
 
Joined: Mar 2013
Posts: 393
Likes: 68
From: Reno, NV
Originally Posted by Will Y.
The sleep function is at most three mouse clicks into the start bar menu, and it works 99% of the time on my computers.

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.
Reply
Old Nov 8, 2014 | 06:40 PM
  #7  
fuzzy02CLS's Avatar
Senior Moderator
iTrader: (2)
 
Joined: Jan 2003
Posts: 16,847
Likes: 223
From: South FL
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.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
le^2
5G TLX (2015-2020)
32
Mar 17, 2026 05:06 AM
iRaw
ILX Photograph Gallery
30
Aug 5, 2016 04:41 PM
xsilverhawkx
2G TL Problems & Fixes
4
Oct 5, 2015 11:00 AM
xsilverhawkx
2G TL Problems & Fixes
5
Sep 28, 2015 06:51 PM
AcuraKidd
Non-Automotive & Motorcycle Sales
0
Sep 25, 2015 11:18 PM




All times are GMT -5. The time now is 10:26 PM.