There are two types of people, Windows 10 users who are left with only the most basic applications and people like us who take care of downloading and testing any number of useful programs … Many times also useless. The truth is that if you are like me who install and uninstall apps frequently just to test them, you may need to learn how to delete Win Log files in Windows 10.
Installing and uninstalling applications frequently can bring some complications within your operating system. Windows could be riddled with parts of programs that were not properly uninstalled.
The ideal way to avoid malfunctions and errors within the operating system is to erase all traces left in Windows of any recently uninstalled application.
Through this process, not only will all leftover files be eradicated, but all leftover records will also be removed from the system.
Why delete log files?
The problem with having the records on your hard drive is not only the space they occupy, but the capacity they have to interfere with other programs in their operation. The number of failed uninstalls is really a headache for your Windows 10 operating system.
In most cases, despite being properly uninstalled, the programs leave folders and sections open inside your hard drive. This behavior is usually to be able to install faster next time, with the locations already created.
Imagine that for every program ever installed in the history of your computer there is a folder and an empty section taking up space on your hard drive.
If your computer throws more errors at you than it did frequently and the situation starts to worry you, it is time to act and delete all unnecessary records.
Below we will show you how to delete all log files step by step, beginner level.
At the end of this tutorial you should have enough knowledge to eliminate all annoying files on your own, this is not a procedure that Windows does automatically.
Delete win log files in Windows 10
To complete this operation there are three possible ways. We will teach you all so that you apply the one that best suits you or the one that best manages to work according to your conditions.
Basically the three methods are:
- Use the “Event Viewer” to delete the files.
- Remove the records using the CMD.
- Delete the records using the Wevtutil tool.
First method, Event Viewer
To open this program, first type “eventvwr” in the browser, once the icon appears, right-click and select the option to run as administrator.
Inside the menu look for a folder called “Windows Logs” on the left, then expand it and you will find a subfolder that says “ Application “. Right-click on the applications window and look for the option that says “Clear Log”.
Done, once you press the Windows button it will start the process automatically.
Second method, Remove the records using the CMD
This is the fastest method if you want to delete all log files present in your operating system.
You will only have to open the CMD and copy a specific code that we will provide you.
To open the CMD type in the search engine its name and once you see the icon, right click and run it as administrator.
Once inside copy this complete code, paste it inside and press the enter button:
@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”) threw out. echo Event Logs have been cleared! goto theEnd : do_clear echo clearing% 1 wevtutil.exe cl% 1 goto: eof : noAdmin
Done, applying enter will activate the process and Windows will delete all the remaining files related to registries.
Method 3, use the Wevtutil tool to delete the files
Again we will use the command executor (CMD ) but this time in a different way.
Type CMD in the Windows browser and right click to run it as administrator. It is important that you run it this way, otherwise the method will not work for you at all.
Once inside the CMD the next step is to write the command “wevtutil el” , press enter and instantly a list of errors will appear.
When the errors finish appearing, you simply have to choose which “error” you want to eliminate and correct. Use the command “Wevtutil CL + the name of the error” and press enter to eliminate it.
As you can see, this method is the most useful if you want to eliminate errors one by one from file logs. Perhaps eliminating a specific error that is bothering your life, is not the best method if you want to completely erase all the records.
With this you already have different methods and ways to know how to delete Win Log files in Windows 10. We hope we have helped.
More news and guides about Windows.