What does Windows error code 348 (ERROR_MARKED_TO_DISALLOW_WRITES) mean?

 
Could be also:
ConstantTypeOS
PDC_WATCHDOG_TIMEOUT_LIVEDUMPBugCheck CodeWindows
Previous Next
ERROR_BLOCK_TOO_MANY_REFERENCES ERROR_ENCLAVE_FAILURE

ERROR_MARKED_TO_DISALLOW_WRITES

The stream is intentionally protected from writes

ERROR_MARKED_TO_DISALLOW_WRITES is a Win32 system result. This state is stronger than a transient sharing conflict. A filesystem, filter, policy component, or storage workflow has marked the stream so that writes are not permitted until the state is changed through its owning mechanism.

What the result means

The target file stream is explicitly marked to reject write operations. For ERROR_MARKED_TO_DISALLOW_WRITES, keep the symbolic name, numeric value, and failing operation together in diagnostics; that combination distinguishes the exact failure path from nearby system results.

What to check

  • Inspect file attributes, filesystem policy, filter-driver state, and storage-management status.
  • Determine whether backup, replication, integrity, or archival software placed the protection.
  • Verify that the application is addressing the correct stream and not an alternate data stream.
  • Capture the exact write API, offset, and requested access.

Recommended handling

Resolve the owning policy or workflow before writing. Copying data to a new approved destination may be safer than trying to remove protection from the original object.

Developer notes

Do not collapse this status into generic read-only handling. Preserve the symbolic code in logs and avoid automatic attribute manipulation unless the component that set the state documents a supported reversal. When a Win32 API reports ERROR_MARKED_TO_DISALLOW_WRITES, capture GetLastError() immediately; subsequent cleanup, formatting, or logging calls can replace the thread-local value.

References


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