What is Windows Log Files?
Read more
Overview
How do I clean Windows Log Files?
Windows Log Files may store excess, temporary data on your computer that can take up valuable space.
It may also store private data such as passwords or browsing history in the registry or on the file system.
The easiest way to erase this data is by downloading AppCleaner, it is 100% free and about 1MB in size.
A portable version is also available.
Clean Windows Log Files
with AppCleaner
If you want to clean Windows Log Files manually, you can follow the steps outlined below.
There are thirty-two locations in the file system where Windows Log Files stores data that can be cleaned.
Files
Warning: Proceed very carefully when deleting files. Always revise the files you are about to remove. Removing important files can damage your system.
To clean your file system from files stored by Windows Log Files and to gain free disk space, examine the following file system locations.
First of all, open a command prompt window:
-
Hit the Windows key , usually located in the lower left of your keyboard between the
Ctrl and Alt keys.
- Windows XP/Vista/7: Click Run...
- Type cmd
- Hit Enter
Now list all the files stored by Windows Log Files that can be cleaned:
-
Type dir %windir%\system32\wbem\Logs\*.log
-
On 64-Bit also: Type dir %windir%\syswow64\wbem\Logs\*.log
-
Type dir %windir%\system32\wbem\Logs\*.lo_
-
On 64-Bit also: Type dir %windir%\syswow64\wbem\Logs\*.lo_
-
Type dir %WinDir%\*.log
-
Type dir %WinDir%\*.bak
-
Type dir %WinDir%\*log.txt
-
Type dir %ALLUSERSPROFILE%\Microsoft\Dr Watson\*.log
-
Windows XP: Type dir %ALLUSERSPROFILE%\Application Data\Microsoft\Dr Watson\*.log
-
Type dir %ALLUSERSPROFILE%\Microsoft\Dr Watson\*.dmp
-
Windows XP: Type dir %ALLUSERSPROFILE%\Application Data\Microsoft\Dr Watson\*.dmp
-
Type dir /s %WinDir%\Debug\*.log
-
Type dir /s %WinDir%\Debug\*.bak
-
Type dir %WinDir%\SchedLgU.txt
-
Type dir %WinDir%\security\logs\*.log
-
Type dir %WinDir%\security\logs\*.old
-
Type dir %WinDir%\SoftwareDistribution\*.log
-
Type dir /s %WinDir%\Logs\*.log
-
Type dir /s %WinDir%\ServiceProfiles\LocalService\AppData\*.log
-
Type dir /s %WinDir%\ServiceProfiles\NetworkService\AppData\*.log
-
Type dir /s %LOCALAPPDATA%\Microsoft\Windows\*.log
-
Windows XP: Type dir /s %USERPROFILE%\Local Settings\Application Data\Microsoft\Windows\*.log
-
Type dir /s %APPDATA%\Microsoft\Windows\*.log
-
Type dir /s %WinDir%\Microsoft.NET\*.log
-
Type dir %LOCALAPPDATA%\MigWiz\*.log
-
Windows XP: Type dir %USERPROFILE%\Local Settings\Application Data\MigWiz\*.log
-
Type dir %LOCALAPPDATA%\MigWiz\*.xml
-
Windows XP: Type dir %USERPROFILE%\Local Settings\Application Data\MigWiz\*.xml
-
Type dir %WinDir%\inf\setupapi.app.log
-
Type dir %WinDir%\inf\setupapi.dev.log
-
Type dir %WinDir%\Panther\UnattendGC\setupact.log
-
Type dir %WinDir%\Panther\UnattendGC\setuperr.log
-
Type dir %WinDir%\Panther\setupact.log
-
Type dir %WinDir%\Panther\setuperr.log
-
Type dir %WinDir%\inf\*.log
-
Type dir %WinDir%\inf\*.log
-
Type dir %WinDir%\inf\*.log*
-
Type dir %WinDir%\inf\*.log*
-
Type dir %WinDir%\inf\*.log*
-
Type dir %WinDir%\Panther\cbs.log
-
Type dir %WinDir%\Panther\DDACLSys.log
-
Type dir %WinDir%\Panther\miglog.xml
-
Type dir %WinDir%\Panther\Migrep.html
-
Type dir %WinDir%\Panther\PostGatherPnPList.log
-
Type dir %WinDir%\Panther\PreGatherPnPList.log
-
Type dir %WinDir%\winsxs\poqexec.log
-
Type dir %WinDir%\debug\WIA\*.log
-
Type dir %WinDir%\SIGVERIF.TXT
-
Type dir %WinDir%\System32\sysprep\Panther\IE\diagerr.xml
-
Type dir %WinDir%\System32\sysprep\Panther\IE\diagwrn.xml
-
Type dir %WinDir%\Panther\UnattendGC\diagerr.xml
-
Type dir %WinDir%\Panther\UnattendGC\diagwrn.xml
-
Type dir %WinDir%\Panther\FastCleanup\*.log
Once you have identified the files stored by Windows Log Files that you want to clean, delete them using the del command or Windows Explorer.