What is IIS Log Files?

Read more
by IIS

Overview

IIS Log Files is published by IIS. You can find out more about IIS Log Files at its official website or at IIS's website.


How do I clean IIS Log Files?

IIS 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 IIS Log Files
with AppCleaner

If you want to clean IIS Log Files manually, you can follow the steps outlined below. There are two locations in the file system where IIS Log Files stores data that can be cleaned.

Files

To clean your file system from files stored by IIS 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 IIS Log Files that can be cleaned:

  1. Type dir /s %windir%\system32\LogFiles\*
    • On 64-Bit also: Type dir /s %windir%\syswow64\LogFiles\*
  2. Type dir /s %SystemDrive%\inetpub\logs\LogFiles\*

Among the files listed in the previous steps, there can be one file which is essential to IIS Log Files and must not be deleted. To identify it:

  1. Type dir %windir%\system32\LogFiles\SCM
    • On 64-Bit also: Type dir %windir%\syswow64\LogFiles\SCM

Once you have identified the files stored by IIS Log Files that you want to clean, delete them using the del command or Windows Explorer.

0 Comments