If you’re receiving the following error when trying to clear an event log file using Wevtutil.exe CLI tool, then you’re most likely using an incorrect log file name parameter:
Failed to clear log <logfile>. The specified channel could not be found. Check channel configuration.
For example, the event log file name and the display name for "Internet Explorer" is same, hence the following command would clear the Internet Explorer log:
Whereas for some other events such as "Microsoft Office Alerts", the log file name is different from the display name. To know the file name, right-click on a log and choose Properties.
Note down the Full Name / Log Path.
To clear the Microsoft Office Alerts, you’ll now use this command-line:
To enumerate and list all the log files, use:
About the author
Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and has a vast experience in the ITeS industry — delivering support for Microsoft's consumer products. He has been a Microsoft MVP [2003 to 2012] who contributes to various Windows support forums.