I had the same problem with my laptop and it happened 2 times now. The 1st time it happened, I was connected to my prepaid wifi then suddenly there was an internet error, i tried reconnecting but no internet, my phone was surfing the web just fine so laptop was the prob. I tried disconnecting and reconnecting but there was error in connecting, so i tried restarting the laptop but that did not work and wifi settings disappeared. Thankfully, i had a LAN cable so I connected the laptop to the wifi, that did not immediately work but when i restarted both the laptop and wifi somehow the wifi settings was back to where it was supposed to be. Now, the second time it happened i was connected to our wifi at home, i did what i did the first time it happened but no matter how many times i restarted nothing happened. Then, I researched the net for tips how to solve this prob, ( fix that's more than just restarting cos it might be a serious prob already), I tried the troubleshoot setting fix, the device manager fix and had probably restarted my laptop for 10 times already but those did not work. What worked for me was the command prompt fix and hopefully the problem would not happen again or atleast just hoping the cmd prompt fix will the the work again next time.
Command prompt fix:
- search for CMD on search bar at bottom of screen or when you click start icon
- right click on command prompt then run as administrator
- type or copy and paste this command one by one:
netsh int ip reset
netsh advfirewall reset
netsh winsock reset
ipconfig /flushdns
ipconfig /release
ipconfig /renew
- restart your laptop
Hopefully this works for you too. And I do hope this gets a permanent fix in future software updates coz it's so troublesome.