Is there an easy way to generate a report on "dead" files in IIS?

We're looking to generate a list of files that haven't been hit on our webserver for the last 3 months, 6 months and year.

IIS can give us a list of files that have been hit, but i'm wondering if there is a tool out there that will generate a list of files in our webserver directory that don't appear in the log files.


I'm afraid there is no simple solution. I guess you'll have to compare your logs against your list of (static I suppose) files. The best way I can think of is to use the LogParser tool.

You could import your logs into a SQL database and create a table containing all URLs (select distinct ...). Then you'll have to create the list of file names in your directories using a script and importing the resulting file to another database table. Step 3 would be to select all file name from Table2 which have no counterpart in the first table.