Link to home
Start Free TrialLog in
Avatar of pquish
pquish

asked on

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
dimeng.jpg
ASKER CERTIFIED SOLUTION
Avatar of Muzafar Momin
Muzafar Momin
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ckeshav
ckeshav

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.
Only need to keep a weeks worth.
Olaf
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 .