New
#1
Failed to clear event logs
Hi @Brink, hope you are around for this! LOL
This has not occurred between October 16, 2016, when I purchased this it, and today.
So, if it is a minor issue, I am OK with ignoring these results.
Failed to clear event logs
Failed to clear event logs using Clear_Event_Viewer_Logs.bat, which I downloaded yesterday.
Please note the three logs just below:
clearing "Microsoft-Windows-LiveId/Analytic"
Failed to clear log Microsoft-Windows-LiveId/Analytic.
Access is denied.
clearing "Microsoft-Windows-LiveId/Operational"
Failed to clear log Microsoft-Windows-LiveId/Operational.
Access is denied.
clearing "Microsoft-Windows-USBVideo/Analytic"
Failed to clear log Microsoft-Windows-USBVideo/Analytic.
The instance name passed was not recognized as valid
by a WMI data provider.
===============================================================
Clear_Event_Viewer_Logs.bat
:: Created by: Shawn Brink
:: Created on: August 15th 2016
:: Updated on: May 13th 2017
:: Tutorial: Clear All Event Logs in Event Viewer in Windows Performance Maintenance Tutorials
@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 All Event Logs have been cleared!
goto theEnd
:do_clear
echo clearing %1
wevtutil.exe cl %1
goto :eof
:noAdmin
echo Current user permissions to execute this .BAT file are inadequate.
echo This .BAT file must be run with administrative privileges.
echo Exit now, right click on this .BAT file, and select "Run as administrator".
pause >nul
:theEnd
=============================================================================
psjimm
"No one can help everyone but everyone can help someone"
Ronald Reagan
p.s.
I activated the build-in Administrator account, same results.
At first I had used the Win 7 Clear Viewer V2.bat which I had downloaded from Seven Forums on June 16, 2015
Dell Inspiron 570
64-Bit
Windows 10 Pro
See Attached CPU-ID Report on my Dell Inspiron 570
Last edited by Barman58; 17 Dec 2017 at 14:00.