How to Run CleanMGR to Automatically Include System Files


  1. Posts : 28
    WIN10
       #1

    How to Run CleanMGR to Automatically Include System Files


    I am trying to create a shortcut that will run the CleanMGR with all options selected AND include the System Files.

    I have found that running:
    Code:
    C:\Windows\System32\cleanmgr.exe /LOWDISK
    This will provide a prompt to the user.
    or
    Code:
    C:\Windows\System32\cleanmgr.exe /VERYLOWDISK
    This will automatically run, no user interaction.

    Both will mark all the selections as true, but does not include the system files.
    Both provide completion notification after cleanup is completed.

    Neither will include the System Files.

    Is there any possibility of doing this?
      My Computer


  2. Posts : 1,862
    Windows 10 Pro 2004 20H1
       #2
      My Computer


  3. Posts : 17,039
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #3

    According to the tutorial, you are almost there - you just need to run it as Admin

    Create Disk Cleanup All Items Checked Shortcut - TenForumsTutorials

    You might also want to read the other relevant tutorials
    Set Disk Cleanup to Have All Items Checked or Unchecked by Default - TenForumsTutorials - this includes a warning
    Open and Use Disk Cleanup - TenForumsTutorials

    Denis
      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 00:17.
Find Us




Windows 10 Forums