0x80070042 - ERROR_BAD_DEV_TYPE
The network resource type is not correct.
Symptoms
- The network resource type is not correct.
- System error 66 (ERROR_BAD_DEV_TYPE)
Troubleshooting steps
- Note the exact error 66 (ERROR_BAD_DEV_TYPE) 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_DEV_TYPE (see the reference URL).
- Retry the operation after applying the fix and confirm the error no longer appears.
Reference: learn.microsoft.com