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: Shutdown, LogOff, Sleep, and Hibernation Question?

22 Oct 2010   #1

Windows 7 Home Premium 64bit
 
 
Shutdown, LogOff, Sleep, and Hibernation Question?

Hey I was trying to add a task scheduler script to run when the computer logs off, but does Windows log off when shutting down, sleeping, or hibernating? and when does the computer switch between sleep and hibernation? And why does my computer freeze after Sleep/Hibernation (or what could I do to find out the culprit)?

Sorry for so many questions!!

My System SpecsSystem Spec
22 Oct 2010   #2

Operating System : Windows 7 Home Premium Edition 6.01.7600 SP1 (x64)
 
 

hello welcome to the forums have a look at barefootkids tutorial for How to Create a Task that will Shut Down the PC Automatically
Task Scheduler : Create Shut Down PC Automatically Task
brinks tutorial
How to Enable or Disable Hibernate in Windows 7
Hibernate - Enable or Disable
My System SpecsSystem Spec
22 Oct 2010   #3

Windows 7 Home Premium 64bit
 
 

thanks for the tutorials! the hibernation one was good to know. the shutdown one, however, misses the point of my inquery. I was wondering if Windows logs off before shutting down? The script I wrote disables a USB audio interface I have (because it's drivers aren't working too well in windows 7 whenever my computer sleeps or shuts down) when the computer logs off. This would be pointless, though, if Windows doesn't log off at shutdown...
My System SpecsSystem Spec
.


22 Oct 2010   #4
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Gorgrak,

When you click on Shut Down, Windows will log off users first, then shut down the computer.

Hope this helps,
Shawn
My System SpecsSystem Spec
22 Oct 2010   #5

Windows 7 Home Premium 64bit
 
 

yes sir thank you so much!
My System SpecsSystem Spec
22 Oct 2010   #6
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

You're welcome.
My System SpecsSystem Spec
Reply

 Shutdown, LogOff, Sleep, and Hibernation Question?





Thread Tools



Similar help and support threads for2: Shutdown, LogOff, Sleep, and Hibernation Question?
Thread Forum
During Auto-shutdown laptop stuck on Logoff screen General Discussion
Solved Sleep and hibernation question General Discussion
Solved Logoff script not running at shutdown General Discussion
Remove logoff & shutdown gpedit BUG? General Discussion
Is there a way to execute a prgm/script at user logoff/shutdown? General Discussion
7 logs me off after short idle (not sleep, logoff) General Discussion
Logoff/sleep freezes 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 12:57 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