I understand that you are facing issues with wifi connectivity.
Here's a guided troubleshooter that will help fix this issue: Click here
Try these steps:
Go to Device manager > select the WIFI drivers under network adapter> Right click go to properties > Under properties go to Power Management Tab> Uncheck "Allow the computer to turn off this device to save power".
If issue persists, continue with the below steps:
If your computer has a wireless key or button on or near the keyboard and the wireless activity light is off or amber in color, then press the key or button to enable your wireless adapter. This key might be the F10 key, F12 key or labeled with a symbol of an airplane.
If wireless activity comes on or the activity light turns blue, you have enabled wireless on your system. Try connecting to the Internet again. If problems persist, continue using these steps.
Keep us posted,
If you would like to thank us for our efforts to help you,
Give us a virtual high-five by clicking the 'Thumbs Up' icon below, followed by clicking on the "Accept as solution" on this post,
Have a great day!
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".