Error 145 - ERROR_DIR_NOT_EMPTY
The directory is not empty.
Symptoms
- The directory is not empty.
- System error 145 (ERROR_DIR_NOT_EMPTY)
Troubleshooting steps
- Note the exact error 145 (ERROR_DIR_NOT_EMPTY) 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_DIR_NOT_EMPTY (see the reference URL).
- Retry the operation after applying the fix and confirm the error no longer appears.
Reference: learn.microsoft.com