Windows 8: Stuck on “Maintenance in Progress”

My Windows 8 machine ran out of disk space this morning.  The Windows Search service decided that it should gobble up all of my remaining space with an index file nearly 300 GB in size.  But, that’s a different problem.

Anyway, running out of disk space always causes some odd things to happen.  One of them was that the flag icon in the system tray reported “Maintenance in progress” and would not stop.  Opening up the Action Center, I could see that it indeed claimed maintenance was in progress, but clicking the “Stop” link didn’t do anything.  It appears that the automatic maintenance tried to run at some point during the night, broke because the disk was full, and ended up stuck in a bad state.  This persisted across a regular reboot.

To fix it, you have to manually start and stop it again.

  • Go to Task Scheduler.
  • Navigate to┬áTask Scheduler Library\Microsoft\Windows\TaskScheduler.
  • Right-click “Regular Maintenance” and select “Properties.”
  • Go to the “Settings” tab, check “Allow this task to be run on demand,” and click “OK.”
  • Right-click “Regular Maintenance” and click “Run,” then do it again and click “End.”

After this, the automatic maintenance issue should be sorted out.

Credit

writhziden in this thread found the solution.