How to Remove Log Files on Windows

Clean unnecessary Windows log files and free up storage space with Kudu to keep your PC tidy and responsive.

By Kudu Team

Fix this automatically with Kudu

Run a free system scan to detect and resolve this issue automatically — no manual steps required.

Download Kudu Free →

What Causes This?

Windows and many desktop apps create log files to record errors, updates, installs, and background activity. Over time, these logs can pile up in folders like C:\Windows\Logs, C:\Windows\Temp, and app-specific data folders, especially if your PC has been used for a long time or has had repeated update or software issues. Most of these files are harmless, but old logs often serve no purpose and can waste storage space.

Common Symptoms

  • Your system drive is getting full for no obvious reason
  • Disk Cleanup or Storage settings show a large amount of temporary files
  • You notice large folders under C:\Windows\Logs or AppData
  • Windows feels slower when storage space is very low
  • You find lots of .log, .etl, or .txt files created by apps or Windows components

How to Fix It Manually

  1. Check your storage usage

    • Press Windows + I to open Settings.
    • Go to System > Storage.
    • Wait for Windows to calculate space usage, then look for Temporary files and other unusually large categories.
  2. Remove temporary files from Windows Settings

    • In System > Storage, click Temporary files.
    • Review the list and check items you want to remove, such as:
      • Temporary files
      • Windows Update Cleanup
      • Delivery Optimization Files
      • System error memory dump files
      • Temporary Windows installation files
    • Click Remove files.
    • Do not select Downloads unless you are sure you want to delete those files.
  3. Run Disk Cleanup

    • Press Windows, type Disk Cleanup, and open it.
    • Select your system drive, usually C:, then click OK.
    • Click Clean up system files.
    • Select C: again if prompted.
    • Check cleanup categories related to logs and temp data, then click OK > Delete Files.
  4. Delete old log files from common folders

    • Press Windows + E to open File Explorer.
    • Check these locations one at a time:
      • C:\Windows\Logs
      • C:\Windows\Temp
      • %temp%
    • In each folder, sort by Date modified or Size.
    • Delete old .log and temporary files you no longer need.
    • If Windows says a file is in use, skip it.
  5. Clear Event Viewer logs if needed

    • Press Windows, type Event Viewer, and open it.
    • Expand Windows Logs.
    • Right-click categories like Application, System, or Setup, then choose Clear Log.
    • Save the log first only if you need it for troubleshooting.
  6. Restart your PC

    • After cleanup, restart Windows to release temporary file locks and confirm the files are gone.
    • Recheck Settings > System > Storage to see how much space you recovered.
  7. Turn on automatic cleanup

    • Go to Settings > System > Storage.
    • Enable Storage Sense.
    • Click Storage Sense and choose how often Windows should delete temporary files automatically.

Fix It Automatically with Kudu

If you do not want to hunt through Windows folders and guess which log files are safe to remove, Kudu can do it for you. It scans for unnecessary log files, temporary data, and other junk that clutters your PC, then helps you clean it up safely in a few clicks. It is the easiest way to keep Windows tidy and responsive without manual digging.

Download Kudu Free →

Fix this automatically with Kudu

Run a free system scan to detect and resolve this issue automatically — no manual steps required.

Download Kudu Free →