Hi there,
Is the Wifi working fine with other devices?
First, try running the troubleshooter
Select the Start button, then type settings. Select Settings > System > Troubleshoot > Other troubleshooters.
Under Other, select Network Adapter > Run.
Try running these network commands to manually reset the TCP/IP stack, release and renew the IP address, and flush and reset the DNS client resolver cache:
Select Search on the taskbar, type Command prompt. The Command Prompt button will appear. To the right of it, select Run as administrator > Yes.
At the command prompt, run the following commands in the listed order, and then check to see if that fixes your connection problem:
Type netsh winsock reset and select Enter.
Type netsh int ip reset and select Enter.
Type ipconfig /release and select Enter.
Type ipconfig /renew and select Enter.
Type ipconfig /flushdns and select Enter.
Restart the PC after this and see if it is helpful, if not try the repair update.
Here is a link that you might help you out too https://support.microsoft.com/en-us/windows/fix-wi-fi-connection-issues-in-windows-9424a1f7-6a3b-65a6-4d78-7f07eee84d2c
--If the reply is helpful, please Upvote and Accept it as an answer--