Sign in to follow this  
Followers 0
mportal

event log removal script help pls

6 posts in this topic

#1 ·  Posted (edited)

I need help with a script where upon compilation it will remove all event logs i cant seem to find anything about it, if someone can help me out ide appreciate it. it would save me some time at work.

Edited by wakrein

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

What do you mean by "event logs" Can you be more descriptive? Logs of what? What program?

Edited by Synct

Share this post


Link to post
Share on other sites

You can use

#include <file.au3>

_FileWriteLog ( @ScriptDir & "\my.log", "Text 1" & @Crlf )

for get events...


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

The way he phrased it sounded more like he meant logs from another application but he has yet to respond, who knows maybe your right.

Share this post


Link to post
Share on other sites

The way he phrased it sounded more like he meant logs from another application but he has yet to respond, who knows maybe your right.

Yes, his question is not very clear...


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

I am guessing he wants to remove the audit logs from the event viewer.

Not sure why would want that - hide from the IT guys in the firm or

malicious coding.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0