• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2349
  • Last Modified:

Can I remove inetpub logfiles on a Windows 2008 SBS machine

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
1 Solution
Muzafar MominCommented:
keep the recent ones and remove the rest

Note: take the backup to be on safer side
ckeshavSr. Infrastructure SpecialistCommented:
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.
Olaf De CeusterCommented:
Only need to keep a weeks worth.
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 .
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now