How to clear all Event Logs using command prompt To clear the System log, use: 'wevtutil cl System' (without the quotes). The above command clears the Application log.Now that you know the name of the log you want to clear, you can use the following command: wevtutil cl Application. This creates a text file Loglist.txt in the working directory of the command prompt (the same folder where you are currently at the command prompt). Or you can output it to a text file using the command: wevtutil el > Loglist.txt You can use the command: 'wevtutil el | more' (without the quotes) to display the output one screen at a time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |