---
title: "Disable IIS Express logging | Lansweeper Classic"
slug: "disable-iis-express-logging"
description: "Disable IIS Express logging for the Lansweeper Classic web console to stop log files building up on your server and free up disk space over time."
updated: 2026-06-17T09:31:42Z
published: 2026-06-17T09:31:42Z
canonical: "docs.lansweeper.com/disable-iis-express-logging"
stale: true
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lansweeper.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Disable IIS Express logging

If your Lansweeper web console is hosted by [the IIS Express web server](/classic/docs/lansweeper-classic-components-and-architecture), the IIS Express log files below may be generated.

To preserve disk space and improve performance, it is generally recommended that you disable IIS Express logging and then delete the IIS Express logs.

`C:\Windows\SysWOW64\config\systemprofile\Documents\IISExpress\Logs\LANSWEEPER.log`

`C:\Windows\System32\config\systemprofile\Documents\IISExpress\Logs\LANSWEEPER.log`

`C:\Documents and Settings\&lt;username&gt;\My Documents\IISExpress\Logs\LANSWEEPER.log`

`C:\Users\&lt;username&gt;\Documents\IISExpress\Logs\LANSWEEPER.log`

## Disable IIS Express logging

1. Stop the **IIS Express service** in Windows Services.
2. Open the following file with Notepad or another text editor:

`Program Files (x86)\Lansweeper\IISexpress\iisexpress.config`
3. Remove the following lines from the file, then close and save the edited file. `&lt;add name=&quot;HttpLoggingModule&quot; image=&quot;%IIS_BIN%\loghttp.dll&quot;/&gt; &#xA0;&lt;add name=&quot;HttpLoggingModule&quot; lockItem=&quot;true&quot;/&gt;`
4. Restart the **IIS Express service** in Windows Services
5. Once you've disabled logging, you can safely delete the log files below if they are present on your system.

`C:\Windows\SysWOW64\config\systemprofile\Documents\IISExpress\Logs\LANSWEEPER.log``C:\Windows\System32\config\systemprofile\Documents\IISExpress\Logs\LANSWEEPER.log``C:\Documents and Settings\&lt;username&gt;\My Documents\IISExpress\Logs\LANSWEEPER.log``C:\Users\&lt;username&gt;\Documents\IISExpress\Logs\LANSWEEPER.log`
