Maintenance :: Computer Will Not Return To Sleep After Scheduled Task
Feb 23, 2014
Almost every morning for the last month or so I will discover my computer is running (monitor off, but computer not in sleep mode as it should be). To figure out what was waking it, I went to cmd prompt and used the command "powercfg -waketimers":
Timer set by [SERVICE] DeviceHarddiskVolume1WindowsSystem32svchost.exe (Sys
temEventsBroker) expires at 4:01:43 AM on 2/23/2014.
Reason: Windows will execute 'NT TASKMicrosoftWindowsTaskSchedulerRegular
Maintenance' scheduled task that requested waking the computer. I also tried "powercfg -lastwake":
So it appears that "Regular Maintenance" is waking my computer. But why isn't it returning to sleep? It used to.
I then went to Power Options > Edit Plan Settings. These settings are still correct (Put the computer to sleep: 30 minutes).
Next I checked the Task Scheduler. Under "Active Tasks" I found "Regular Maintenance".
Next run time: 3:53 AM tomorrow. That very closely matches the 4:01 AM listed in "powercfg -waketimers", but I find it odd that it is after the scheduled time.
Triggers: At 3:00 AM every day
Doubling clicking on Regular Maintenance provides more detail.
Last Run Time: 5:46 AM
Last Run Result: operation completed successfully
However, another item in here is "Idle Maintenance".
Triggers: when computer is idle
Last Run Time: 5:46 AM
Last Run Result: The process terminated unexpectedly. (0x8007042B)
All of my drive partitions are scheduled to optimize weekly rather than daily. My computer is waking up daily.
Last night I turned all scheduled optimization off. This morning my computer was again woken from it sleep.
The cmd prompt gives me the same reason for the wake (Regular Maintenance).
Task Scheduler shows Regular Maintenance as:
Last Run Time: This morning at 4:36 AM
Last Run Result: The last run of the task was terminated by the user. (0x41306)
Under Idle Maintenance it shows nothing for this morning.
What does this mean? Optimization ran despite me turning it off?
Having a problem with the Regular Maintenance waking the computer (Windows 8 on a Lenovo Q-190) to do its scheduled task as it's supposed to do. Here are the symptoms:
1. If I change the time for Scheduled Maintenance in the Action Center (Change Maintenance Settings), it WILL be reflected properly in the Properties of the Regular Maintenance Task in Task Scheduler.
2. However, if I check the box for "Allow scheduled maintenance to wake up my computer at the scheduled time" in the Action Center (Change Maintenance Settings), it WILL NOT reflect in the Properties of the Regular Maintenance Task in Task Schedular. Specially, I check the box to wake up my computer in the Action Center Maintenance Settings, but the corresponding checkmark is NOT reflected ("Wake the computer to run this task"), in the properties of the actual task in Task Scheduler.
3. I then put the checkmark directly in the Regular Maintenance Task itself ("Wake the computer to run this task"). However, at some point in the future, (not right away; I close and then reopen the task to make sure that it 'sticks'), the checkmark "disappears. Then, the task does not run at night while the computer is asleep, but runs in the morning when I wake the computer for regular use. At that point, the checkmark in the task is gone.
I should have had an automatic system restore backup today (It's been 7 days since the last system backup). It didn't happen, so I checked the Task Scheduler, and I see that System Restore task last ran yesterday morning at 8:46. Why didn't it run this morning?
I have Automatic Scheduled Maintenance set to run at 3:00AM. I get to this setting by going to Control Panel > Action Center > Maintenance > Change maintenance settings. I also have the box for "Allow scheduled maintenance to wake up my computer" checked.
However, I note that if I put my computer to sleep for a few days, when I wake it back up, Automatic Scheduled Maintenance has NOT run. I can tell this because my antivirus definitions are out-of-date and haven't been updated since I put the computer to sleep.
how to figure why it's not waking up for Scheduled Maintenance? Is it possibly a BIOS setting? Do I have to manually add it to Task Scheduler? I'm running Windows 8.1 Update 1, ASRock Z87E-ITX mobo, Intel i7-4770S CPU, Samsung 840 EVO mSATA SSD, 16GB RAM.
I have a dual boot laptop with Windows 8 and Win7. When I choose to run chkdsk /f from Command Prompt(Admin) on my Windows 8 boot drive, I get the normal message that says disk is in use and to type "Y" to schedule it to run on restart. I type "Y" and hit "Enter", but if I either Restart or Shutdown and turn laptop back on, and choose to boot Windows 8, chkdsk seems to cancel itself. I get the message to "press any key" in 2 seconds if I want to cancel the disk check, but I never press or do anything yet chkdsk seems to cancel itself. When Windows 8 boots I have looked in Event Viewer and there is no sign of any chkdsk or wininit event that says it checked disk for errors.
I have gotten the message in Action Center, to reboot to scan and repair errors which works fine. Right clicking my boot drive, going to the Tools tab and scanning drive for errors also works. My only issue is scheduling to check my boot partition for errors via command prompt.
Must I disable Fast Startup/Hybrid Boot for the scheduled chkdsk to work or something else?
It seems that Windows 8.1 Pro's scheduled defrag is consolidating free space, which is taking forever on one of my 2 TB data drives, which has about 300 GB free space. I stopped it at about 9%, and dfrgui immediately showed it as "OK (0% fragmented)". Clicking its Optimize button resulted in the defrag phase completing almost immediately, but then it was back to consolidating free space, starting at 5% this time. According to Task Manager, it's read/writing about 40 MB/sec, and the Active Time is over 90%. I really don't want this to go on for hours and hours and potentially repeat itself during future scheduled scans. Is it possible to alter this behavior, or should I just disable the weekly defrag task?
I deleted maintenance tasks in task scheduler (Microsoft>windows>task scheduler) because I didn't want to have automatic maintenance fire up when I'm working, but sadly... some shit got messed up. My computer starts using hdd at 100% if left idle, and then freezes and all kinds of weird crap that I'm almost positive have to do with me deleting maintenance.
which tasks do I need to re-create in task scheduler in order to have auto-maintenance once again. If you could just read to me all the tasks, triggers, and which programs they are running .
I found out how to add a task to the Automatic Maintenance that runs each morning. I use Geekzone's EPG collector to fill in the guide on Media Centre and I though it would be nice for it to run as part of Automatic Maintenance rather than wake the computer up again later to do it's thing.
Create an XML files in notepad and paste this in...
Save the file then in Task Scheduler, import the XML and it will appear. Edit it from there further if you want.
I got this from exporting a task that runs as part of Automatic Maintenance and edited it to suit.
the thing is, I still don't know how it works! I haven't been able to create a schedules task from scratch that runs as part of Automatic Maintenance.
Other than plagiarising existing tasks to get what I want, how it's really done?
I have what I want, and it works great being able to run all the things I want all at the same time at 3AM each day, as part of Windows' ritual. Even better, if I disable it from waking the computer, everything runs when I'm logged in and Idle. It's fantastic.
I have had to do a complete reset of my computer recently and ever since I did that I have not had the option of putting my computer to sleep even after checking all my drivers to see if they are up to date. I am also having a problem where when I turn on my computer It will stay a black screen even though all signs point to it working just nothing shows on the screen. After a complete shutdown by holding the power button and turning it back on it works but doesn't let me get into BIOS.
My laptop won't go to sleep when It's plugged in for some reason, though if I take out the power cable it will sleep. If I have the power cable out, send it to sleep then plug the power cable in this doesn't wake it up.
I've gone into the power option's but I'm not too sure what I can really change to make it work.
I've changed the multimedia setting's to allow the computer to sleep.
I've tried the different power plans - same behaviour.
I just got a new Win 8 computer. I love it, however it wakes from sleep mode every 15 minutes on the dot. It will wake for about 2 minutes than sleep again.
Is this something it should do in order to get some air flow every once in a while or can I stop it from doing this? I have searched around online and tried everything i have come across. I turned off the setting that allows programs to wake the computer, as well as made sure the ethernet connection doesn't wake it.
Every few days my computer will BSOD when waking from sleep. The screen will display this message as the error "DRIVER_IRQL_NOT_LESS_OR_EQUAL cmudaxp.sys". Also sometimes the system will crash during sleep but no mini dump will be created. I have looked at the minidumps that were created and the only thing its pointed to were the cmudaxp.sys driver, hal.dll and ntoskrnl.exe. I tried reinstalling the 18.104.22.1682 drivers for the soundcard but that did not solve the problem. Today i reverted back to older drivers 22.214.171.1241 and will see if this fixes it. .dmp files included in attachment.
I have a custom built computer running Windows 8.1 64-bit. Recently, it stopped going to sleep on it's own (except the first time that the power plan is followed after boot). Otherwise, the monitor goes to sleep and that is it. After a bunch of other attempts and fixes, I have found that there is a driver that is blatantly disregarding powercfg settings (as seen here: [URL] .....). This has been going on for over a week. I have run sfc /scannow, and dism /online /cleanup-image /restorehealth with no luck.
I took my computer to a computer repairs to get my fan fixed and when I got it back I found that my computer kept crashing when waking from sleep. It happens every time and is inconvenient as it just resets. It also takes longer to turn on, it has a black screen for a short amount of time, it was not like this before, I can put up with the added turning on time but I need to be able to sleep and wake my laptop without issues.
The display and the sleep feature timers do not work. I just did a complete restore to try and correct this problem and another problem, which was no restore points and no ability to create one. The restore points are working for now, I mean that I was able to create a restore point. The display and sleep timer, not so, still a problem.
I've had this desktop Windows 8 computer since November and honestly I don't know if this has been a problem the whole time or not. Definitely, not the display, I know it has worked, but the sleep timer I'm not sure. I set the timer and just assume it sleeps and then goes into hibernation after a certain amount of time. With all the refreshing and restoring and changing over to this computer, I've not been paying much attention to the sound of the fan or the missing orange color on the power button (not visible, on the side of the computer).
I've set the timer through the Power Options feature in the Control Panel to 10 minutes for the sleep and to turn off the display to 3 minutes. Neither of them respond after set times. The computer is still wide awake and the display is not gone.
I have also gone to the "Change Advance Power Settings" menu box and turned off the hybrid sleep, which didn't work, and the Multimedia Settings in this menu box to turn on the setting "Allow The Computer To Sleep". Neither of these fixes did anything.
How can the computer not respond to something so basic and fundamental to its design?
Lastly, I'm wondering how this idea of powering down works at all. What I would like is for the computer to sleep after 20 minutes and then go into hibernation after 45 minutes. This would be when I'm done for the day. I have set the hibernation time in the "Change Advance Power Settings" menu box, but of course that does not respond either.
I just got a new laptop with an i7-4700mq in it.. 4th gen Intels.. what does task manager performance tab show? Mine shows the processor at 1% usage, but the speed up at 3.2 GHz which is turbo boost speed I think..
See attached picture for what I mean. I just remember my previous laptop (i7-740qm) would show it throttling right down to less than 1GHz when nothing was happening. I have the latest drivers.
I recently bought a new Dell Inspiron laptop with Windows 8 (first time 8 user). I am loving the computer so far and don't mind Windows 8. It is not nearly as bad as people have told me, just takes getting used to.
However, I have had a problem when I put my computer to sleep. The screen shuts off and the power button blinks slowly like a slept computer would. However, the computer continues to feel as warm as it does when it is on and running. I also had it unplugged overnight after I put it to sleep, and in the morning, the battery had died, which shouldn't happen when it is asleep. I am far from an expert but I figure that while the computer goes to sleep, some program may still be running to keep using all that power.
How can I fix this problem because I need to transport my laptop around, but don't want to put it in an enclosed case if it stays warm while asleep?
After my upgrade to 8.1 Pro my computer lost the ability to sleep/hibernate. After following many tips on here, I managed to get sleep & hibernation onto the shutdown menu so manual operatin works okay.
The automatic mode is still a work in progress but I'm wondering if I've managed to get it to go into automatic sleep mode but not as yet hibernation.
I prefer to use hibernation so don't really know alot about sleep mode - I've got it configured to go into hibernation (10 minutes ) before sleep (15 minutes) in the power options.
After a period of time the computer will automatically attempt to enter either sleep or hibernation mode - not sure which. The screen switches off and the cpu increases in volume as if its consuming more power. The blue light flashes slowly which to me signifies that it has entered sleep mode. The computer has in effect shut down but sounds like its in overdrive with either the cpu or fan going ten to the dozen. Clicking the mouse wakes it up and brings it back to the sign-on screen.
So what's going on here? Is this a failed attempt at sleep mode as trying manual sleep brings the same result. It certainly doesn't go into automatic hibernation which is something I'm ultimately trying to resolve.
So I'm not sure if I've solved automatic sleep or not as its unbearably noisy and not something I can put up with.
When CPU usage is just high (50% to 60%) and I open Task Manager, it's usually McAfee on access scanner at work because I've just clicked an emoticon or something like that. Other examples are service host -- some long winded process I can't always find in the TM list to get the name right.
But when it's 100% and this has happened consecutively for over half a dozen attempts to find what spikes this, I'm dead serious: CPU usage has dropped immediately to under 3%. Yesterday and today I've "caught" this thing 2 times. CPU usage drops so fast you can't see what spiked it.
There are 2 Google Ads that pop in right about here but don't show up when I edit the post. These do not work, find hundreds of non-existent "errors" so that you'll buy the program and then when you run it you might get less than half a dozen errors fixed. Don't trust these programs, I don't. I have no control over what Google Ads does but I'd call it anything but "Adsense" to be honest.
I had Norton trial as the default AV when I first fired up and set up the laptop but I'm a McAfee person so set this up and removed Norton during the McAfee setup process. So it's not likely this is an infection. I apply all updates as soon as I see them, if I'm working and can't quit at the time an Update notice comes through then it's no more than overnight that these are applied.
Any way to add the command to end a task to the context menu. E.G. When you right click something on your taskbar you could click "End Task" instead of "Close", this would be extremely convenient instead of having to open Task Manager.
Sometimes when my computer goes to sleep and I reactivate it some of my task bar options are lost
The date & display is no longer present neither is the volume control or my wifi display.
Also when this takes place I can no longer open any programs that are in the task bar I can simply click on them but nothing happens and when I attempt to open task manager it does not work I simply receive a black screen.
The only solution I have found so far is to restart and this solves the problem.
This is a new computer and I have only been using it for two or three days.
My Acer M5811 will not wake up from sleep mode on intermittent basis. Running Windows 8 Pro 64 bit. Power settings are disabled for both the monitor and CPU. I have also disabled "allow computer to shut off applications to save power" to devices. I never had this issue until I installed Windows 8 (clean install) from Windows 7. I have updated all drivers but have had no luck. The computer will wake up successfully several times, then it will not wake up. It appears to start up but the monitor remains in sleep mode. The only way to fix the problem is to shut down the computer and then restart. Acer M5811, purchased May 2010; i760 processor; 8 GB ram, ATI Radeon 5570, 1TB hard drive.
I did a fresh install (upgrade) and the moment I got the desktop up and idle, I tried to put the computer to sleep. It did, then 5 seconds later, on it came again.
Event viewer says "wake source unknown".
I have updated all drivers from asus, and installed all windows updates. No difference.
I have used every tool POWERCFG gives, it's report is clean, there are no wake requests, all devices (mouse keyboard) have had their wake ability disabled, I have even disable ALL devices in bios, booted without a keyboard and mouse and still, it wakes as soon as it's put to sleep. Even with all on board devices disabled except for sata.
Wake source: unknown.
I boot into Win 7 from another hard drive, no issues.
One thing to note is that from a fresh restart, if i put it to sleep, it stays asleep. Once waked, it will never sleep again. Restart the system, leave for idle for ages, hit the power button; it goes to sleep and stays. After waking, it never stays asleep again.
I have tried safe mode. no difference.
I have disabled all services. I have changed all the power settings to disable wake timers and to allow sleep during sharing. Still no difference.
What's up with my Asus Z8P68-V Pro that disagrees with windows 8? All my other machines have no issue.
I have no choice but to keep using Win7 at the moment, I can't have a computer that doesn't sleep.