Windows 10 Disk Cleanup - warning

Discussion in 'Windows 10' started by MrG, Feb 9, 2019.

  1. MrG

    MrG MDL Expert

    May 31, 2010
    1,403
    1,625
    60
    #1 MrG, Feb 9, 2019
    Last edited: Feb 9, 2019
    I wasn't aware that this new line item was added to Disk Cleanup (DC) so I didn't check what it was going to do (Dummy).
    Sure enough I left it checked & ran Disk Cleanup/ delete files & it took longer than my normal DC to run & I found out that all my 'C' drive files & folders were compressed & that the PC took around 2x as long to boot :(

    So I proceeded to decompress the system files (easy) but everything else seemed to take all day.

    SOoo my reason for starting this thread is to warn other members here to be alert to this DC item since it is pre-checked when running DC, unless you want everything compressed by the OS.

    Disk Cleanup_ 1Beware if you choose this.jpg

    Edit: My W10 is v.1803, build 17134.523
     
  2. kaljukass

    kaljukass MDL Guru

    Nov 26, 2012
    3,396
    1,322
    120
    #3 kaljukass, Feb 9, 2019
    Last edited: Feb 10, 2019
    Simply You have selected from disk option "Compress this drive to save disk space".
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. brownimfc

    brownimfc MDL Senior Member

    Jan 25, 2015
    328
    94
    10
    It's not there in build 18334.1.
     
  4. iFlaX

    iFlaX MDL Senior Member

    Apr 10, 2015
    388
    374
    10
    I have never seen that option, interesting. I'm on 17134.523 aswell.
     
  5. MrG

    MrG MDL Expert

    May 31, 2010
    1,403
    1,625
    60
    #7 MrG, Feb 10, 2019
    Last edited: Feb 10, 2019
    (OP)
    That is how I went through all my 'Other' folders/files to decompress them (unchecked the box) after 1st unchecking the box that had 'read only' also checked on the properties window.

    If no one has the Compress your OS drive in their 2nd box showing up after choosing 'Clean up system files' then maybe its just mine which I think is rather slim IMO.
     
  6. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,220
    84,896
    340
    Run this as admin to show all available options
    Code:
    cleanmgr /sageset:1809
    click cancel if you just want to view them
     
  7. Dude Guyman

    Dude Guyman MDL Senior Member

    Jun 20, 2017
    280
    279
    10
    Not sure, but possibly play with the following commands (I run #2) to make sure that option never shows up? I've never seen it and do not have it now.

    1. check it: compact /compactos:query
    2. disable it: compact /compactos:never
    3. enable it: compact /compactos:always

    Result reads like so if disabled:
    Code:
    C:\Windows\system32>compact /compactos:query
    The system is not in the Compact state.  It will remain in this state unless an
    administrator changes it.
    
     
  8. TairikuOkami

    TairikuOkami MDL Expert

    Mar 15, 2014
    1,172
    1,055
    60
    I use reg commands to pre-select, what I want, so I avoided that by shier luck, since my most important files are in Downloads folder. Darn MS. :mad:

    Code:
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Active Setup Temp Folders" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\BranchCache" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Content Indexer Cleaner" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\D3D Shader Cache" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Delivery Optimization Files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Device Driver Packages" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Diagnostic Data Viewer database files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Downloaded Program Files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\DownloadsFolder" /v "StateFlags6553" /t REG_DWORD /d "0" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\GameNewsFiles" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\GameStatisticsFiles" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\GameUpdateFiles" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Internet Cache Files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Offline Pages Files" /v "StateFlags6553" /t REG_DWORD /d "0" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Old ChkDsk Files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Previous Installations" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Recycle Bin" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\RetailDemo Offline Content" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Service Pack Cleanup" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Setup Log Files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\System error memory dump files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\System error minidump files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Temporary Files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Temporary Setup Files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Temporary Sync Files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Thumbnail Cache" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Update Cleanup" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Upgrade Discarded Files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\User file versions" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Windows Defender" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Windows Error Reporting Files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Windows ESD installation files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Windows Upgrade Log Files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
    cleanmgr /sageset:65535 & cleanmgr /sagerun:65535
     

    Attached Files:

  9. WindowsGeek

    WindowsGeek MDL Expert

    Jun 30, 2015
    1,462
    420
    60
    I don't have that option either.
     
  10. pf100

    pf100 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,449
    90
    I've never blindly checked every box.
    Having said that, including the option to delete the Download folder is incredibly stupid. I store tons of files in my download folder and would be pissed if that folder got deleted. I store downloaded files in the Download folder in Linux too. Linux doesn't ask me if I want to delete stuff from my personal folders, why should Windows? I shouldn't have to restore from backups because Microsoft enjoys deleting s**t.
    Is Microsoft smoking crack? I think they are. My god, what the hell are they thinking? Are you reading this Microsoft? What the hell is wrong with you? Answer me!
     
  11. urie

    urie Moderator
    Staff Member

    May 21, 2007
    9,039
    3,388
    300
    pf100 I never store my downloads on my windows partition or drive same with documents. I always repartition drive or if possible and second drive.
    Even on my laptop added ssd and removed cdrom and put my original laptop sata drive into cdrom type enclosure. So downloads e.c.t stored on sata drive and backed up to an external.
     
  12. pf100

    pf100 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,449
    90
    Yes, but in Windows I redirect the Download folder to wherever it is, so Disk Cleanup would still delete it (I think). I usually always use MBR with 3 primary partitions (System Reserved, C:\, and swap), and an extended partition with logical disks for multiple Linux distros (usually Mint and Kali) so I don't go over the 4 primary partition limit. Since a long time ago I stopped using a separate partition for storing stuff because to me it just wastes too much space, and I haven't lost any data in about 15 years now (fingers crossed). The only time I waste space is unpartitioned space at the end of an SSD to reduce write amplification.
     
  13. atgpud2003

    atgpud2003 MDL Addicted

    Apr 30, 2015
    530
    86
    30
    I would never use Compressed OS.. NEVER, NEVER.. bloat down system.. Also, Uncheck Download (in apart of Disk Cleanup) cuz you will lose all your Download folder!!! Be caution!
     
  14. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    I prefer to not use any of those locations, instead i include my default folders into Library for quick access when using any Open/Save dialog :cool2:. That way i have fast access and Windows isn't involved too much :D.

    Since i create backups (regularly and prior to certain actions) i can get needed files from them via Explorer.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Kim100

    Kim100 MDL Addicted

    Jun 17, 2009
    555
    278
    30
    It has appeared recently for me [LTSC 2019]
     
  16. pf100

    pf100 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,449
    90
    Sounds like a good idea. Redirects are dangerous in windows 10 since 1809. Shortcuts like in libraries are much safer.
    Next thing you know they'll put a checkbox in disk cleanup to "format all connected hard drives" to free up disk space.
     
  17. MrG

    MrG MDL Expert

    May 31, 2010
    1,403
    1,625
    60
    I got the 'Compress your OS drive' item again Windows 10 x64 this time during Disk Cleanup.
    This is my AV partition after a update I ran DC again, this time the item was not pre checked.

    1 Upgrade to Win10x64_ 2Updates_ 2d DiskCleanup.jpg
     
  18. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    Hmm. How much free space on what partition size? Didn't get that option so far. My Win partitioms usually have >50% free space :g:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...