→ Celebrate SysAdmin Day 2024 with Lansweeper Enter our Giveaway here

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Lansweeper
Lansweeper Tech Support
Lansweeper Tech Support

TL;DR-Sweepy-Icon (1).png
This page explains why you should disable IIS Express logging on your web server, and how to delete any IIS Express logs that may have been recorded so far.


If your Lansweeper web console is hosted by the IIS Express web server, 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\<username>\My Documents\IISExpress\Logs\LANSWEEPER.log
C:\Users\<username>\Documents\IISExpress\Logs\LANSWEEPER.log

Disable IIS Express logging

  1. Stop the IIS Express service in Windows Services.procedure-stopping-the-web-server-service.jpg
  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.
    <add name="HttpLoggingModule" image="%IIS_BIN%\loghttp.dll" />
     <add name="HttpLoggingModule" lockItem="true" />
  4. Restart the IIS Express service in Windows Servicesprocedure-starting-the-web-server-service.jpg
  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.logC:\Windows\System32\config\systemprofile\Documents\IISExpress\Logs\LANSWEEPER.logC:\Documents and Settings\<username>\My Documents\IISExpress\Logs\LANSWEEPER.logC:\Users\<username>\Documents\IISExpress\Logs\LANSWEEPER.log

Was this post helpful? Select Yes or No below!
Did you have a similar issue and a different solution? Or did you not find the information you needed? Create a post in our Community Forum for your fellow IT Heroes!
More questions? Browse our Quick Tech Solutions.


Was this article helpful? Yes No
No ratings

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now
Version history
Last update:
‎08-21-2023 04:19 PM
Updated by: