I see a lot of people having issues with WiFi connectivity. I just purchased and Envy x360 and had the same issue but discovered a fix. If your machine has a RealTek RTL8822CE, go to device manager, right click it and select update drivers. In the next screen, click browser my computer for drivers. In the next screen, click let me pick from a list. In the next screen there should be three options, click on the MICROSOFT driver and install that one and the speed / disconnect issues should be fixed. Seems like theses issues are due to RealTeks crappy driver.
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".