Jump to content

Disk Cleanup (cleanmgr) won't close at end until the mouse moves


Recommended Posts

Guest GavenRay
Posted

I have a scheduled task on my Windows servers to run Disk Cleanup via "cleanmgr /sagerun:1" and it works just fine except it never ends. Eventually it hits the time limit I set in Task Scheduler and its forced close but this seams like a bug. If I run it from the command line in an interactive session, I think I see the problem. Disk Cleanup runs but when the progress bar gets to 100%, it just hangs. Simply moving the mouse gets it to close as it should. I'm thinking this is why it won't end on it's own when run as a scheduled task - there's no mouse to move.

 

Continue reading...

  • Replies 0
  • Created
  • Last Reply

Popular Days

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...