Windows 8 and 8.1 Forums


cleanmgr.exe and removing a previous sageset

  1. #1


    Posts : 25
    Windows 8.1 Pro x64

    cleanmgr.exe and removing a previous sageset


    Trying to remove one of these that I've already set. I don't really need to use it anymore and would like the setting gone, preferably. I know it writes an entry into the registry, so knowing which directory and key to either modify or delete would be good or simply a command line parameter that will delete the preset. I know it isn't really necessary, but I would prefer to get rid of it.

      My System SpecsSystem Spec

  2. #2


    Posts : 480
    Windows 8 Pro x64


    Actually, you don't need to remove anything, because you can create up to 10 000 configurations. The settings are kept here:
    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches
    See also Creating a Disk Cleanup Handler (Windows)
      My System SpecsSystem Spec

  3. #3


    Posts : 25
    Windows 8.1 Pro x64


    Quote Originally Posted by Vadikan View Post
    Actually, you don't need to remove anything, because you can create up to 10 000 configurations. The settings are kept here:
    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches
    See also Creating a Disk Cleanup Handler (Windows)
    Okay, so according to the link, the stateflag000n entry is the saved profile from what I understand, so I would only delete those. I know there are plenty of configurations, but I don't like an unused configuration just sitting there. I'm actually just using CCleaner now.

    Edit: confirmed that this is what I was looking for. If I pick a previously set number, /sagerun:n, it no longer retains the profile settings. I can run any number, regardless of whether or not there was a previous profile, and they all run the default config--the same after I delete the stateflagnnnn entries. Perfect.


    Thank you very much for the key and link.
      My System SpecsSystem Spec

  4. #4


    Posts : 480
    Windows 8 Pro x64


    You're welcome. Please mark the thread as solved.
      My System SpecsSystem Spec

cleanmgr.exe and removing a previous sageset
Related Threads
Hi Folks, I would GREATLY appreciate some advice please. 1. New Lenovo laptop Feb 2014 with Win 8, which had been upgraded to 8.1. 2. HDD died in a blaze of glory yesterday 3. No idea of the key 4. Don't want a replacement drive as I'd like to keep hold of the dead one in case I decide to...
Hello all, I've recently run across a little-addressed problem in Windows 8.1, and that is the removal of old Lock Screen photos. Most everyone knows that in Windows 8, it was as simple as a right click to clear out the Lock Screen image cache, but that feature has since been removed in 8.1. My...
Hi there Windows 8.1 seems to have a much better RAM usage algorithm than previous versions On this 16GB machine it shows 15.7GB is useable -- this is much better than I remember from old XP machines where only around 3GB was useable on a 4GB machine. Running W8.1 Enterprise x-64 -- with...
OK so I dual booted with windows 8 and windows 7 a few months ago.. As I used Windows 8 I realized that I no more need windows 7 so I removed it from the booting menu and tried deleting the windows folder, program files and all from the Local Disk I installed Windows 7 in. The problem is that my...
Is it possible to install the win8 trial on a new machine that has no os on it and will it work?
My desktop was running Windows XP and I bought, downloaded, and attempted to install Windows 8 about six hours ago. Everything was running smoothly; I typed in my product key, closed all programs, and everything to be fine. But about 5 hours ago, it got stuck on the black screen with the Windows...
Restore Previous o/s from Windows.old in Installation & Setup
Has anybody got this to work yet? I had a couple of goes - couldn't get it to work. Perhaps that is another thing we are not allowed to do any more. If anyone figures it out - would be glad to hear it. Using previous o/s install disk is cheating.
Eight Forums Android App Eight Forums IOS App Follow us on Facebook