Suggestion: Clear All Events!

When you right-click the "My Computer" icon and select "Manage", you'll get the "Computer Management" window, where you can see all the interesting stuff (among alia - Device Manager, Services, ...) and there's also the "Event Viewer" that shows EVERYTHING your computer has done (like a journal):

Time you logged on

Time you logged off

Time your computer generated error of some sort

Time when your software didn't like something ("warnings")

Time when you got yourself a cop of tea... (just kidding here, but you get the point)

One can simply right-click any of the Events' folder, and select "Clear All Events", but I thought it would be nice to include it to the allmighy CCleaner ;)

What'd you think?

Thanks!

Definitely cool, but if it gets added, I'd like to throw my two cents in that the option should not be enabled by default.

Can a less of a noob then me look at this and see why it is not working

****DO NOT USE NOT FINISHED****

[Event Log]

LangSecRef=3025

Detect=HKLM\SYSTEM\CurrentControlSet\Services\Eventlog

Default=False

FileKey1=%windir%\system32\config|*.evt

That's a bad idea. When you clear an event log it doesn't actually delete the file -- then event viewer is all like "ERROR, CANNOT FIND THE FILE".

If you look at [i.e., use notepad on] your *.evt after using (Start, Run...) `eventvwr` to clean them out, you'll notice they are 65,536 bytes and contain structural information.

Oh well worth the try.

Hmm, but still...

Some info could be deleted.

:blink:

It needs to clear the .Evt and not the .evt.

I have already done everything I can with the Events, nothing can be done. Them files are always in use, so you can't delete them even if you wanted to. And yes, it clears it, and doesn't actually delete the file.

Does that mean my code is useless then?

Yep, sorry.....

No problem but when you said "I have already done everything I can with the Events" in you previous post does that mean there is already a .ini entry to clean the event log?

Also did you delete my reply to you about why did you delete my spybot post? If so can i repost it but with the i?

No, it means I have tried, and tried to get it to work with no sucess.

Arr ok

I emailed a company who make Event Log Explorer about how we can clean the event log using CCleaner and this is the reply. Does this help because it does not mean nothing to me :D .

"Hello,

AFAIK CCleaner cannot clear event logs. There is no keys in the registry or

files that can be removed. If you try to tune up CCleaner to remove

some registry keys related to Event Logs, it may entail system fault

on next reboot.

The only way to clear logs is to call programmatically several Windows

API functions (Both our software and Event Viewer do exactly that)."

About what I thought. :rolleyes:

In Windows 2000 Pro you could at least change the location of the Event logs say to the Temp Directory.

http://support.microsoft.com/kb/216169/

<deleted>

The Windows Event Log can be cleared!

ntsecurity.nu has a utility which will clear the Windows Event Logs!

ClearLogs

I would love to see this functionality in CCleaner!

Thanks in advance,

Billy

In each catagory of the event viewer, application, security, system and Internet Explorer, there is an option under "action" to clear all events yourself.

I like to have some logs to look back on, and would not like them done, say as a schedule, as the amount of info that can be gained from the logs about what causes certain error can be very, very helpful.

In each catagory of the event viewer, application, security, system and Internet Explorer, there is an option under "action" to clear all events yourself.

I like to have some logs to look back on, and would not like them done, say as a schedule, as the amount of info that can be gained from the logs about what causes certain error can be very, very helpful.

Sorry for the stupid solution (LOL), but if someone doesn't like to have Windows Events

logged, what about disable events logging in Windows Services, instead to ask for CCleaner

to delete them?

:unsure:

It may suit some people Whiteshark to disable it in services, but then there are no error event logs to look back on when things go wrong.