Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    New Lounger
    Join Date
    May 2011
    Posts
    24
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Is Maintenance during Sleep or Hibernation possible?

    I've wondered for a long time whether a computer will be able to preform scheduled maintenance tasks (i.e, Defrag or Backup) while the computer is in Sleep Mode or Hibernation. Will the task "wake up" the computer or will the computer just not perform the task? Thanks for any help or tips.
    Mike Rapp

  2. #2
    Administrator
    Join Date
    Jun 2010
    Location
    Portugal
    Posts
    12,519
    Thanks
    152
    Thanked 1,398 Times in 1,221 Posts
    If the apps that will do those tasks do not do not allow you to choose an option to have the computer wake up from sleep, you can use the Task Scheduler to do that. Waking up from hibernation is said to be possible, with apps such as WakeUpOnStandBy.

  3. #3
    New Lounger
    Join Date
    Dec 2009
    Location
    Allentown, Pa, USA
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    So if Disk Defrag task is scheduled every Wen. at 1:00 AM (default setting) and the laptop lid is closed, and in sleep mode, then disk fragmentation will not take place. Sort of makes this tasks worthless, as we all close the lids on our laptops when not in use.

    Why would windows use a default scheduled task on a laptop for 1:00 AM, when at that time, most users will have the laptop in sleep mode (lid closed) during the scheduled task?

    Or is it possible the windows task scheduler opens the lid wakes the computer, defrags your hard drive, closes the lid and puts it back to sleep


    Thoughts?

    Thanks
    Larry
    Window 7 64 HP Laptop
    Last edited by Lahawk; 2013-02-25 at 23:02.

  4. #4
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,594
    Thanks
    5
    Thanked 1,059 Times in 928 Posts
    That depends on the settings for the task. It may be set to wake up the PC.

    Joe

  5. #5
    New Lounger
    Join Date
    Dec 2009
    Location
    Allentown, Pa, USA
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Wake Up is probably what's happening, it just seems confusing as one would think, that when the lid is closed, nothing can happen. How would I know? There is no defrag history that I can find.

    Side Note: For laptops, could waking an unattended laptop, and running disk defrag be an overheating safety issue? Will task scheduler wake up a laptop on battery power if not plugged in?

  6. #6
    Administrator
    Join Date
    Jun 2010
    Location
    Portugal
    Posts
    12,519
    Thanks
    152
    Thanked 1,398 Times in 1,221 Posts
    The lid being closed doesn't mean the computer needs to be in a shutdown state. If you use Task Scheduler, there will be a log of the times it has run.

    It could, indeed, happen for a laptop, that it would be awaken from sleep while inside a computer bag, for example, where heating could be an issue. If you have scheduled tasks, you'd better be careful. I believe you can configure defragmentation not to occur when on battery power, but I guess it can depend on the app use for defragmentation. I am not sure the native Windows defragmenter supports this behavior.

  7. #7
    Plutonium Lounger Medico's Avatar
    Join Date
    Dec 2009
    Location
    USA
    Posts
    12,631
    Thanks
    161
    Thanked 936 Times in 856 Posts
    Generally if a scheduled task cannot be accomplished due to PC not being active, then when the PC is manually awakened the task will start.
    BACKUP...BACKUP...BACKUP
    Have a Great Day! Ted


    Sony Vaio Laptop, 2.53 GHz Duo Core Intel CPU, 8 GB RAM, 320 GB HD
    Win 8 Pro (64 Bit), IE 10 (64 Bit)


    Complete PC Specs: By Speccy

  8. #8
    5 Star Lounger
    Join Date
    Jul 2012
    Posts
    967
    Thanks
    662
    Thanked 58 Times in 57 Posts
    I don't have Windows 7 so I can't check how I did it but last July I was able to set some I believe power options so that the computer wouldn't shut off when closing the laptop lid
    --- As stated scheduled maintenance items will run if set up properly in Task Scheduler
    ------ The computer I worked on did have Hibernation mode
    On why programs are usually set to run at night by default even though a computer is normally shut down
    --- Some of my friends wonder about that, most of them also have their computers shut down during the day when they are off to work but then wonder why scheduled items do run and/or scan when they start their computer back up
    --- So now they are trying to do their computer work in the middle of scheduled programs doing their job
    --- So demanding that their computer has instant capability for them can be an issue but that's the computer world
    --- I know trying save electricity costs are behind their reasoning and/or why does the computer need to run at night but again it's a users choice on how to balance proper maintenance & protection on their computer vs the users needs of how they use their computers
    --- Personally I allow my computer to run overnight so that maintenance including malware programs to run and scan overnight.
    --- That's an owner's choice.
    --- If preferred programs can be scheduled during the day and in many cases will run upon startup

  9. #9
    WS Lounge VIP mrjimphelps's Avatar
    Join Date
    Dec 2009
    Location
    USA
    Posts
    3,411
    Thanks
    447
    Thanked 406 Times in 378 Posts
    I always set my laptop so that shutting the lid has no effect on anything, except perhaps turning off the monitor. I prefer to tell it to shut down or go into sleep mode when I want those things to occur.

    If you'll set your laptop this way, none of your automated tasks will ever have a problem when you shut the lid on your laptop.

  10. #10
    WS Lounge VIP mrjimphelps's Avatar
    Join Date
    Dec 2009
    Location
    USA
    Posts
    3,411
    Thanks
    447
    Thanked 406 Times in 378 Posts
    It is useful to run certain things at night, such as Windows and anti-virus updates, anti-virus scanning, defragging, backing up the computer, etc. The electricity you will save by powering down at night is negligible, but the time you'll save by running these tasks at night is enormous.

    I don't shut my computer down very often. If you shut down every night, then power up every morning, you will have continual cool downs / heat ups. The stuff in your computer is made of different types of materials, which contract and expand differently as the temperature changes. By cooling down / heating up often, you are putting unnecessary stress on your computer.

    It is useful to restart Windows sometimes, in order to refresh settings, temp files, clean the memory, etc. But a Windows restart doesn't require that you power down for any length of time.

    The only time I power down for an extended period of time is if I go out of town for a few days.

    The above applies to desktop computers. With laptops, you have to consider battery issues, but that's for another discussion.
    Last edited by mrjimphelps; 2013-02-26 at 12:36.

  11. #11
    Super Moderator jwitalka's Avatar
    Join Date
    Dec 2009
    Location
    Minnesota
    Posts
    6,798
    Thanks
    117
    Thanked 799 Times in 720 Posts
    I power down every night and have done so for years without any hardware issues. I do my backups and av scans while idle or while I continue to work including a weekly image backup. Windows 7 and 8 will automatically do defrags so i never manually start it.

    Also, the need to periodically reboot Windows has diminished considerably with Vista, windows 7, and Windows 8. XP will benefit with periodic reboots.

    Do what ever is comfortable for you.

    Jerry

  12. #12
    New Lounger
    Join Date
    Dec 2009
    Location
    Allentown, Pa, USA
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Double Check Your Scheduled Tasks

    (Discussing Laptops and Scheduled Tasks)

    Makes me wonder why the Windows 7 DEFAULT way of handling scheduled tasks is in the middle of the night, and the DEFAULT result of closing the lid is to enter sleep mode. Seems counter intuitive and unsafe. Easily changed, sure, but perhaps some type of notice should be issued that your laptop will be awaken from sleep mode, in the middle of the night, to say, defrag your hard drive, thus creating a possible safety hazard (over heating)

    However given all that, I'm not 100% positive the scheduled task is actually occurring, as the defrag task contains no history of every performing that scheduled task. Yet it seems like it may, as my hard drive never seems to be fragmented, so perhaps the scheduled task is actually waking up my laptop at 1:00 am, defragging my hard drive and putting the laptop back to sleep, and I suppose that's OK. But still in all, it may not be wise to have scheduled tasks, unattended, on a laptop, in the middle of the night. Just seems unsafe, especially if it's not cooled properly.

    But I'm fairly certain that on a laptop, the default scheduled task will not occur if the laptop is not plugged in to an electrical outlet, so battery only, will cancel that task, but it may still be worth while to have a look at the way your current laptop is setup to handle scheduled tasks.
    Larry
    Last edited by Lahawk; 2013-03-01 at 09:42.

  13. #13
    New Lounger
    Join Date
    Dec 2009
    Location
    Allentown, Pa, USA
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Just had a completely different thought

    The default windows setup is: laptop lid closed...sleep mode
    The default windows scheduled task is: 1:00 AM with laptop in sleep mode.

    This makes sense because....drum roll...

    A windows laptop in sleep mode will perform scheduled tasks without waking the laptop

    Also for the default scheduled tasks to work, the laptop needs to be plugged into an electrical outlet. The default scheduled task will not work in battery only mode.

    Windows sleep mode allows for sheduled tasks to take place in the background. This is why windows set up task scheduler/ laptop lid closed as the defualt parameter. Since the scheduled task takes place while in sleep mode, saftey is not comprimised.

    Am I correct Not 100% sure, if I am, do I win anything?
    Larry
    Last edited by Lahawk; 2013-03-01 at 09:43.

  14. #14
    WS Lounge VIP mrjimphelps's Avatar
    Join Date
    Dec 2009
    Location
    USA
    Posts
    3,411
    Thanks
    447
    Thanked 406 Times in 378 Posts
    Larry:

    I don't believe you're correct in assuming that Windows will perform scheduled tasks while in sleep mode. The idea of "sleep mode" is that there's no activity going on; everything is "frozen" just as it was when sleep mode began, so as to allow a very quick startup to that point.

    You're right; it does seem counter-intuitive that the laptop would go into sleep mode when you shut the lid, except when you consider that one of the main things Microsoft tries to achieve with their products is that their products hold your hand and automatically do as much as possible for you. And everything shutting down when you close the lid, and then starting back up right where you left off when you open the lid, fits that methodology.

    If you think about it, that would probably be a good thing much of the time. But it's not what I want, and it's not the way I set up computers for other people, because sometimes it causes issues, such as when you have an external monitor, mouse, and keyboard, and you want to keep the laptop lid closed while you work.

  15. #15
    New Lounger
    Join Date
    Dec 2009
    Location
    Allentown, Pa, USA
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    No Prize For Me

    You are probably correct Jim, and there goes by award. So a scheduled task wakes a computer, even if the lid is closed, performs the task, and puts the computer back to sleep. Sounds like this girl I once knew...she would...ahh...never mind.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •