Event Viewer could not clear the log. The following error occurred: The request is not supported

Hi,

Having issues with the Windows Event Log. It won't show. Even tried to clear it with this error. Even if I try to clear it using PowerShell I always end up in "Failed to clear log xxx. The request is not supported.".

Already tried sfc /scannow, of course restarting...

Help?

Running Windows 8.1 x64

April 28th, 2014 1:37pm

Carlos

The best way to delete all the Event Viewer log files, including the combined administrator log, courtesy of Windows Seven Forums at this site http://www.sevenforums.com/tutorials/25480-event-viewer-one-click-clear.html?ltr=E

Copy and paste the following twelve lines to Notepad, save it as ClearAll.bat. Run it by right-click or press and holding it and choosing Run as Administrator. Here are the twelve lines:

@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

Free Windows Admin Tool Kit Click here and download it now
April 28th, 2014 1:43pm

Thanks, but no. As stated, even from PowerShell will end up in the same error (which access the same utility).
April 28th, 2014 1:54pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics