How to purge older IIS log files on Windows Server 2008 server

Posted on 2009-02-10
Last Modified: 2012-06-21
We do a daily IIS log of websites. Today we ran out of room on a drive because the log files total was over 30 gigs. How can we purge IIS log files older than 30 days or something.
Question by:jamesh1031
    LVL 13

    Expert Comment


    Author Comment

    I will review. The 3rd link gave me a : Oops! This link appears broken.
    LVL 13

    Accepted Solution

    LVL 13

    Expert Comment

    Yeah Broken link...took from old saved docs... Will see if any other is avbl....  But as far as this shrinking of logs is concerned..It can be done via batch file with basic script...but most companies use third party tool and some hosting companies get these free with control panel tool... like Hsphere

    Featured Post

    Integrate social media with email signatures

    Is your company active on social media? Do you also use email signatures? Including social media icons in your email signature is a great way to get fans for free. Let all your email users know you’re on social media quickly and easily, in a single click.

    Join & Write a Comment

    If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
    The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
    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 tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

    729 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

    23 Experts available now in Live!

    Get 1:1 Help Now