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: All apps closing down overnight when pc is in sleep.


15 Jun 2012   #1

64 bit win 7 home premium
 
 
All apps closing down overnight when pc is in sleep.

Hi

I work on my pc until late at night so have several programs open plus firefox with numerous tabs. I go to bed, the pc goes to sleep, but when i come down in the morning all my programs have closed. All I see is my desktop. No error messages (as pps have mentioned). The pc come out of sleep but its like its restarted itself at some point in the night.

Its rather annoying as I will have all the programs set up ready to start work again in the morning and wont have bookmarked all the browser tabs but everything has disappeared.

It doesnt happen every night.

Thanks.

My System SpecsSystem Spec
.

15 Jun 2012   #2

Windows 7 Ultimate x64, BackTrack Linux 5 R2, Windows XP
 
 

Do you have Hibernation enabled?

you may want to check the following setting in Power Options. Navigate to Power Options in Control Panel and click your power plan (usually Balanced or Power Saver). Click the Advanced power options link and look for this setting:



If the setting for On Battery is similar to mine here, change it to 0 (never). That should correct it for you.
My System SpecsSystem Spec
15 Jun 2012   #3

64 bit win 7 home premium
 
 

Thanks doubled822

Ive done that. It was slightly different for me as im on a desktop and im guessing you are laptop. I now have 'Hibernate After = Never'.

Whats the diff between sleep, hybrid and hibernate? Is it just energy consumption related? Will it make much of a consumption difference if my pc never hibernates? I never turn my pc off.

Cheers.
My System SpecsSystem Spec
.


15 Jun 2012   #4

Windows 7 Ultimate x64, BackTrack Linux 5 R2, Windows XP
 
 

Here is a good article, although pertaining to Vista but also applies to Windows 7.
What is Hybrid Sleep and Differences with Basic Sleep Mode in Vista « My Digital Life

It looks as though your computer may be going into Hybrid Sleep mode which supposedly automatically saves your work. Try playing around with the settings, disabling Hybrid Sleep perhaps. I use the standard "sleep" on my desktop PC at home and it usually picks up instantly right where I left off. I'm so used to using my laptop more frequently that I posted assuming as such for your case.

When you turn your computer back on, do you have to completely log in and reload your profile as well?
My System SpecsSystem Spec
15 Jun 2012   #5

64 bit win 7 home premium
 
 

No i dont need to login/reload, its literally as if its coming out of screen sleep, it just wakes up and shows me the desktop but all the apps have closed.

I'll let you know how it goes
My System SpecsSystem Spec
15 Jun 2012   #6

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by tan8856 View Post
.......No error messages (as pps have mentioned). The pc come out of sleep but its like its restarted itself at some point in the night......
Welcome to the Seven Forums.

Are you saying that there were no error messages on the screen or are you saying that you have looked thru the Windows event logs for errors? Those event logs would also tell you if the computer restarted, but if you have a password set and automatic log on disabled, then you would know if it restarted.

Edit: btw, you are not the first person to report this issue. I cannot locate the thread right now...
My System SpecsSystem Spec
15 Jun 2012   #7

Windows 7 Home Premium x64
 
 

"It doesnt happen every night."

Does the frequency coincide with Windows Update or other Updates that require a reboot?
My System SpecsSystem Spec
16 Jun 2012   #8

64 bit win 7 home premium
 
 

Hi & thanks for your replies.

UsernameIssues - there were no error messages on the screen. How do i view the event logs? They would be interesting...

gigagiggles - it seems to a couple of times a week so dont think its related to updates.

Id just assumed it was my kids messing around on the pc but i now know it isnt
My System SpecsSystem Spec
16 Jun 2012   #9

64 bit win 7 home premium
 
 

UsernameIssue - Ive got to the event logs and there are a number of warning 28, error 251, info 1553 and audit 360. Is this normal? Which are relevant to me? Thanks.
My System SpecsSystem Spec
16 Jun 2012   #10

W7 Pro SP1 64bit
 
 

I'm glad that you found your way to the event logs - I was on my way out, so that post was short. I probably should have spent more time asking questions rather than suggesting actions this early in the game.

One possibility is that the computer is restarting and then going to sleep - you come in and all you see is a computer that needs waking up. You also mentioned that you do not have to log in when you wake it up. And the desktop did not reload or rebuild like you would see during a reboot - the computer was just asleep. So, what I should have asked you, "Do you have a password on the account?" and "Is there only one user account on this computer?"

One user account with no password = auto "log on" after booting

If that is the case, then it is quite possible that...
...some software is causing a restart during the idle night time
...the system logs itself on after the restart
...the system eventually goes to sleep
...you find it asleep the next morning - with the applications closed

I finally thought of a useful search term - so I located the forum threads that I was looking for. They are slightly different, but the apps closed each night due to the system logging the user off.

Get loged out over night
and
Overnight Logging Off

You can see my tiny attempt at helping in that first thread. I suggested opening notepad, entering in some text - but not saving it. That should prevent the system from logging you off and thus prevent the computer from restarting. However, the software can force a restart. That would cause the restart even if an app was opened with unsaved data. I've not encountered too many apps that use the force switch, it is kind of rude :-(

So - you can try the same thing - leave notepad open with unsaved text. Then see if you find the computer looking like this some morning:
Name:  notepad-restart.JPG
Views: 4
Size:  24.2 KB


Back to the Windows Event logs. The main two of interest are the Application events and the System events. If/when you find all of your apps closed, work back thru the System event log entries looking for a large block of event ID 7036. Those indicate that services are being stopped and I find that grouping easy to scan for.
All apps closing down overnight when pc is in sleep.-service-stopped.jpg

You can also look thru the Application event log to see if there is an entry like the one mentioned in the second thread that I linked to above - an entry that tells you which application is restarting the computer each night.


As far as the event entries that you found and asked about:
You can select the entry of interest and read a bit more info in the box below the list. A search of the internet for warning 28 leads me to think that it is related to your network adapter. Probably nothing serious. You can research the other entries or copy/paste the info from the box below the list for each entry of interest - then maybe someone can comment on them.


My System SpecsSystem Spec
Reply

 All apps closing down overnight when pc is in sleep.




Thread Tools



Similar help and support threads for2: All apps closing down overnight when pc is in sleep.
Thread Forum
Minimized apps and Running apps not on task bar General Discussion
BSOD on awake after overnight Sleep. BSOD Help and Support
BSOD computer randomly crashing overnight while in sleep mode BSOD Help and Support
Solved Power/sleep button, closing panel options greyed out Performance & Maintenance
BSOD while closing the PC or closing some games, CDD.dll error BSOD Help and Support
Apps on Dual monitors swapped around when waking up from sleep mode General Discussion
Going to sleep with apps still working General Discussion

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 06:51 PM.
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