Sageset Unlocks CleanMgr’s Power

LangaList Std Edition202002-04-04

I got to this page in following up on an investigation into low disk space thread on the SBS2K mailing list. Someone mentioned they like a SourceForge utility called WindDirStat for investigating disk space usage. I have always liked JDiskReport but I was game to try someone else’s favorite. It is interesting or at least the treemap is an interesting to display disk usage. Well, the thing that caught my eye was the .qbb files in the Temporary Internet Files for LocalService. Evidently when I restore a QuickBooks backup file from my sharepoint site it creates a temporary internet file. Interesting… but I do not need to keep those files around! I had about 300 MB of backups and some of the backups were from last year. So I set up about deleting these files in this almost completely hidden directory.

I found several recommendations but I opted to try the Fred Langa recommendation which I linked to above. Cleanmgr is a disk-cleanup manager included in all Windows from Win98 onward and was improved in W2K. Cleanmgr says it cleans up Temporary Internet files so I decided to let it have the first shot at cleaning up the files. So I followed his directions and ran Cleanmgr with the option, “/sageset:99”, to set some of the advanced options. I told it delete Temporary Internet files, temporary files, some setup files, but I did not empty the Recycle bin. I ran Cleanmgr again with the option set to “/sagerun:99” and the files disappeared. Now I can run Cleanmgr in a batch file to clean up these files on a routine basis.