Windows 10: Disk Cleanup running unexpectedly.

Discus and support Disk Cleanup running unexpectedly. in Windows 10 Network and Sharing to solve the problem; I am currently having an issue where Disk Cleanup is running unexpectedly. Below I'll run down how I've discovered this issue but the primary question... Discussion in 'Windows 10 Network and Sharing' started by Newlyn Erratt, Jan 11, 2019.

  1. Disk Cleanup running unexpectedly.


    I am currently having an issue where Disk Cleanup is running unexpectedly. Below I'll run down how I've discovered this issue but the primary question I have is, what triggers this process to run? Despite the PC having 870GB of free space the task is running and clearing out user temp folders which is causing havoc with an application.



    Rundown of issue and diagnosis of the issue:

    1. I have an app that must be restarted after leaving open overnight. I pinpoint the error message to a folder missing in the users temp directory
    2. I run procmon overnight with the program and see that cleanmgr.exe deletes the files in AppData\Local\Temp while the machine is inactive.
    3. Looking slightly earlier I see that it ran a task from registry with path \Microsoft\Windows\DiskCleanup\SilentCleanup
    4. Looking at Windows Task Scheduler I can see the DisckCleanup task called SilentCleanup at the same time the files were deleted.


    When I look at the task the description mentions being launched when running low on disk space. However, the PC has 870GB of free disk space. My end users will require this software run in the background so they cannot easily see when it needs restarted and I really don't like the idea of disabling the task altogether.

    :)
     
    Newlyn Erratt, Jan 11, 2019
    #1
  2. DaveM121 Win User

    disk cleanup

    Hi joysoder, to properly and safely delete any files not required by your system, run Disk Cleanup twice as explained below. Each time select everything in the list and delete them. Disk Cleanup will not suggest deleting anything that is not safe to delete
    . . .

    Open File Explorer

    Click on your hard drive

    On the Manage Tab, click Cleanup

    Let Disk Cleanup do its initial scan

    Select Everything in the list and choose Delete

    Start Disk Cleanup again

    Let Disk Cleanup do its initial scan

    This time in the resulting dialog, click 'Cleanup System Files'

    Let Disk Cleanup run another scan

    Select Everything in the list and choose Delete
     
    DaveM121, Jan 11, 2019
    #2
  3. tigger Win User
    disk cleanup running randomly

    I am running windows 8.1, the disk cleanup window for c keeps popping up, if i move the mouse towards it, it disappear. Is there something nasty on my machine causing this?

    I have scanned with malwarebytes and cc cleaner but they find nothing.

    Any ideas?

    tigger
     
    tigger, Jan 11, 2019
    #3
  4. DaveM121 Win User

    Disk Cleanup running unexpectedly.

    In Disk Cleanup, should I delete Thumbnails?

    Hi Marcia

    The correct way to run disk cleanup is explained below, you need to run it twice and yes, delete everything suggested by Disk Cleanup:

    Open File Explorer

    Click on your hard drive

    On the Manage Tab, click Cleanup

    Let Disk Cleanup do its initial scan

    Select Everything in the list and choose Delete

    Start Disk Cleanup again

    Let Disk Cleanup do its initial scan

    This time in the resulting dialog, click 'Cleanup System Files'

    Let Disk Cleanup run another scan

    Select Everything in the list and choose Delete
     
    DaveM121, Jan 11, 2019
    #4
Thema:

Disk Cleanup running unexpectedly.

Loading...
  1. Disk Cleanup running unexpectedly. - Similar Threads - Disk Cleanup running

  2. Disk Cleanup

    in Windows 10 Network and Sharing
    Disk Cleanup: Hello, Will Disk Cleanup clean out my browser's cache and cookies? Are there any tools that will do so? Thanks. https://answers.microsoft.com/en-us/windows/forum/all/disk-cleanup/78028a83-5143-41ca-9a77-fc9e6bd211f4"
  3. Disk Cleanup

    in Windows 10 Performance & Maintenance
    Disk Cleanup: Question if I may, Please I have an up-to-date windows-10 home desktop, including new (October) feature update. I have been reading that CCleaner is not recommended any longer. Instead, use Disk cleanup. Sure would appreciate someone guiding me on what NOT to delete so I...
  4. Disk Cleanup

    in Windows 10 Support
    Disk Cleanup: Question if I may, Please I have an up-to-date windows-10 home desktop, including new (October) feature update. I have been reading that CCleaner is not recommended any longer. Instead, use Disk cleanup. Sure would appreciate someone guiding me on what NOT to delete so I...
  5. Disk Cleanup

    in Windows 10 Performance & Maintenance
    Disk Cleanup: When Disk cleanup and, or Win 10 storage clean up is run in Admin or User modes, the Temporary Internet Folders always show 640KB/140MB of temp files remaining after cleanup is complete. I can run the Disk cleanup 1 x 2 x 3 x make no difference. Admin shows 640KB, User 104MB....
  6. Disk cleanup problem

    in Windows 10 Performance & Maintenance
    Disk cleanup problem: Hi, the disk cleaner of my system (its laptop with Windows 10 preinstalled on it) doesn't work or doesn't work properly. When trying to clean a SSD Windows drive I check all the files that are to be purged, hit the 'clean" button, it shows me working and deleting, but at the...
  7. Disk cleanup not starting

    in Windows 10 Performance & Maintenance
    Disk cleanup not starting: Hello all I have windows 10 pro x64 and whenever I try to run disk cleanup, it asks me which drive to clean, then no matter what drive i select after I press ok, it doesn't start up. Any idea why this is happening? I tried restarting. Thanks. Specs: 16 gb kingston DDR3...
  8. Update Cleanup missing in Disk Cleanup

    in Windows 10 Performance & Maintenance
    Update Cleanup missing in Disk Cleanup: Just got another update today, still having this issue. I used to have "Windows Update Files" or something along those lines whenever I ran disk cleanup after an update, but now that doesn't appear in the list. How far back would "the last few builds" be? "the last...
  9. Disk CleanUp

    in Windows 10 Performance & Maintenance
    Disk CleanUp: When using DISK CLEANUP Temporary Internet Files and Temporary Files (both boxes ticked) After Cleanup ....... * Temporary Internet Files still shows 7 MB of files * Temporary Files still shows 3 MB of files It does not seem to empty/clean all the hidden folders...
  10. disk cleanup bug??

    in Windows 10 Performance & Maintenance
    disk cleanup bug??: Disk cleanup says it can free up to 4 TB of space on my 120GB C: drive, after a update. WTF!!! Even adding the 2TB HDD and another 120 GB SSD (which is 60 GB partitioned) which are far from full, this doesn't make any sense. Is this some weird bug in Disk Cleanup...