How to add custom folder to Disk Cleanup

  1. Steven Campoli's Avatar
    Posts : 1,226
    Windows 10 Pro x64
       #1

    How to add custom folder to Disk Cleanup


    I want to add a custom folder in Disk Cleanup..

    C:\Windows\SoftwareDistribution\Download

    i manage to get it in the list but it doesnt clean it up...any ideas?

    The Location in registry is here

    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches
      My Computers

  2. Samuria's Avatar
    Posts : 6,056
    windows 10
       #2

    Does uncleaner clean it?
      My Computer

  3. Steven Campoli's Avatar
    Posts : 1,226
    Windows 10 Pro x64
    Thread Starter
       #3

    Uncleaner ? Or ccleaner? No it doesn’t I would like to add it in disk cleanup I know theirs a way lol! Thanks for the response
      My Computers

  4. TairikuOkami's Avatar
    Posts : 4,676
    Windows Home Dev 21xxx x64
       #4

    You need to stop Windows update processes, which might keep it open/locked. Like:
    Code:
    taskkill /im TiWorker.exe /f
    taskkill /im trustedinstaller.exe /f
    net stop bits /y
    net stop cryptSvc /y
    net stop msiserver /y
    net stop UsoSvc /y
    net stop wuauserv /y
      My Computer

  5. Steven Campoli's Avatar
    Posts : 1,226
    Windows 10 Pro x64
    Thread Starter
       #5

    Ok And what do i put in the “default” key in the registry
    Last edited by Steven Campoli; 20 Dec 2018 at 13:11.
      My Computers

  6. Steven Campoli's Avatar
    Posts : 1,226
    Windows 10 Pro x64
    Thread Starter
       #6

    ok i took control of the software distribution\download folder so i would get prompted when deleting something...in registry copied the same info as the downloads folder and change the path to where i wanted it...working! who ever wants to knoe more about this just ask!
      My Computers

  7. Steven Campoli's Avatar
    Posts : 1,226
    Windows 10 Pro x64
    Thread Starter
       #7

    spiced it up with icons lol
      My Computers


  8. Posts : 2
    Windows 10
       #8

    Steven Campoli said:
    ok i took control of the software distribution\download folder so i would get prompted when deleting something...in registry copied the same info as the downloads folder and change the path to where i wanted it...working! who ever wants to knoe more about this just ask!
    I want to know more! I am working on adding a custom location myself, and I can't seem to get my entry to appear in the list. Any information that you can provide on how to get this working would be much appreciated!
      My Computer


  9. Posts : 2
    Windows 10
       #9

    Nevermind, I figured out what issue I was having. Everything is documented thankfully, I just didn't take the time to read about it fully.

    https://docs.microsoft.com/en-us/win...f/disk-cleanup
      My Computer


  10. Posts : 28
    many
       #10

    Just in case someone wants it. Add an extra folder to this registry path:

    @ HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Temporary Files

    "FileList"="*.*" is already there

    and edit the REG_EXPAND_SZ "Folder"

    %TEMP%|%WINDIR%\Temp|%WINDIR%\Logs|%WINDIR%\System32\LogFiles|add_your_own_folder

    If files are locked they will not be deleted as far as I know.


    Cheers
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:39.
Find Us




Windows 10 Forums