Shutdown, LogOff, Sleep, and Hibernation Question?


  1. Posts : 9
    Windows 7 Home Premium 64bit
       #1

    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 Computer


  2. Posts : 3,612
    Operating System : Windows 7 Home Premium Edition 6.01.7600 SP1 (x64)
       #2

    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 Computer


  3. Posts : 9
    Windows 7 Home Premium 64bit
    Thread Starter
       #3

    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 Computer


  4. Posts : 72,051
    64-bit Windows 11 Pro for Workstations
       #4

    Hello Gorgrak,

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

    Hope this helps,
    Shawn
      My Computer


  5. Posts : 9
    Windows 7 Home Premium 64bit
    Thread Starter
       #5

    yes sir thank you so much!
      My Computer


  6. Posts : 72,051
    64-bit Windows 11 Pro for Workstations
       #6

    You're welcome. :)
      My Computer


 

  Related Discussions
Our Sites
Site Links
About 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:44.
Find Us