Solveme.net

That is good thing when you try to troubleshooting your system from being, And you want to delete or clear all of event logs from windows 8, 8.1, windows 7, windows vista and xp.

After that any types of event log will create from start again, And can be easy to find out the problem, Or if you want to hide or delete some suspected log.

Step to delete Logs -

Step 1 - Copy and paste these below command in notepad and save it as “clearalllogs.bat” or click here to download a .bat file from site, Its free.

@echo off

FOR /F "tokens=1,2*" %%V IN ('bcdedit') DO SET adminTest=%%V

IF (%adminTest%)==(Access) goto noAdmin

for /F "tokens=*" %%G in ('wevtutil.exe el') DO (call :do_clear "%%G")

echo.

echo goto theEnd

:do_clear

echo clearing %1

wevtutil.exe cl %1

goto :eof

:noAdmin

exit

 

Step 2 -Right click on file “clearalllogs.bat” and Run as administrator,

If you don’t have administrator privilege then ask for a administrator password, And type Username and password

-Or-

Run this .bat file from command line by run a cmd as administrator, For details see this below link -

http://networkingstudy.net/forums/index.php?topic=903.0

Step 3 - Now it take some minutes, Its depends on your number of event logs and size.

And you will see all of the your event logs will be clear by one click

Keyword -

How to delete all Windows Event logs at once, Event Viewer: Clear All Events - Windows 7, Clear an Event Log - TechNet - Microsoft, use .bat file to delete all logs, How to clear the Windows Event Log from the command Line, Clear all event logs on Windows using PowerShell, Delete all event logs at once in Windows 7, clear all event logs at once by .bat file in Windows 7, How to clear all Windows event log categories fast, wmic nteventlog where filename='security' cleareventlog, Windows Event Viewer tips and tricks, Script to collect all event logs off a remote Windows 7, Managing event logs from the command line, Microsoft Windows 8 Event Viewer, Alternative to standard event viewer of Windows, Use PowerShell to Clear All Logs, How to clear all event logs from command in windows,

Use PowerShell to Clear All Logs.

Comments

No comments yet.

Add Comment

* Required information
(never displayed)
 
Notify me of new comments via email.