-
1
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
1
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Notebooks
- Notebook Operating System and Recovery
- Network drivers all say code 31

Create an account on the HP Community to personalize your profile and ask a question
06-20-2018 03:37 AM - edited 06-20-2018 03:59 AM
Hello
This Windows 7 laptop cannot connect to the internet with ether net cable or wireless. When going to device manager all drivers come up with the error code 31. I have tried downloading the drivers from the HP but still have the same error. Tried using a wireless dongle but after set up is done it to comes up with the errror code 31. Looks like an issue with the OS but I really do not want to reinstall the laptop. It originally came in with WAN port mini drivers coming up with code 31 but I have followed instructions online and removed them but that has not solved the issue. I have also tried a system restore
Solved! Go to Solution.
Accepted Solutions
06-22-2018 01:59 PM
It looks like you were interacting with @Flower_Bud, but he is out for the day & I'll be glad to help you out, I'm the Riddle_Decipher & I'm at your service (Like a Genie without magic powers) 😉
I reviewed your concern and the entire conversation, did some research and here's what I recommend:
Considering, the error 31 code appears in case of a bad driver or a faulty hardware, we are at the stage where we need to perform a hardware test to identify what's exactly going on:
-
Hold the power button for at least five seconds to turn off the computer.
-
Turn on the computer and immediately press Esc repeatedly, about once every second. When the menu appears, press the F2 key.
-
On the main menu, click Component Tests.
Figure : Selecting Component Tests from the main menu
-
The Component Tests menu displays.
Your Component Tests menu might be different, depending on the components installed on your computer.
Figure : Sample list of Component Tests
Run the network test to identify the issue and either get back to us with the failure ID or simply Contact HP to have the part replaced:
HP Support can be reached by clicking on the following link:
1) Click on this link - https://hp.care/2moMFSc
2) Click on "Continue as guest".
3) Enter the serial of your device.
4) Select the country from the drop-down.
5) Click on "Show Options".
Fill the web-form. A case number and phone number will now populate for you.
They will be happy to assist you immediately.
If the unit is under warranty repair services under the manufacturer's warranty will be free of charge.
If you would like to thank me for my efforts to help you,
feel free to give me a virtual high-five by clicking the 'Thumbs Up' icon below,
Followed by clicking on the "Accept as solution".
Have a great day!
Riddle_Decipher
I am an HP Employee
Learning is a journey, not a destination.
Let's keep asking questions and growing together.
06-21-2018 12:14 PM
Welcome to HP Forums,
This is a great place to get support, find answers and tips,
Thank you for posting your query, I'll be more than glad to help you out 🙂
As I understand, your PC does not connect to Wi-Fi or Ethernet
Don't worry as I'll be glad to help, however, to provide an accurate resolution, I need a few more details:
When was the last time it worked fine
Were there any hardware/software changes made?
You could refer to this article for detailed error code information: https://support.hp.com/in-en/document/c03540049
Error code: 31,
Error description: This device is not working properly because Windows cannot load the drivers required for this device.
Suggested resolution:
Update the driver for the device.
If the error continues, the device might be incompatible with the version of Windows you are using, the device hardware might have failed, or the connection to the device might be bad.
This seems to be Operating system issue although we could try these steps to resolve the issue:
Run HP Support Assistant Updates:
-
In Windows, search for and open HP Support Assistant.
-
The first time you open HP Support Assistant, a Welcome to HP Support Assistant window opens.
-
Click My devices on the top of the HP Support Assistant window, and then click Updates in the window for your device. The Updates window opens.
-
If HP Support Assistant detects updates, a list of updates displays in the Updates available window.
-
To check for recent updates, click Check for updates and messages.
-
Downloads messages and updates
If the issue did not get resolved, you could create a new user account following steps from the link: Click here
If the issue persists, please perform a system recovery from the article: https://support.hp.com/in-en/document/c01867418#AbT3
NOTE: Back up your personal data before performing a system recovery.
Keep me posted,
Cheers 🙂
06-22-2018 03:49 AM
Originally came with Windows 7 installed and I have used the Windows 7 drivers that are on the HP website and had no luck there.
I ran the HP support network scan and all that said was reinstall the drivers and as I already said did not solve the issue
06-22-2018 01:59 PM
It looks like you were interacting with @Flower_Bud, but he is out for the day & I'll be glad to help you out, I'm the Riddle_Decipher & I'm at your service (Like a Genie without magic powers) 😉
I reviewed your concern and the entire conversation, did some research and here's what I recommend:
Considering, the error 31 code appears in case of a bad driver or a faulty hardware, we are at the stage where we need to perform a hardware test to identify what's exactly going on:
-
Hold the power button for at least five seconds to turn off the computer.
-
Turn on the computer and immediately press Esc repeatedly, about once every second. When the menu appears, press the F2 key.
-
On the main menu, click Component Tests.
Figure : Selecting Component Tests from the main menu
-
The Component Tests menu displays.
Your Component Tests menu might be different, depending on the components installed on your computer.
Figure : Sample list of Component Tests
Run the network test to identify the issue and either get back to us with the failure ID or simply Contact HP to have the part replaced:
HP Support can be reached by clicking on the following link:
1) Click on this link - https://hp.care/2moMFSc
2) Click on "Continue as guest".
3) Enter the serial of your device.
4) Select the country from the drop-down.
5) Click on "Show Options".
Fill the web-form. A case number and phone number will now populate for you.
They will be happy to assist you immediately.
If the unit is under warranty repair services under the manufacturer's warranty will be free of charge.
If you would like to thank me for my efforts to help you,
feel free to give me a virtual high-five by clicking the 'Thumbs Up' icon below,
Followed by clicking on the "Accept as solution".
Have a great day!
Riddle_Decipher
I am an HP Employee
Learning is a journey, not a destination.
Let's keep asking questions and growing together.