Windows 7 falls asleep to easily. :-)

D

Decrepit

Here's the problem. Windows 7 falls asleep too easily. Even though I
am running a video processing program that will take a couple of hours
to complete the system goes to sleep while it is still running, and
when I wake the system up it then resumes. This never happened with
XP. I want the program to run to completion, THEN have windows go to
sleep. I don't want to defeat the sleep process and have the system
remain on all night.

Anyone know whats up with this?
 
T

Trev

Decrepit said:
Here's the problem. Windows 7 falls asleep too easily. Even though I
am running a video processing program that will take a couple of hours
to complete the system goes to sleep while it is still running, and
when I wake the system up it then resumes. This never happened with
XP. I want the program to run to completion, THEN have windows go to
sleep. I don't want to defeat the sleep process and have the system
remain on all night.

Anyone know whats up with this?
Check your Power settings. Control panel > power options
 
D

Dick Mahar

Decrepit said:
Here's the problem. Windows 7 falls asleep too easily. Even though I
am running a video processing program that will take a couple of hours
to complete the system goes to sleep while it is still running, and
when I wake the system up it then resumes. This never happened with
XP. I want the program to run to completion, THEN have windows go to
sleep. I don't want to defeat the sleep process and have the system
remain on all night.

Anyone know whats up with this?
CONTROL PANEL SYSTEM POWER OPTIONS Set up sleep options there
 
D

Decrepit

Check your Power settings. Control panel > power options
I did this, of course. The only options offerred are to choose a time
period before the computer goes to sleep or 'never'. I just booted
into XP and checked what I have there. XP doesn't have 'sleep', it has
'standby'. I have this set at 30 minutes - the same time interval as I
have for the 'sleep' setting in Win7. But I know from considerable
experience that XP doesn't drop into standby while there is activity
happening in the computer. I have processed many movies and never had
the procedure interrupted until it was done.
 
D

Dave-UK

Decrepit said:
Here's the problem. Windows 7 falls asleep too easily. Even though I
am running a video processing program that will take a couple of hours
to complete the system goes to sleep while it is still running, and
when I wake the system up it then resumes. This never happened with
XP. I want the program to run to completion, THEN have windows go to
sleep. I don't want to defeat the sleep process and have the system
remain on all night.

Anyone know whats up with this?
If your video processing program has an option to close when
the processing is done then this free app will shutdown the
computer for you when the program ends.
http://users.telenet.be/jbosman/poweroff/poweroff.htm
 
A

Alf

But I don't believe that is the problem. The issue is not how to turn off the computer when the program is done running, but how to keep the computer awake until the program is finished. I have the
same problem. I use Camtasia which takes considerable time rendering a video. The computer will go into sleep mode while the program is running if the sleep mode interval is set too short. The options
seem to be to turn off sleep mode or set it to an interval that will generally be too long. This never happened in XP as the original poster indicated.
 
D

Dave-UK

Alf said:
But I don't believe that is the problem. The issue is not how to turn off the computer
when the program is done running, but how to keep the computer awake until the program is finished.
I have the same problem. I use Camtasia which takes considerable time rendering a video.
The computer will go into sleep mode while the program is running if the sleep mode interval is
set too short. The options seem to be to turn off sleep mode or set it to an interval that will
generally
be too long. This never happened in XP as the original poster indicated.
Ok - I never use sleep mode so don't know the answer to that one.
The only program I leave running during the night is Grabit when I'm
downloading stuff from newsgroups and that has the option to shut
down the computer when the download has finished.

Have you looked in the Group Policy editor?
There might be something there that you could tweak.

gpedit.msc
Computer Configuration
Administrative Templates
System
Power Management
Sleep Settings > Turn on Applications to Prevent Sleep Transitions (Plugged In).
 
T

Trev

Decrepit said:
I did this, of course. The only options offerred are to choose a time
period before the computer goes to sleep or 'never'. I just booted
into XP and checked what I have there. XP doesn't have 'sleep', it has
'standby'. I have this set at 30 minutes - the same time interval as I
have for the 'sleep' setting in Win7. But I know from considerable
experience that XP doesn't drop into standby while there is activity
happening in the computer. I have processed many movies and never had
the procedure interrupted until it was done.
Just set to never. There is also I think the ability to set Power plans.
You may be able to set up individual plans I have not looked as there not
needed on the main desktop and the laptop running xp has such plans built in
with Toshibas software
 
M

Michael Walraven

As there hasn't seemed to be any useful suggestions on how to stop Win 7
from going to sleep if a rendering program is running I offer the following

A complaint in Vista was that if there was a low level program running in
the background then Vista would NOT go to sleep. (For instance in my case I
was running a public service protein folding massive parallel machine
program in the background). This also applied to some third party screen
savers. I do not know the internal Microsoft thinking but they may have
tweaked their internal logic to prevent that, thus a rendering program may
be considered a 'background' job that can be paused for sleep. If I had one
of the programs that is giving the problem I would check the running
priority of that program and see if it is running at a low-level.
(Task Manager, right click the program, select to find the process, then
right click and properties, check the priority. If it is less than -normal-
try setting to normal) and see if the sleep operation changes.

Not a very good suggestion I know, but you don't seem to be getting anything
else.

Michael
 
D

Decrepit

Thanks for the pointerOn Mon, 14 Dec 2009 11:59:44 -0000, "Dave-UK"
Ok - I never use sleep mode so don't know the answer to that one.
The only program I leave running during the night is Grabit when I'm
downloading stuff from newsgroups and that has the option to shut
down the computer when the download has finished.

Have you looked in the Group Policy editor?
There might be something there that you could tweak.

gpedit.msc
Computer Configuration
Administrative Templates
System
Power Management
Sleep Settings > Turn on Applications to Prevent Sleep Transitions (Plugged In).
Thanks for the pointer, Dave. Never been there before. It sure looked
promising, but if simply enabling it is all that should be required I
can report after testing that it doesn't do the job. Bummer!
 
L

Lange

It seems to be a prefectly normal behaviour on the standard Windows 7 setup.
Guess it's more of a laptop setting (for saving battery power).
But... you're computer has not been shut down like you thing it does.
Just press the powerbutton once quickly and it will boot up to the login.
Once there, you click on your login and you'll find you're computer in
the same state as it turned off on it's own... with all the programs and
windows active as you left it the last time. Works everytime!!
 
Joined
May 19, 2009
Messages
27
Reaction score
1
Reading for comprehension?!

Is it so hard to read the actual question being asked, and then either provide a relevant answer or -- if you don't know -- avoid providing irrelevant answers? Good grief, I see only one or two actually-relevant answers in this whole thread -- and the rest is way off the mark! This is one of the most frustrating aspects of "peer help" forums.

The OP's question is, in a nutshell: How can I get the sleep timer to see my long-running process as the computer being active, not inactive, and not time out until after that process is done?

The question is not: Gee, my computer shut off, what do I do?

The question is not: Gee, how can I turn off my computer after my long-running process is done?

The question is not: Gee, how can I keep my computer running?

As someone who is also trying to keep my Windows 7 system awake during renders, after which it can go to sleep (not turn off), I find this thread that could have been helpful to be just a source of further annoyance instead!

If you don't understand the question, don't answer! If you don't know the answer, don't answer! That goes for this forum and any other peer-help forum on the Web! Shouldn't this be obvious?!
 
Joined
May 19, 2009
Messages
27
Reaction score
1
A work-around

Using the Insomnia program worked for my render today:
http://blogs.msdn.com/b/delay/archi...ly-prevent-a-machine-from-going-to-sleep.aspx

It's not a proper fix, but it's better (IMHO) than fiddling with the Sleep setting constantly, which will generally lead to forgetting to turn it off when you want it off and forgetting to turn it on when you want it on.

Other reading I did, and the success of Insomnia, leads me to believe that applications need to disable Sleep during renders, as explained at the above link. Insomnia is good for the applications that don't do that (yet). I plan on contacting the developers of the software I use to ensure they do this in future versions.
 
Joined
Aug 1, 2012
Messages
1
Reaction score
0
stop Win 7 from sleep while app runs

I have used elevated CMD.exe to instruct the O/S to not enter sleep-state while a application is running:
POWERCFG -REQUESTSOVERRIDE PROCESS “enter the path to your .exe here” SYSTEM

Application finishes, then PC sleeps after the interval set in Power Plan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top