Ishi Posted April 12, 2010 Share Posted April 12, 2010 1. Advanced Disk Cleanup The common disk cleanup method that is done by the computer's own disk cleanup module (namely cleanmgr.exe ) is simply not enough but Windows has a secret but advanced disk cleanup module that not so many has ever heard of. To use this, open an elevated command prompt, paste this text: %SystemRoot%\System32\Cmd.exe /c Cleanmgr /sageset:65535 & Cleanmgr /sagerun:65535 and hit ENTER. Just scroll and you will see many rather odd categories it can clean. I am not sure whether CCleaner can clean all of them but note that it is neither required nor necessary to delete all of them. This is from Windows 7, not sure about XP and Vista. 2. Clear the Event Viewer in Windows 7 in just a double click I have suggested before in this THREAD about clearing the Event Viewer. The Event Viewer in Windows XP is so much more easier to clear than in Windows Vista and Windows 7 but here is a script. Open Notepad and paste the following: @echo off FOR /F "tokens=1,2*" %%V IN ('bcdedit') DO SET adminTest=%%V IF (%adminTest%)==(Access) goto noAdmin for /F "tokens=*" %%G in ('wevtutil.exe el') DO (call :do_clear "%%G") echo. echo goto theEnd :do_clear echo clearing %1 wevtutil.exe cl %1 goto :eof :noAdmin exit then save it as Clean Viewer.bat That should be the exact name. Its a batch file, save it on your desktop or wherever you want. Just double click it and a command prompt should run, clearing all log lists on the Event Viewer. It works on Windows 7 but I'm not sure about Windows XP and Vista. Note: Do this only is you absolutely don't need the log lists of the Event Viewer anymore. I love computer maintenance tasks. Some of my favorite programs: Wordpad -basic word processing Notepad - temporary clipboard and basic scripting module Windows Media Player 12- video, music and online radio player Windows Media Center - live TV, local FM radio CCleaner- handy computer maintenance tool If something fails to work after using the registry cleaner, use SYSTEM RESTORE. Link to comment Share on other sites More sharing options...
Moderators hazelnut Posted April 12, 2010 Moderators Share Posted April 12, 2010 As I said in that thread, I would think long and hard about clearing event logs. They are one of my best friends, I get so much info from them If you right click on a particular type of log (system, security etc) in the event viewer and select properties, you can alter the default log size and when you want it cleared yourself. The default size is 512kb's then events over 7 days old are overwritten. Support contact https://support.ccleaner.com/s/contact-form?language=en_US&form=general or support@ccleaner.com Link to comment Share on other sites More sharing options...
Ishi Posted April 12, 2010 Author Share Posted April 12, 2010 Yep that's why I quoted that this should be done only if you absolutely don't need the log lists anymore. What this does is clear the entire Event Viewer lists and this is virtually irreversible so think thrice or more before doing so. I love computer maintenance tasks. Some of my favorite programs: Wordpad -basic word processing Notepad - temporary clipboard and basic scripting module Windows Media Player 12- video, music and online radio player Windows Media Center - live TV, local FM radio CCleaner- handy computer maintenance tool If something fails to work after using the registry cleaner, use SYSTEM RESTORE. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now