How to free up space on Exchange 2003 server and IIS 6 server

Very sledom I find that the system partition on my Exchange 2003 server is running low on space. Apart from deleting the Symantec Antivirus update log files, there are also the IIS 6 and SMTP log files that can be deleted to free up space.  If enable logging is slected in IIS and SMTP then you can delete them manually.

Instructions to determine path for SMTP log files
Open Exchange System Manager, then click on
– Administrative Groups
– First Administrative Groups
– Servers
– Server Name
– Protocols
– SMTP
– Right click, Default SMTP Virtual Server, click properties
- If Enable Logging is slected then click on Properties, this will display the path for the log files.  The default path is C:\WINDOWS\system32\LogFiles\SMTPSVC1.

The format of the file is exyymmdd.log, where yy is the year, mm is the month, and dd is day.

If OWA is enabled on the Exchange server, then you can follow the below instructions to delete the IIS 6 log files.

Instructions to determine path for IIS 6 log files 
Open IIS Manager and click on
– Server Name
– Web Sites
– Right click Dedault Web Site
– click properties
– click properties for Enable logging and you will see the path for the logs, the default path is C:\WINDOWS\system32\LogFiles\W3SVC1.  The file format is same as the above, exyymmdd.log.

 Also delete the IIS error log, \C:\WINDOWS\system32\LogFiles\HTTPERR.  This should free up precious space as well.