Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Suddenly, sleep command leads to window's shutdown?


16 Apr 2012   #1

Windows 7 HP 64-bit
 
 
Suddenly, sleep command leads to window's shutdown?

Running a Gateway DX4720-03

All-of-a-sudden, now when my computer is set to sleep, it no longer sleeps but shuts down. I have it set to sleep when inactive for 10 minutes, or when I depress a specific button on my Logitec cordless optical trackman. Been doing it this way for 2 years without a problem. I have also tested the sleep command by choosing sleep from the Start globe on the taskbar. In all instances, the sleep command leads to a shut down.

When awakening the shut down computer, I get a Windows Error Recovery screen. Choosing Normal Start reboots everything without a problem. However, one interesting thing I noted was that if Firefox is minimized at the time the sleep command is given, on rebooting, Firefox informs me that FF crashed and asks if I want to restore it.

I'm at a loss as to why this is happening and how to fix it...


EDIT: I might also add that although I have been using Google search engine in FF's address bar, I now note that Yahoo has become my default search engine. However, I was able to change it back to Google. However, when highlighting text and dragging to an empty space (which normally brings up a Google search), now brings up a Yahoo search...even though the address bar now brings the Google search-as wanted???

My System SpecsSystem Spec
.

16 Apr 2012   #2

Win 7 Pro x64 SP1, Win 7 Ult x86 SP1
 
 

Quote:
When awakening the shut down computer, I get a Windows Error Recovery screen.
To me this doesn't sound like it is shutting down, it sounds like a problem sleeping or waking up.
Do you have hibernate enabled and can you test that to see if it hibernates and resumes ok?

Here is a tutorial that may help.
Gathering a Startup, Shutdown, Sleep, Hibernate, or Reboot Trace
My System SpecsSystem Spec
16 Apr 2012   #3

Windows 7 HP 64-bit
 
 

I'm quite certain that the computer is shut down as it "on" light goes out and there certainly isn't any drive noise to be heard.
My System SpecsSystem Spec
.


16 Apr 2012   #4

Win 7 Pro x64 SP1, Win 7 Ult x86 SP1
 
 

Sleep can turn off the light, hard drives, fans, etc.
Did your PC previously have these turned on when sleeping?
If so, you probably use S1 sleep.

It depends on what Sleep State is being used.

I use S3 sleep and S4 hibernate.

Here is link that explains the sleep states:
Standby Explained (S1, S3) - Omar Shahine's WebLog - Site Home - MSDN Blogs

Anyway, can you test if hibernate works?

edit: Also do a Shutdown to see if it restarts without an error.
My System SpecsSystem Spec
17 Apr 2012   #5

Windows 7 HP 64-bit
 
 

Sleep definitely shuts the computer down. No matter what I do in Power Options, when selecting Sleep, computer is definitely off. How can I be so sure?

Well, in the past when Sleep was working, there would always be a blinking blue light emanating from the computer's on/off button and when bring back from Sleep all I would have to do is tap any key or left click my mouse and without any hassle, open programs would come back. However, now when selecting Sleep, no blinking blue light, no awakening when tapping keys or left clicking mouse. To open computer I have to depress the on/off button and when the computer comes to life there is that Windows Error Recovery screen and when Firefox is opened, I'm told that it crashed and if I wanted to restore stuff.

The results of a Hibernate shut down are quite different and look to be normal. No blinking on/off light, but have to depress this button to get things started. Screen says Resuming Windows instead of Starting Windows as it did when using Sleep, there is no Windows Error screen, and I'm not asked to my user password. Also, Firefox opens without any "crash" alert.

I guess I can live with using Hibernate, but it is a real PITA compared to Sleep and I would much prefer to get to the bottom of this so that I can use Sleep.
My System SpecsSystem Spec
17 Apr 2012   #6

Win 7 Pro x64 SP1, Win 7 Ult x86 SP1
 
 

Does Shutdown work ok?

In Power Options enable Hybrid Sleep.
Click on Sleep.
When you restart the PC does it resume from Hibernate?

The blinking light means your PC uses S1 sleep.

It may be there is not enough power to support S1 Sleep.
Maybe the PSU is starting to go, or an issue with MB voltage control.

If your PC supports S3 Sleep, you could try that.
You would have to go into bios and look for the sleep setting.
S3 uses less power than S1.
S3 will turn off all fans, the light, HD, etc.
Only power it uses is a small amount for the RAM.

You could also try using the tutorial i put in my first post to gather Trace info.
I've never needed to do that, so I'm not sure what info is in the trace.
But, it's free and may help identify the problem.
My System SpecsSystem Spec
17 Apr 2012   #7

Windows 7 HP 64-bit
 
 

"In Power Options enable Hybrid Sleep.
Click on Sleep.
When you restart the PC does it resume from Hibernate?"
Fourth paragraph in my post above describes what happens when I select Sleep and Hybrid sleep is enabled. Apparently, and as best I can tell, the start up is resumed from Hibernate.

"It may be there is not enough power to support S1 Sleep.
Maybe the PSU is starting to go, or an issue with MB voltage control."
The computer is fairly new, about 4 years old, but it is quite possible that there may be power issues, of which I know nothing about. Logically, but naively, if the computer's Sleep was working and as you say it needs more power than S2 or S3, this could point to a power problem. So, if you know, how can I check to see if S2 and S3 are available in BIOS (don't know anything about getting to BIOS or how to find S. Also, I would like to check PSU and MB, but don't have a clue how to.

oing the Trace looks cool, but when I looked at the tutorial
My System SpecsSystem Spec
17 Apr 2012   #8

Win 7 Pro x64 SP1, Win 7 Ult x86 SP1
 
 

If i understand correctly Hybrid Sleep works for you.
If you click sleep, then turn on the PC, you do not get any errors.
Your Windows session is "intact", the same as it was when you clicked sleep.
If that is correct, it means your PC is not doing a Shutdown when you click Sleep.

Usually if you keep clicking the Delete key when the PC is booting up you should get a screen where you can enter BIOS.
You will have to get into BIOS and look for a setting to see if you can select S3 sleep.
I couldn't find any info about this for your PC.
If someone here reads this and is familiar with Gateway maybe they can give more specific info.
I build my own PC's...

I'm guessing a power issue because:
Hibernate works, so Windows is able to save the session to HD.
Sleep does not work, and Windows should save the session to RAM.
Sleep requires power to work correctly, Hibernate does not require any power.

Hybrid sleep saves the session to RAM and HD.
With Hybrid, if Sleep fails to wake-up, hibernate kicks in and should resume Windows.

To check your PSU and MB you would probably need to take it to a shop where they can test it.
Or, if you have a friend that builds PC's, ask for help?

I always have spare PSU's around, so that's how I test.
My System SpecsSystem Spec
18 Apr 2012   #9

Windows 7 HP 64-bit
 
 

"If i understand correctly Hybrid Sleep works for you.
If you click sleep, then turn on the PC, you do not get any errors.
Your Windows session is "intact", the same as it was when you clicked sleep.
If that is correct, it means your PC is not doing a Shutdown when you click Sleep."
You got it right. Power options are set so that when Sleep is selected the computer goes into Hybrid Sleep, as it should. However, when not set for Hybrid Sleep, but just Sleep, computer appears to shut down and then reboot with the Windows Error Screen and a crashed Firefox.

I'll try to get into my BIOS and see if I can find S2 and S3... and let you know what I find. BTW, I've never gone into BIOS, so assuming I find S2/3, how do I make the changes to select one of them?
My System SpecsSystem Spec
18 Apr 2012   #10

Win 7 Pro x64 SP1, Win 7 Ult x86 SP1
 
 

In BIOS you use the keyboard to move around and select things.
Hopefully the keys will be listed on the screen - see my example.
Use Arrow keys, Page keys, Enter, ...

F10 should Save your changes, and ESC should discard changes.

The screen-print is from MY motherboard manual, showing where the "S1/S3" sleep setting is.
This is just an example for you, so you have an idea of what to expect.
I couldn't find any info about your BIOS in the Gateway manuals i looked at.

Suddenly, sleep command leads to window's shutdown?-bios-sp-01.png


My System SpecsSystem Spec
Reply

 Suddenly, sleep command leads to window's shutdown?




Thread Tools



Similar help and support threads for2: Suddenly, sleep command leads to window's shutdown?
Thread Forum
Sleep mode leads to being stuck on black screen General Discussion
Solved Occasional random shutdown leads to crash BSOD Help and Support
shutdown suddenly BSOD Help and Support
Solved No REG Command in "Open elevated command window here" DOS Box General Discussion
Window has recovered from an unexpected shutdown in window 7 BSOD Help and Support
Shutdown command problem General Discussion
Shutdown Command and Remote Desktop Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:45 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33