Site icon EfmSoft

What does HRESULT 0x80045393 (FSRM_E_CANNOT_REMOVE_READONLY) mean?

 
Previous Next
FSRM_E_ADR_NOT_DOMAIN_JOINED FSRM_E_FILE_MANAGEMENT_JOB_INVALID_CONTINUOUS_CONFIG

FSRM_E_CANNOT_REMOVE_READONLY

FSRM_E_CANNOT_REMOVE_READONLY is the failure HRESULT 0x80045393 (signed decimal -2147200109, unsigned decimal 2147767187). Its severity bit is 1, facility is 4 (FACILITY_ITF), and the facility-specific code field is 0x5393.

FSRM cannot remove the file read-only attribute

This result means File Server Resource Manager attempted to clear the read-only attribute from a selected file and the operation failed. The read-only bit is distinct from NTFS discretionary access control, volume read-only state, and an incompatible open handle, although any of those surrounding conditions can prevent the transition.

AllStat records the official condition as: “File Server Resource Manager could not remove the read-only attribute from a file.” The wording should be interpreted at this FSRM stage, not as a generic file-system or COM failure.

Where the failure boundary lies

The file has already reached a stage where an FSRM workflow wants to modify, move, replace, or otherwise process it. Clearing the attribute is a prerequisite for that action, not proof that the final action itself has started. The public HRESULT does not name the job type, so the job report and event data are required to locate the stage.

Likely causes to separate

Evidence worth preserving

Diagnostic sequence

Retry and recovery

Remove the specific write restriction or grant the required attribute-change access, then retry the individual file after confirming that its classification and job conditions still match. If a storage provider intentionally enforces read-only semantics, move the policy to a supported writable copy instead of defeating the provider. A retry without a changed attribute or storage state is not useful.

What this HRESULT does not establish

This HRESULT does not prove that the file contents are read-only in an application-specific sense, and it does not identify whether the failure came from ACLs, media state, a filter driver, or a race. It also does not mean every file in the job failed.

Difference from nearby FSRM results

FSRM_E_FILE_IN_USE identifies an incompatible open handle. FSRM_E_CANNOT_CREATE_TEMP_COPY concerns creation of a working file, while this code concerns changing an attribute on the selected object.

Practical scenario

A file-management task selects documents restored from read-only media. FSRM can enumerate and classify them but cannot clear the attribute required before its custom action, returning this HRESULT. The administrator stages writable copies on NTFS and reruns the task only for those files.

Guidance for software and telemetry

Log attributes as a bitmask and preserve the underlying operating-system error. Automation should not respond by globally issuing a recursive attribute-clear command; remediation must be scoped to the job and storage contract.

Official Microsoft references


Looking for a different code? Search another status or error code.

Exit mobile version