What does Windows error code 391 (ERROR_CLOUD_FILE_IN_USE) mean?

 
Could be also:
ConstantTypeOS
VIDEO_DWMINIT_TIMEOUT_FALLBACK_BDDBugCheck CodeWindows
Previous Next
ERROR_CLOUD_FILE_NOT_UNDER_SYNC_ROOT ERROR_CLOUD_FILE_PINNED

ERROR_CLOUD_FILE_IN_USE

Open activity conflicts with a cloud-file management operation

ERROR_CLOUD_FILE_IN_USE occurs when a placeholder operation cannot be synchronized safely with active use of the file. Dehydration, reversion, replacement, or metadata transitions may require ranges or placeholder state to remain stable while applications, scanners, indexers, or the provider itself hold handles or mapped views.

Identify the exact operation and inspect open handles, memory mappings, and provider callback activity for the file. Wait for the user I/O or close notification instead of forcing a destructive transition underneath an active reader or writer. If the provider owns the conflicting handle, review its handle lifetime and cancellation path. Rebooting can clear handles but does not fix a repeatable leak or an operation issued at the wrong lifecycle point.

What to inspect

  • Record the requested transition and all provider-held handles for the placeholder.
  • Check for mapped sections, antivirus scans, indexers, and active application I/O.
  • Retry after close completion or redesign the operation around the active-use lifecycle.

References


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