Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

script to clear Security log files

Status
Not open for further replies.

oyazo

MIS
Apr 14, 2008
47
PT
Hello All,

I have 20 windows 2003 servers whoose security log have to be cleared 3 times a day (7:00am, 12noon and 4:00pm) daily.

I need a vbscript which can be scheduled on all these servers to clear Security Logs.

I will appreciate if I can the scrpit.

Thank you for usual cooperation.

Oyazo
 
Why would you clear the logs three tims a day?

I'm Certifiable, not cert-ified.
It just means my answers are from experience, not a book.

There are no more PDC's! There are DC's with FSMO roles!
 
To ensure smooth authentication.

Kindly give me the script if you have.

Thank you.
 
Doesn't make sense, sorry. The log files can be set to overwrite themselves, which is the way it should be done. By emptying the log files you're only clearing out your authentication trail.

I'm Certifiable, not cert-ified.
It just means my answers are from experience, not a book.

There are no more PDC's! There are DC's with FSMO roles!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top