Author Topic: Event viewer clean up.  (Read 2867 times)

0 Members and 1 Guest are viewing this topic.

Offline Julian

  • "Cat and Mum Guy"
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jun 2015
  • Posts: 1320
  • Location: USA, New Mexico
  • Karma: 38
    • View Profile
Event viewer clean up.
« on: June 12, 2015, 07:17:58 PM »
Have you just fixed a computer and the old error's are still in the event log?
I usually run this command after I fix a computer and give it back to my customers so if new error's appear I can diagnose them with out seeing the old ones I fixed.

type the command in the command prompt (RUN as Admin):

Code: [Select]
for /F "tokens=*" %1 in ('wevtutil.exe el') DO wevtutil.exe cl "%1"
@Shane this maybe usefull in the all in one repair program.
« Last Edit: June 15, 2015, 11:28:19 PM by Sundavor »