Maintenance :: Scheduled Task Wakes Computer Up But Does NOT Run?
May 15, 2014
Windows 8 waking & sleeping issues:
This is a backup task I've been using for several years with Windows 7 machines, but only recently started adding to Windows 8.1 boxes. The strange behavior is as follows:
-If the computer is on, the task will start at the scheduled time and do it's thing.
-If the computer is asleep (S3), it will wake up at the scheduled time, but the task never runs??!!
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":
C:WINDOWSsystem32>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":
[code]...
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 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.
I am tired of having a computer in my bedroom waking up sometimes multiple times in the morning hours--like approximately 3 or 4 A.M. Support people have tried to stop this operation but to no avail. It still is doing it although less frequently now. This morning at 3:14 A.M., it woke up automatically and then shut down a few minutes later.
In Event Viewer it said at 3:14 A.M.: The system time has changed to 2013-10-06T10:14:28.500000000Z from 2013-10-06T06:11:17.671868600Z. Change Reason: System time synchronized with the hardware clock. I attached a screen shot of the info in Event Viewer, for your reference.
Why does the computer have to do this at 3:14 A.M.? Can't this occur some other time like during the day when the computer is running?
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?
After installing 8.1, pushing the power button on my venue pro 11, no longer wakes it up. I have to hold the button several times before it finally restarts. Ive read this could be due to an update. It did not do this before 8.1.
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.
Here's how:
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 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.
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.
I updated to Windows 8.1 last month. It was quite smooth until some issues started 2-4 days ago. I don't remember if I have done something that may cause this, but I'm quite sure that I didn't make any change to the system.
The problem is, even when I am not opening any applications, my fan suddenly blows very strong and makes loud noise. From the CoreTemp utility I notice that CPU usage is 100% and its temperature is much higher than normal. Again, this happens even when I am not opening any applications, and have started the computer hours ago (so it's not starting up).
The most strange thing is that the problem is solved completely when I open task manager. The first thing I see after doing that is task manager itself is taking up ~60-70% CPU, but that number goes down very quickly, and the total CPU usage drops to normal. The temperature shown in CoreTemp drops also and the fan becomes quiet.
Another issue with my current computer is that when I open certain applications (for example, Google Chrome), the process of the application appears in task manager, but in the background. And the application does not show up until 10-20 minutes later.
And when I use Windows Media Player, every song is stucked for ~5 seconds before being played. And there're spikes in the sound.
I've added task manager to my scheduled tasks at logon. Everywhere I google, they say to put the /min or -minimized arguments in it to launch it minimized, except neither option works for me. Task Manager launches, but just sits there on my desktop.
Is there a new argument for minimized in Windows 8?
I bought a new desktop last year to run high-end software used for my degree; I installed Windows 8 on it, having got on with it on my laptop. I did notice though, after venturing into the Task Manager, that my CPU usage was at 100%. All the time. Even when idle. In fact, resource monitor says it's working at 108% load! I thought this was rather odd, so investigated further:
It appears that task manager divides the 100% usage proportionally between the processes using the CPU. So for example if Firefox, Word and Notepad were using 5%, 3% and 2% respectively, Task Manager would report 50%, 30% and 20% usage. I was initially concerned that my processor was going to take some serious damage to its life expectancy if it was being constantly loaded - but the performance monitor in Norton Anti-virus shows the CPU load to be much, much lower - where I'd expect it to be.
My system is an 3.4GHz i7, with 16GB RAM running 64-bit Windows 8 Pro. People have suggested a fresh install, but it's difficult tobackup everything up and re-installing VPN servers and software through various security measures, so I'd rather not...
Considering the issue with Windows 8 restore points getting deleted, I decided to use Task Manager to create a new one weekly. The problem is that if I do not boot into another partition or manually delete the old restore point, they are going to pile up. Is there a way in Task Manager to delete the old restore point before creating a new one?
While using the computer, periodically when I go to the start screen and search for something, it just hangs for about 20-60 seconds before responding. Now today, every single time I start the computer, it loads fine gets me to the start screen, but if I type anything for the search then it freezes on me for 20-60seconds. If I start it and immediately go to the desktop, I can run SOME programs like IE or Chrome but NOT Ventrilo or games (for 20-60 seconds). Also, TASK manager will not come up nor do any of the windows 8 "charms" work for that time frame.
I am at a loss, this is a fresh OS install about a month ago on a brand new Samsung 840 SSD. All my drivers are up to date, I didn't have this issue a week ago but I did have a system restore point that I restored my computer to and that didn't fix it.
I also tried the Windows Startup Repair, and it tells me it could not repair it and to check my log at "F:/Window...." whereas I have NO F:/ drive and Windows is obviously installed on my C:/ drive (also, it will not allow me to "refresh" my computer. *I have legit Windows 8 Keys that I purchased
I have tried disabling the fast boot in power options. I have ran a registry cleaner (ccleaner, I hate running cleaners but it was a desperate measure). I tried creating a new user account.
I checked my Event Viewer and these are common errors I am seeing:
The driver DriverWudfRd failed to load for the device SWDWPDBUSENUM{69d0e255-85f2-11e3-be67-806e6f6e6963}#0000000000100000.
The server {9BA05972-F6A8-11CF-A442-00A0C90A8F39} did not register with DCOM within the required timeout.
The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID
{C2F03A33-21F5-47FA-B4BB-156362A2F239}
and APPID
{316CDED5-E4AE-4B15-9113-7055D84DCC97}
To the user NT AUTHORITYLOCAL SERVICE SID (S-1-5-19) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.
I have a Dell Precision 690 with Dual Zenon 3.0 processors running Windows 8.1 Pro X86. CPU on the Performance tab only shows a single processor. I have the identical computer running Windows 7 Pro X64 and it Task Manager/Performance tab show2s two processors.
My task manager is showing an unusually high CPU usage by the system, anywhere between 20-30% when the computer is idling. I've run the sfc /scannow utility and it found some corruptions, which were then fixed by the DISM utility. However the task manager is still showing that super high CPU usage and no amount of restarts is changing anything. I've attached an image of my task manager.
I'm not sure when this problem started happening, but recently, when I plug in or unplug the power of my Galaxy S4, the computer will wake from sleep. I'm running CyanogenMod 11 on it, which is based on Android 4.4.2. I haven't installed or configured any apps on my PC to allow for this, nor any apps on the phone. How I can stop it?
As my machine doesn't support SLAT in HyperV I am using VMlite XP mode to run some 16 bit programs I need. Very occaisionally VMlite hangs on close after it has saved state or shutdown the guest machine.
I go to task manager and click end task on the Workstation GUI and it closes but very occaisionally end task wont closed the program. Sign off wont close the program either and restarting hangs at the blue screen 'restarting' I have to push the reset button on the tower to get the machine to restart.
Is there any hidden way of closing VMlite so I dont have to restart, a sort of hard end task?
Not sure if this is the right board, but I'm keen on accessing the aforementioned box directly rather going through task manager due to the run as admin check box, but I can't find the file location. I prefer using the run dialog usually to access apps because I could do without extra effort to merely SEARCH for apps. However I can't use it to run apps as admin (at least I've forgotten the line I might have used in vista and 7). Can the aforementioned box be accessed directly?
I am running Windows 8.1 professional. I was just wondering, as I am having some concerns with my pc sometime through the night as it just wakes up for no reason.
I am not sure if someone is accessing this remotely or what but sometime I see a folder that is open or my email that shouldn't be or at least I think I have closed it before I put it to sleep.
I am not sure what to do as I have run my antivirus software with little showing up and my malware, completing a full system scan.
I also have looked at my even viewer pictured here to see if there is something unusual or strange happening.
I recently noticed this strange behavior in my pc. When I restart my computer, cpu usage will stay around 20%, and fluctuate the usage of my processes (system host and firefox being the big hitters) to maintain this general figure. Upon putting my computer to sleep and reawakening, the symptoms are the same, except the usage hovers around 40%. This will continue until usage hovers around 99-100%.
I also just noticed that your TSG SysInfo (included below) says i have windows defender disabled, but I have been under the assumption that it is enabled. It has been since i uninstalled AVG as this was once a heavy hitter in my processes and I thought a cause to some of this.
Before this I didn't think this was a virus, because I've run multiple malware searches including malwarebytes in and outside of safemode but now I'm not so sure.
Also most likely related, my pc takes (literal) hours to shut down.
OS Version: Microsoft Windows 8.1, 64 bit Processor: Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz, Intel64 Family 6 Model 60 Stepping 3 Processor Count: 8 RAM: 16178 Mb Graphics Card: NVIDIA GeForce GT 750M, -2048 Mb Hard Drives: C: Total - 905049 MB, Free - 561457 MB; D: Total - 25599 MB, Free - 22620 MB; Motherboard: LENOVO, 20217 Antivirus: Windows Defender, Disabled
I've clean installed windows 8.1 pro vl x64 in my laptop (Windows Media Center is not installed of course). and activated successfully with KMSmicro 5.0.1. Windows is fully updated.
I have this problem: it wakes unexpectedly from sleep at either 04:00 or 05:00 at night.
I check in the Event Viewer and the first entries after the wake are always, eg.:
Code: Event: Kernel-General Description: The system time has changed to 2013-11-24T03:19:07.500000000Z from 2013-11-24T00:19:12.031510800Z. Change Reason: System time synchronized with the hardware clock.
Code: Event: BTHUSB Description: Windows cannot store Bluetooth authentication codes (link keys) on the local adapter. Bluetooth keyboards might not work in the system BIOS during startup. and
Code: Event: Power-Troubleshooter The system has returned from a low power state. Sleep Time: 2013-11-24T00:19:02.334201600Z Wake Time: 2013-11-24T03:19:09.179443500Z Wake Source: Unknown
The following is what I've tried so far based on these two links: Spoiler: [URL] ....
1a. Go to Device Manager - Select each keyboard and mouse device and right-click Properties - Go to the Power Management tab and untick "Allow this device to wake the computer".
1b. Double checked the above for my onboard ethernet network card
2. Checked in Task Scheduler and no active task is set to allow to "wake the computer to run this task" having such launch time.
3. Checked in Automatic Maintenance and "Allow scheduled maintenance to wake up my computer at the scheduled time" is disabled.
4. Ran cmd as admin, and:
Code: C:Windowssystem32>powercfg /lastwake Wake History Count - 1 Wake History [0] Wake Source Count - 0
[Code] .....
5. checked in Power Options>change plan settings>change advanced power settings and the "Allow wake timers" is disabled for both On Battery and Plugged in.