Configure cleanup profiles to remove unnecessary files

28 October 2002 by Snakefoot | Comment » | Trackback Off
The Clean Up tool was introduced with Win98 to automate the procedure of cleaning up unnecessary temporary files. It is mainly for people who is having a hard time figuring out what they have on their drives. It has been updated in WinMe/2k/XP, where it is possible to setup different Clean Up profiles.

To configure a profile run the following command (Where N is a profile number from 0-65535):

cleanmgr /sageset:N

To run a configured profile number (N) run the following command:

cleanmgr /sagerun:N

This can be used to create a shortcut to clean up Temporary Internet Files, or schedule a weekly cleanup of the Recycle Bin using the Task Scheduler, or if using Windows 2000, XP schedule to Compress old files.

Note Win98/WinMe can also use profiles for configuring defrag and scandisk for scheduling.

Note Win2k/WinXP includes a new feature that Compress old files not used the last ? days, by using NTFS compression (blue files). Even if having this option disabled it might still do "Scanning: Compress old files", which can be slow and make it hang for a long time (It is also activated when doing a defrag). To disable it by force, delete the following registry keys (Make an export first):

[HKEY_LOCAL_MACHINE \SOFTWARE \Microsoft \Windows \CurrentVersion \Explorer \VolumeCaches \Compress old files]

[HKEY_LOCAL_MACHINE \SOFTWARE \Classes \CLSID \{B50F5260-0C21-11D2-AB56-00A0C9082678}]

More Info MS KB Q812248
More Info MS KB Q886219

More Info MS KB Q186099
More Info MS KB Q253597
More Info MS KB Q269020
More Info MS KB Q310312

Credits nightcourses.com

Updated: 2 October 2008

Comments:

Comment by arthur brogard - 20 July 2007 @ 5:52 Reply

How about cleaning out all the files that are normally part of a win98 installation but which aren’t really needed? win98lite is down around 20meg or something. My win98 installation is using 250Meg of a 340Meg Hard Drive on my young child’s computer. He’s now down to 5meg of free space. If I could chuck out all the really un-needed stuff he’d probably have a hundred meg or something to play with.

Just what is REALLY needed in a win98 installation?

Comment by snakefoot - 20 July 2007 @ 22:26 Reply

arthur brogard
Just what is REALLY needed in a win98 installation?

This tip is mostly for automatic cleaning of temporary files. You kind of answers your own question by mentioning a utility that should be able shrink a Win98 install to a minimum. If you have problems using the utility then I recommend contacting the creator of the utility. Also instead of spending energy and time on minimizing the size of a Win98 install, then I would instead try to find a used 1-10 GB hard disk.

Comment by ron duve - 24 October 2008 @ 11:18 Reply

thanks for the good information from here.

Leave a comment


NB! Use the Forum for computer help and off-topic questions.

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>