Error 161 - ERROR_BAD_PATHNAME
The specified path is invalid.
Symptoms
- The specified path is invalid.
- System error 161 (ERROR_BAD_PATHNAME)
Troubleshooting steps
- Note the exact error 161 (ERROR_BAD_PATHNAME) 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_BAD_PATHNAME (see the reference URL).
- Retry the operation after applying the fix and confirm the error no longer appears.
Reference: learn.microsoft.com