|
| 1 | +--- |
| 2 | +title: FSRM Troubleshooting Guidance |
| 3 | +description: Provides troubleshooting methods for issues that affect File Server Resource Manager (FSRM) and Windows file storage components. |
| 4 | +ms.date: 10/07/2025 |
| 5 | +manager: dcscontentpm |
| 6 | +audience: itpro |
| 7 | +ms.topic: troubleshooting |
| 8 | +ms.reviewer: kaushika |
| 9 | +ms.custom: |
| 10 | +- sap:Backup, Recovery, Disk, and Storage\File Server Resource Manager (FSRM) |
| 11 | +- pcy:WinComm Storage High Avail |
| 12 | +appliesto: |
| 13 | + - <a href=https://learn.microsoft.com/windows/release-health/windows-server-release-info target=_blank>Supported versions of Windows Server</a> |
| 14 | +--- |
| 15 | + |
| 16 | +# FSRM troubleshooting guidance |
| 17 | + |
| 18 | +## Summary |
| 19 | + |
| 20 | +File Server Resource Manager (FSRM) and Windows file storage components manage quotas and screen file types, and report on file server usage in enterprise environments. These applications can be affected by a variety of issues, including permission problems, configuration errors, and service failures. This article provides troubleshooting guidance for these issues in Windows Server 2016 and later versions. |
| 21 | + |
| 22 | +## Troubleshooting checklist |
| 23 | + |
| 24 | +Use this checklist for systematic troubleshooting: |
| 25 | + |
| 26 | +- **Clarify the issue** |
| 27 | + - Is it a service error, access denial, policy not applying, or something else? |
| 28 | + - Collect error messages, event IDs, and affected paths, drives, and users. |
| 29 | +- **Establish the scope** |
| 30 | + - Is the issue affecting all users or only some? |
| 31 | + - Is it isolated to particular volumes, folders, or file types? |
| 32 | +- **Verify system health** |
| 33 | + - Are all critical services (FSRM, RPC, and so on) running? |
| 34 | + - Are any disks marked as dirty or offline? |
| 35 | + - Do recent OS errors, disk errors, or application errors appear in Event Viewer? |
| 36 | +- **Check configuration** |
| 37 | + - Verify that the correct file system (NTFS) and permissions are configured. |
| 38 | + - Are quotas, screens, and policies correctly applied and visible in FSRM? |
| 39 | + - Is the FSRM role or feature installed and up to date? |
| 40 | +- **Try reproduction** |
| 41 | + - Try to reproduce the issue by using test accounts or different scenarios to verify consistency. |
| 42 | +- **Record all applied fixes** |
| 43 | + - Maintain a log of actions and commands that are used during troubleshooting. |
| 44 | + |
| 45 | +## Common issues and solutions |
| 46 | + |
| 47 | +The following sections detail the most common failure modes and provide step-by-step solutions. |
| 48 | + |
| 49 | +### FSRM console doesn't load, Access Denied, or Service Start failure |
| 50 | + |
| 51 | +#### Symptoms |
| 52 | + |
| 53 | +- "Access Denied" (0x80070005) error message when you try to open quotas. |
| 54 | +- FSRM console stops responding. |
| 55 | +- FSRM service doesn't start ("Unexpected error 0xc00cee22" or "XMLReader::parseURL ... quota.xml, 0xc00cee2d"). |
| 56 | +- Event log error entries referencing permission issues on quota.xml or related files. |
| 57 | + |
| 58 | +#### Resolution |
| 59 | + |
| 60 | +1. Repair file permissions: |
| 61 | + |
| 62 | + 1. Stop FSRM service: net stop srmsvc |
| 63 | + 2. Take ownership and set permissions: |
| 64 | + |
| 65 | + ```console |
| 66 | + takeown /f "C:\System Volume Information\SRM\quota.xml" |
| 67 | + icacls "C:\System Volume Information\SRM\quota.xml" /grant administrators:F |
| 68 | + attrib -s -h "C:\System Volume Information\SRM\quota.xml" |
| 69 | + ``` |
| 70 | + |
| 71 | + 3. If the XML is corrupted, rename or delete it (after you back it up), restart FSRM, and then reconfigure the quotas. |
| 72 | +2. Repair or reregister the WMI repository: |
| 73 | + |
| 74 | + ```console |
| 75 | + winmgmt /verifyrepository |
| 76 | + winmgmt /salvagerepository |
| 77 | + net stop winmgmt |
| 78 | + net start winmgmt |
| 79 | + net stop srmsvc |
| 80 | + net start srmsvc |
| 81 | + ``` |
| 82 | + |
| 83 | +3. Reregister srmsvc.dll: |
| 84 | + |
| 85 | + ```console |
| 86 | + regsvr32 /i srmsvc.dll |
| 87 | + ``` |
| 88 | + |
| 89 | +### Quotas, screens, or template issues |
| 90 | + |
| 91 | +#### Symptoms |
| 92 | + |
| 93 | +- Quotas and file screens don't update or aren't visible. |
| 94 | +- Policies don't apply or affect only new users. |
| 95 | +- Errors messages that mention "Update-FsrmAutoQuota," or you can't assign quotas or screens to certain volumes. |
| 96 | + |
| 97 | +#### Resolution |
| 98 | + |
| 99 | +1. Check the file system type. FSRM works only together with NTFS. Volumes that use ReFS can't be managed by FSRM. Move data to NTFS to use FSRM functionality. |
| 100 | +2. Correct quota templates: |
| 101 | + 1. Open FSRM, verify that templates match the intended policy. |
| 102 | + 1. Reapply autoapply quotas: Use Set-FsrmAutoQuota -Path ... -Template ... -UpdateDerived. |
| 103 | + 1. For bulk soft or hard quota conversion, edit the shared template, and then select **Apply to all derived quota**. |
| 104 | +3. Fix PowerShell or COM object issues: |
| 105 | + 1. Make sure that scripts use 64-bit PowerShell. |
| 106 | + 1. Reinstall or reregister FSRM role or DLLs. |
| 107 | +4. File screenshot or blocking: |
| 108 | + 1. Export a working file screen from another server, and then re-import. |
| 109 | + 1. For files that don't match the intended patterns, rebuild or correctly configure the file screen groups or templates. |
| 110 | + |
| 111 | +### Access Denied, read-only, or file copy errors |
| 112 | + |
| 113 | +#### Symptoms |
| 114 | + |
| 115 | +- "Access Denied" to drives or folders. |
| 116 | +- All files that are copied or created are read-only. |
| 117 | +- You can't delete or rename files because of long file or path names. |
| 118 | +- A PDF or specific file type copy fails, although others types succeed. |
| 119 | + |
| 120 | +#### Resolution |
| 121 | + |
| 122 | +1. Permissions and inheritance:\<FolderPath> /r /d y and icacls \<FolderPath> /grant administrators:F /t. For inheritance: Use PowerShell to set AreAccessRulesProtected to false. |
| 123 | +2. Clear the read-only status by using diskpart: |
| 124 | + |
| 125 | + ```console |
| 126 | + diskpart |
| 127 | + list disk |
| 128 | + select disk <number> |
| 129 | + attributes disk clear readonly |
| 130 | + ``` |
| 131 | +3. Long paths: Use robocopy or compatible deletion tools. Windows Explorer and default DEL command have legacy path length limits. |
| 132 | +4. Zone.Identifier issues (files blocked after download): Unblock all files in a directory: |
| 133 | + |
| 134 | + dir .\\* | Unblock-File |
| 135 | + |
| 136 | +### Cluster, failover, and file share issues |
| 137 | + |
| 138 | +#### Symptoms |
| 139 | + |
| 140 | +- Nodes don't join cluster, or FSRM doesn't start on secondary node. |
| 141 | +- Mount points don't appear, or drive sizes are reported incorrectly. |
| 142 | +- Persistent reservation errors and cluster resource placement problems occur. |
| 143 | + |
| 144 | +#### Resolution |
| 145 | + |
| 146 | +1. Cluster Resource or Storage Grouping: |
| 147 | + - Make sure that cluster IP and name resources are under the cluster core group. |
| 148 | + - Move resources as necessary: |
| 149 | + |
| 150 | + Move-ClusterResource -Name \<name> -Group "Cluster Group" |
| 151 | + |
| 152 | +2. Offline or corrupted cluster disks: Evict and restore nodes as necessary. Run CHKDSK /F on offline disks. |
| 153 | +3. Drive Letter for mount points: Assign a drive letter to the volume if visibility in Explorer is required. |
| 154 | + |
| 155 | +### File screening save and Microsoft Excel issues (.tmp Blocked) |
| 156 | + |
| 157 | +#### Symptoms |
| 158 | + |
| 159 | +- Saving macro-enabled spreadsheets (.xlsm) fails because of .tmp file blocks. |
| 160 | +- Event log entry: Access Denied, but not for the .xlsm file itself. |
| 161 | + |
| 162 | +#### Resolution |
| 163 | + |
| 164 | +1. Remove the .tmp extension from the relevant FSRM file screen group for the affected share. |
| 165 | +2. After the change, verify that you can successfully save by using a temporary file. |
| 166 | + |
| 167 | +### FSRM service or role installation or startup fails |
| 168 | + |
| 169 | +#### Symptoms |
| 170 | + |
| 171 | +- "CBS_E_SOURCE_MISSING" when you try to install FSRM. |
| 172 | +- Service fails and generates .NET or feature dependency errors. |
| 173 | + |
| 174 | +#### Resolution |
| 175 | + |
| 176 | +1. Mount the Windows installation ISO, and provide the SxS path: |
| 177 | + |
| 178 | + DISM /Online /Enable-Feature /FeatureName:FS-Resource-Manager /All /Source:D:\sources\sxs /LimitAccess |
| 179 | +2. Install or repair the required prerequisites (for example, .NET 3.5). |
| 180 | + |
| 181 | +### Disk expansion, repair, or sudden space loss |
| 182 | + |
| 183 | +#### Symptoms |
| 184 | + |
| 185 | +- Can't extend a partition unless unallocated space is immediately adjacent. |
| 186 | +- Disk repair (chkdsk/REPAIR-VOLUME) takes excessively long or repeats. |
| 187 | +- Sudden disk space loss, high NTFS log or event log consumption. |
| 188 | + |
| 189 | +#### Resolution |
| 190 | + |
| 191 | +1. Partition extension: |
| 192 | + - Delete or back up the adjacent drive E to make space, extend drive D, re-create drive E, restore data. |
| 193 | +2. Disk repair: |
| 194 | + - Run: chkdsk /scan, and then run chkdsk /spotfix for offline repairs, if possible. |
| 195 | +3. Space loss: |
| 196 | + - Use tools such as WinDirStat to find large file growth. |
| 197 | + - Offload or archive event logs. |
| 198 | + - Enable event forwarding and maintain minimal local log retention. |
| 199 | + |
| 200 | +### Robocopy, backup copy issues (SID, /B, /Z options, access errors) |
| 201 | + |
| 202 | +#### Symptoms |
| 203 | + |
| 204 | +- Robocopy fails and returns Error 1317 (account doesn't exist) when you copy files that have unresolvable SIDs in permissions. |
| 205 | +- /B or /ZB options don't work as intended. |
| 206 | + |
| 207 | +#### Resolution |
| 208 | + |
| 209 | +1. To avoid copying owner SIDs, run Robocopy by using /copy:datsu instead of /copy:datsou. |
| 210 | +2. Make sure that the running account has backup and restore rights on both the source and destination for /B or /ZB. |
| 211 | +3. For /Z (restartable mode), verify that the OS version matches known compatibility and bug lists. |
| 212 | + |
| 213 | +## Common issues quick reference table |
| 214 | + |
| 215 | +| Symptom | Root cause | Fastest fix / Commands | Notes | |
| 216 | +|-----|-----|-----|-----| |
| 217 | +| FSRM console error: access denied | Permissions on SRM\quota.xml | takeown/icacls/attrib, restart srmsvc | Backup quota.xml | |
| 218 | +| Quotas not updating or applied, templates not working | Outdated or mismatched templates | Set-FsrmAutoQuota, edit or reapply template | Use 64-bit PS | |
| 219 | +| Can't assign quotas to ReFS volumes | FSRM NTFS-only | Move data to NTFS | ReFS not supported | |
| 220 | +| .pdf or .xlsm can't be saved or copied despite access | Zone.Identifier or .tmp blocked | dir .\* | Unblock-File, edit screen group, remove .tmp block | |
| 221 | +| FSRM service doesn't start, parse errors in XML | Corrupted quota.xml, unescaped "&" | Replace with "&," takeowner, restart service | | |
| 222 | +| Disk repair/expand fails | Dirty flag, unallocated space issues | chkdsk /spotfix, delete adjacent partition extend, diskpart clear read-only | Plan downtime | |
| 223 | +| File screens block unexpected extensions | Template corruption or accidental mislist | Export and import from good server, verify templates | Consistency | |
| 224 | +| Cluster failover fails, resource offline | Resource misplacement, PR error | Move-ClusterResource, chkdsk, fix dependencies | Review cluster log | |
| 225 | +| Robocopy fails and returns SID errors, /B or /Z options not working | Missing backup or restore rights or invalid SID | Assign rights, Robocopy /copy:datsu, use admin account | Bug in /Z (doc) | |
| 226 | +| File or folder stuck as read-only | Disk or registry attribute |dDiskpart attributes, registry StorageDevicePolicies | Check vendor drivers | |
| 227 | +| Can't delete or rename because of long path | Windows path limitation | Try Robocopy or third-party tool, enable longpath policy on new OS | OS limitation | |
| 228 | + |
| 229 | +## Data collection |
| 230 | + |
| 231 | +Before you contact Microsoft Support, you can gather the following information about your issue. |
| 232 | + |
| 233 | +- **Event Logs:** Application, System, SRMSVC, NTFS Operational, custom FSRM logs. |
| 234 | +- **Procmon/Process Monitor Traces:** For file access errors and third-party driver analysis. |
| 235 | +- **PowerShell Outputs:** |
| 236 | + - Get-Acl \<folder> |
| 237 | + - Get-FsrmQuota: Select-Object Path, Size, Usage |
| 238 | + - Get-FsrmAutoQuota |
| 239 | +- **DISM logs:** For role or feature installation |
| 240 | +- **Cluster and diskpart outputs:** If clusters or storage pools are involved |
| 241 | +- **FSRM exports:** dirquota template export, and so on |
| 242 | +- **Robocopy logs:** /log:\<path> |
| 243 | +- **WinDirStat disk usage snapshots** |
| 244 | +- **Network traces (if relevant):** For SMB/connectivity issues |
| 245 | + |
| 246 | +**Command-line example:** |
| 247 | + |
| 248 | +```console |
| 249 | +# Permissions and ownership |
| 250 | +takeown /f "<path>" /r /d y |
| 251 | +icacls "<path>" /grant administrators:F /t |
| 252 | + |
| 253 | +# FSRM quota exports |
| 254 | +dirquota quota list > quotas.txt |
| 255 | + |
| 256 | +# Unblock alternative data streams |
| 257 | +Get-ChildItem -Path <path> -Recurse | Unblock-File |
| 258 | +``` |
| 259 | + |
| 260 | +## References |
| 261 | +- [File Server Resource Manager overview](/windows-server/storage/fsrm/fsrm-overview) |
| 262 | +- [FSRM PowerShell module](/powershell/module/fileserverresourcemanager) |
| 263 | +- [Windows Server storage spaces prerequisites](/windows-server/storage/storage-spaces/deploy-storage-spaces-direct) |
| 264 | +- [WinDirStat download](https://windirstat.net/) |
| 265 | +- [Using Robocopy](/windows-server/administration/windows-commands/robocopy) |
| 266 | +- [Diskpart tool reference](/windows-server/administration/windows-commands/diskpart) |
| 267 | +- [Process Monitor v4.01](/sysinternals/downloads/procmon) |
0 commit comments