/build/static/layout/Breadcrumb_cap_w.png

Problem with VBS script for managing security logs

I found a vbs script to copy and clear event logs.It works fine on standard servers. But it didn't seem working ok on domain controllers. I have two issues:

1) I specially wanted to copy archived security logs. The archived logs format is archive-security-2013-03-12-60-45-89. It didn't work 

2) i used the task scheduler to run the batch file and vbs files to copy the event logs but it didn't run wll even I am a domian admin and run as a batch job enabled in GPO.

 

Any clue or suggestions???


5 Comments   [ + ] Show comments
  • "It didn't work" is far too descriptive a summing-up so could you be a little more vague?

    The first thing to do in any scenario like this is to use ProcMon. Remember to filter out the processes you're not interested in, as PM's output is...verbose! - anonymous_9363 11 years ago
  • And a double post only invites chaos in answering options. http://www.itninja.com/question/scripting-vbs-1; - EVEEN 11 years ago
  • 1) how can the task scheduler sometimes ran and sometimes not on domain controllers
    2) vbs script won't copy the format: archive-security-2013-03-12-60-45-89.evt But only copy security.evt - Ging8990 11 years ago
  • Eveen: double post due the new member status , first didn't get approved and later approved. What chaos? - Ging8990 11 years ago
  • wouldn't be easier to copy the .evt file and then paste it into some location using a simple batch file? you could run this as a scheduled task too! :) - mattski 11 years ago

Answers (0)

Be the first to answer this question

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ