If your HP laptop isn’t connecting to WiFi, run the Network and Internet troubleshooter and update the device drivers. However, if doing so doesn’t help, flush DNS, renew IP, and reset network ...
Once the update is complete ... off your laptop and unplugging it from any power source. Depending on your HP laptop model, you may need to remove the back panel or access the battery compartment ...