Did you ever wonder which files were taking up most of your space? How about which files no one has touched in the last year? Which user is taking up all the disk space on your file server? The File Server Resource Manager (affectionately referred to as FSRM) component in Windows Server 2k3 R2 and up helps you figure out answers to just these questions.
FSRM allows you to run scheduled tasks that generate reports on your usage of storage in a variety of formats. There is one limitation out of the box though: FSRM doesn’t include every single file in the reports. Now, why wouldn’t it do that?? Assume a user had 1 million files and therefore was a large consumer of your hard disk. If you created a report detailing the storage used per user, you’d see a million entries just for this one user. You would have trouble finding any other information. To that end FSRM limits the number of entries in a report. The overall numbers do consider all files on the disk though. Usually this gives you the information you needed. Sometimes you really do need to know that whole list though.
FSRM does allow you to modify the number of entries in its reports in Windows 2k8. However, you have to call an API to do so. Luckily that can be done from a script, making adjusting the limits in a reports much easier. A sample script for this can be found right here. This script works just fine for Windows 2k8 but not for Windows 2k3 R2. In Windows 2k3 R2 you cannot adjust these limits.