Can I remove inetpub logfiles on a Windows 2008 SBS machine

Posted on 2011-05-03
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

    keep the recent ones and remove the rest

    Note: take the backup to be on safer side
    LVL 8

    Expert Comment

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

    Expert Comment

    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

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
    Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
    This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
    This video discusses moving either the default database or any database to a new volume.

    755 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

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now