EDITED and corrected based on futuretech’s post and kind correction of my initial post. I should have said wevtutil.exe cl (not wevtutil.exe el). Thanks futuretech
The bat file I NORMALLY use to clear windows event logs is:
[at]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
A. THE BUG/ISSUE (Varies from issue to issue)
For those who do not know, running wevtutil.exe cl via a Command Prompt will quickly clear all Windows Event (Viewer) logs in one go.However with Windows 10 Release after Latest CF is installed a 9 second complete log clearance (every time) becomes a 2 minute slow craw every time
Can you reproduce the problem & if so how reliably?:
? Yes 100%
If you can, exact steps to reproduce. If not, exactly what you did & what happened:
1: Installed latest Win 10 compatible Comodo Firewall on to a Clean Installed Win 10 Pro (x64) PC
2: run wevtutil.exe cl in cmd.exe, run or via a bat file.
3: Command window appears and a long log list scrolls and closes at end
4: All Windows Event logs have been cleared
One or two sentences explaining what actually happened:
Before CF installed it took 9 seconds every time to run to finish. After CF installed it took 2 minutes every time. Uninstalled CF and rebooted PC it went back to taking 9 seconds.
One or two sentences explaining what you expected to happen:
I, of course, expected wevtutil.exe el to still only take 9 seconds from start to finish after CF was installed and running.
If a software compatibility problem have you tried the advice to make programs work with CIS?:
I tried File> Properties compatibility adjustments to no avail.
Any software except CIS/OS involved? If so - name, & exact version:
No only cmd.exe (admin mode if running from Bat file) and wevtutil.exe
Any other information, e.g your guess at the cause, how you tried to fix it etc:
I Have no idea. I have tried a second new clean install of Win 10 and as I install other software wevtutil.exe cl always works quickly in 9 seconds, but as soon as CF installed it immediately slows to 2 minutes. When CF is fully uninstalled it goes back to only taking 9 seconds (ONLY CF or a CF setting can be the cause).
EDIT: I forgot to mention an observation. Closing (Exiting from) CF does NOT allow wevtutil.exe cl to run quickly -only a total uninstallation of CF does that
B. YOUR SETUP
Exact CIS version & configuration:
? COMODO Firewall 8.2.0.4674 (only)
Modules enabled & level. D+/HIPS, Autosandbox/BBlocker, Firewall, & AV:
D+/HIPS, Firewall
Have you made any other changes to the default config? (egs here.):
Tried with and without. Result: NO difference
Have you updated (without uninstall) from CIS 5, 6 or 7?:
NO it was not installed before as Clean install of Win 10
if so, have you tried a a a clean reinstall - if not please do?:
N\a
Have you imported a config from a previous version of CIS:
I have tried it with the CF installation config AND my previously used one when I was using Win 7. The result is identical
if so, have you tried a standard config - if not please do:
Yes (see above)
OS version, SP, 32/64 bit, UAC setting, account type, V.Machine used:
?Windows 10 Release 10.0.10240.16425 Pro (x64). UAC is enabled at its LOWEST setting. Local Administrator Account, Motherboard Asus P8Z68-V PRO/GEN3 8Mb RAM, Graphics Card Gigabyte GV-N460oC-1GI/ (GTX460)
Other security/s’box software a) currently installed b) installed since OS, including initial trial security software included with system:
a= Avast! Ver 10.3.2225 Free Antivirus b) Avast! Ver 10.3.2225 Free Antivirus
:)I have no files Comodo Firewall has been uninstalled to check my findings after its uninstallation. Hope the above is adequate for you.