How to Configure Storage Reports with FSRM on Windows Server 2016
The Storage Reports feature within File Server Resource Manager on Windows Server 2016 gives administrators a powerful mechanism to analyze disk usage patterns across managed file servers. Storage reports can identify the largest files consuming space, break down usage by file owner, discover duplicate files, reveal files that have not been accessed for an extended period, and list files that match specific criteria such as forbidden extensions. These reports can be generated on demand, scheduled on a recurring basis, or triggered automatically when a quota threshold is reached. This guide covers the complete configuration of storage reports in FSRM, including scheduling, report types, delivery options, and automation via PowerShell.
FSRM must be installed and the File Server Resource Manager console must be accessible before proceeding. If you have not yet installed FSRM, refer to the FSRM configuration guide. You will need local administrator privileges on the file server and either a valid SMTP relay for email delivery or a local folder for report output.
Step 1: Configure Global Report Options
Before creating report tasks, configure the global options that control where reports are saved and how they are delivered. In the FSRM console, right-click the File Server Resource Manager root node and select Configure Options. On the Storage Reports tab, set the default report output location to a dedicated folder such as D:FSRMReports. This folder will receive HTML and CSV report files. Also configure the email delivery section on the Email Notifications tab with your SMTP server details so that completed reports can be sent to administrators automatically.
Step 2: Create an On-Demand Storage Report
To run an immediate storage report without scheduling it, right-click Storage Reports Management and select Generate Reports Now. The Storage Reports Task Properties dialog opens. Click Add to specify the volumes or folders to analyze, for example D:SharedData. Select the report types to include:
Large Files: Lists files exceeding a configurable size threshold. The default minimum file size is 1 MB, but you can increase this to 100 MB or more to focus on the largest consumers. Duplicate Files: Uses file size and hash comparison to identify redundant copies. Files by Owner: Aggregates disk usage per user account, helping identify who is consuming the most space. Least Recently Accessed Files: Lists files that have not been read or modified in a specified number of days. Files by File Group: Categorizes file counts and sizes by type such as audio, video, images, and documents.
Select Wait for reports to be generated and then display them to review the output immediately. Click OK to run.
Step 3: Schedule a Recurring Storage Report Task
Right-click Storage Reports Management and select Schedule a New Report Task. Give the task a descriptive name such as WeeklyStorageAudit. Click Add to specify the scope folders. Select the same report types as above. On the Delivery tab, configure the task to send the completed reports to the administrators email address and also save them to D:FSRMReports. On the Schedule tab, configure the task to run every Sunday at 11:00 PM. Click OK to save the scheduled task.
You can create the same scheduled report task using PowerShell for consistent deployment across multiple servers:
New-FsrmStorageReport -Name "WeeklyStorageAudit" `
-Namespace @("D:SharedData") `
-ReportType @("LargeFiles","DuplicateFiles","FilesByOwner","LeastRecentlyAccessed") `
-MailTo "[email protected]" `
-Schedule (New-FsrmScheduledTask -Time "23:00" -Weekly @("Sunday"))
Step 4: Customize Report Parameters
Each report type supports customizable parameters. For the Large Files report, set the minimum file size threshold. For the Least Recently Accessed report, set the minimum days since last access. Configure these parameters using PowerShell by modifying the FSRM report settings:
Set-FsrmSetting -ReportLargeFileMinimum 104857600 # 100 MB in bytes
Set-FsrmSetting -ReportLeastAccessedMinimum 180 # 180 days since last access
Set-FsrmSetting -ReportLeastAccessedFilePattern "*" # all file types
Step 5: Integrate Reports with Quota Threshold Notifications
FSRM allows you to automatically generate a storage report when a quota threshold is triggered, giving administrators context about what is consuming space at the moment the alert fires. In the Quota Template editor, when configuring a threshold notification at 90 percent, add a Generate Report action alongside the Send Email action. Select LargeFiles and FilesByOwner as the report types. The report will be generated and emailed automatically each time that quota threshold is crossed.
Step 6: Run Reports from the Command Line
To run a saved report task from a script or from the command line for automation purposes:
Start-FsrmStorageReport -Name "WeeklyStorageAudit" -Queue
To check whether a report task is currently running:
Get-FsrmStorageReport -Name "WeeklyStorageAudit" | Select-Object Name, Status
Step 7: Review and Act on Report Findings
Open the generated HTML report from D:FSRMReports in a browser. The Large Files section typically reveals a small number of files responsible for a disproportionate share of disk consumption. Contact the file owners identified in the Files by Owner report and request cleanup of files that are no longer needed. Use the Least Recently Accessed report to identify candidates for archiving to cold storage. Document your findings and repeat the report cycle monthly to track progress.
Step 8: Export Report Data for Trend Analysis
FSRM can generate reports in CSV format as well as HTML, allowing you to import the data into Excel or a business intelligence tool for trend analysis. Append the -Format parameter when running reports via PowerShell:
Set-FsrmStorageReport -Name "WeeklyStorageAudit" -Format @("HTML","CSV","XML")
By establishing a regular cadence of storage reports and acting on their findings, you can prevent disk exhaustion events, enforce data retention policies, and maintain a well-organized file server environment on Windows Server 2016.