[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1231
  • Last Modified:

how to clear event viewer logs through batch file

i want to clear all logs of event viewer and temp files from the batch file
0
get000sumit
Asked:
get000sumit
  • 2
3 Solutions
 
Bill BachPresidentCommented:
Can't do it from batch file code, that I've fgound, but a simple VBScript call can do it quickly:
    http://www.microsoft.com/technet/scriptcenter/scripts/logs/eventlog/default.mspx?mfr=true
0
 
Donald StewartNetwork AdministratorCommented:
Sure can !! :-)
 Backup And Clear Event Logs... ( Command )
http://cwashington.netreach.net/depo/view.asp?Index=831 
0
 
BillDLCommented:
I assume that you are aware that doing this will further reduce your chances of discovering what version of MS Office you just uninstalled:
http://www.experts-exchange.com/Q_24357235.html
0
 
Donald StewartNetwork AdministratorCommented:
You have 12 questions open and havent responded to any of them? This website goes both ways, you need to interact.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now