Go to Start>Settings>Network and Internet>Wi-Fi>Manage known networks, remove/forget all existing WiFi network profiles, then reconnect to the hotspot by correctly re-entering the wi-fi password set on your phone.
If it still doesn't work, run the troubleshooter and report the Windows message or post a screenshot