| Previous | Next |
| ERROR_NOT_A_CLOUD_SYNC_ROOT | ERROR_VOLUME_NOT_CLUSTER_ALIGNED |
ERROR_FILE_PROTECTED_UNDER_DPL
The file is protected by Data Protection Lock
ERROR_FILE_PROTECTED_UNDER_DPL means Windows is enforcing a data-protection policy that temporarily denies access to the file. The file can exist and its ACL can appear correct while policy still blocks the operation.
When to expect it
- The device is locked or the required user context is not available.
- Enterprise data-protection policy classifies the file as protected.
- A background service accesses user data before the protected context is unlocked.
- A synchronization, backup, or indexing task opens the file outside the permitted policy state.
Diagnosis
Record the calling identity, session state, package or process identity, and whether the same file becomes accessible after unlock or sign-in. Compare protected and unprotected files in the same directory. Do not misdiagnose the result as a generic NTFS permission problem.
Handling
Defer work until the required protection state is available, or use the documented enterprise-data APIs and brokered flows. Do not copy the file to an unprotected location merely to bypass policy. User-facing software should explain that access is blocked by device or organizational protection rather than claiming the file is corrupt.
Service design
Queue protected-file work with bounded retries triggered by session or policy changes, not by a tight timer. Preserve the original path and operation so work can resume safely.
References
Looking for a different code? Search another status or error code.