Increase FSRM Search Limitations

Increase FSRM Search Limitations


Increase FSRM Search Limitations

By default FSRM has some search limitations varying from 10 to 1000 files on a system.  I needed to remedy this issue so that I could search a huge file structure and view all the files it contained rather than the first 10 or 1000. Just a warning to the resources that this So to start off let’s get a general understanding of some the of search limitations that FSRM has set by default.

Default Values for FSRM:


How to Change Search Limitations:

To start off you will first need to open PowerShell as an administrator.

Next run the following command to increase the max files per property value.  This command will enable a report to contain up to 1 million files.

Set-FsrmSetting –ReportLimitMaxFilesPerPropertyValue 1000000 –PassThru

After running this command PowerShell will output a summary of the current FSRM parameter values.

Parameter Name translations:

Reporting Limit Constant Name

Parameter Name

FsrmReportLimit_MaxFiles ReportLimitMaxFile
FsrmReportLimit_MaxFileGroups ReportLimitMaxFileGroup
FsrmReportLimit_MaxOwners ReportLimitMaxOwner
FsrmReportLimit_MaxFilesPerFileGroup ReportLimitMaxFilesPerFileGroup
FsrmReportLimit_MaxFilesPerOwner ReportLimitMaxFilesPerOwner
FsrmReportLimit_MaxFilesPerDuplGroup ReportLimitMaxFilesPerDuplicateGroup
FsrmReportLimit_MaxDuplicateGroups ReportLimitMaxDuplicateGroup
FsrmReportLimit_MaxQuotas ReportLimitMaxQuota
FsrmReportLimit_MaxFileScreenEvents ReportLimitMaxFilesScreenEvent
FsrmReportLimit_MaxPropertyValues ReportLimitMaxPropertyValue
FsrmReportLimit_MaxFilesPerPropertyValue ReportLimitMaxFilesPerPropertyValue

Replace the parameter name with the one you wish to change, and what will happen is that the FSRM API is being called from PowerShell cmdlets which in turn provides a new value

Issue the new command in the PowerShell command window to match the structure:


Set-FsrmSetting –command -value –PassThru



Once you execute a command successfully, you should see a summary of the new values for FSRM Reporting Constants displayed. I hope this quick overview on how to increase FSRM storage search limitations was helpful.


Leave a Reply