Can I remove inetpub logfiles on a Windows 2008 SBS machine

Posted on 2011-05-03
Medium Priority
Last Modified: 2012-05-11
I have over 22GB in an inetpub\logs\logfiles\w3svc1372222313 folder on my c:. How can I recover this space?
My machine is running Windows 2008 SBS
Question by:pquish
LVL 10

Accepted Solution

Muzafar Momin earned 2000 total points
ID: 35510684
keep the recent ones and remove the rest

Note: take the backup to be on safer side

Expert Comment

ID: 35510873
You can delete the old ones and you if you want to move and do not want to delete even that is fine. You can store it if you have more storage space in other location.
LVL 22

Expert Comment

by:Olaf De Ceuster
ID: 35510907
Only need to keep a weeks worth.

Expert Comment

ID: 35510922
Yes you can delete them with no problem ,
actually ,you can schedul a commande to delete old logs

at 12:00 /EVERY:Su Forfiles.exe -p C:\WINDOWS\system32\LogFiles\W3SVC1 -m *.log -d -30 -c \"Cmd.exe /C del @path\"

it's recommanded to keep logs 7 days old for troubleshooting purpose just in case of problem .

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
Stellar Exchange Toolkit: this 5 in 1 toolkit comes loaded with mega-software tool. Here’s an introduction to tools’ usage and advantages:
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question