Welcome Hannah M,
Thanks for reaching out to the Q&A Forum and apologies for any inconvenience you've experienced.
Based on what you described, I understand you’re experiencing an issue where your Ethernet adapter has become invisible or unrecognized by Windows, with a Code 31 error indicating that Windows cannot load the drivers properly.
Here are a few steps workaround you can try to fix it:
1. Check hidden device
- Open Device Manager > View > select Hidden devices to see if the issue is resolved.
2. Reset network configuration: use Command Prompts to reset your network settings
- Open Command Prompt and run it as administrator. Then, copy and paste each of the following commands and press Enter after each:
netsh int ip reset netsh winsock reset ipconfig /release ipconfig /renew
- Restart your computer and see if the problem is solved
3. Scan for hardware changes: This function scans and detects hardware changes on your computer. When you select this command, Windows will search for newly added hardware devices or devices with configuration changes that haven’t been detected by the system. If there are new or changed devices, Windows will automatically install or update the appropriate drivers so the device can function properly.
- Open Device Manager > Action > Scan for hardware changes
Note: This function forces Windows to rescan all installed hardware and process necessary changes so the device can operate correctly. It helps resolve hardware issues such as devices disappearing or not being recognized by drivers.
Please understand that my initial reply may not always immediately resolve the issue. I really hope that the information I gave above was helpful to you. Please feel free to reply below and let me know if you have further concern on this matter.
PS: If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.