0x80070021 - ERROR_LOCK_VIOLATION
The process cannot access the file because another process has locked a portion of the file.
Symptoms
- The process cannot access the file because another process has locked a portion of the file.
- System error 33 (ERROR_LOCK_VIOLATION)
Troubleshooting steps
- Note the exact error 33 (ERROR_LOCK_VIOLATION) and which operation failed.
- Check the Windows Event Viewer and the relevant application/service logs for related entries.
- Apply the fix documented by Microsoft for error ERROR_LOCK_VIOLATION (see the reference URL).
- Retry the operation after applying the fix and confirm the error no longer appears.
Reference: learn.microsoft.com