What does HRESULT 0x800F0216 (SPAPI_E_FILEQUEUE_LOCKED) mean?

 
Previous Next
SPAPI_E_NO_CLASSINSTALL_PARAMS SPAPI_E_BAD_SERVICE_INSTALLSECT

SPAPI_E_FILEQUEUE_LOCKED

SPAPI_E_FILEQUEUE_LOCKED means that SetupAPI cannot modify a file queue while the queue is locked by a current operation. File queues represent pending copy, delete, or rename work; changing them during processing would invalidate the state visible to callbacks and installers.

What to check

  • Finish or cancel the current queue commit before enqueueing additional file operations.
  • Keep file-queue callbacks from re-entering code that changes the same queue.
  • Create a separate queue when independent installation phases need to be built concurrently.

Microsoft: SetupAPI file and installation functions


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