hello there
let us start troubleshooting this
To run the Network troubleshooter
Select Start > Settings > System > Troubleshoot > Other troubleshooters .
Under Most frequent, select Network & Internet > Run, or select the button below to launch the Network & Internet Get Help feature.
Follow the steps in the troubleshooter and see if that fixes the problem.
Restart your modem and wireless router. This helps create a new connection to your internet service provider (ISP).
Check to see if there is a problem with the connection to your Wi-Fi router. Do this by using a ping test.
Select Search on the taskbar, and type command prompt. The Command Prompt button will appear. To the right of it, select Run as administrator > Yes.
At the command prompt, type ipconfig, and then select Enter. Look for the name of your Wi-Fi network within the results, and then find the IP address listed next to Default gateway for that Wi-Fi network. Write down that address if you need to. For example: 192.168.1.1
At the prompt, type ping <DefaultGateway> and then select Enter. For example, type ping 192.168.1.1 and select Enter. The results should be something like this:
Reply from 192.168.1.1: bytes=32 time=5ms TTL=64
Reply from 192.168.1.1: bytes=32 time=5ms TTL=64
Reply from 192.168.1.1: bytes=32 time=5ms TTL=64
Reply from 192.168.1.1: bytes=32 time=5ms TTL=64
Ping statistics for 192.168.1.1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 4ms, Maximum = 5ms, Average = 4ms
If you see results like this and are getting a reply, then you have a connection to your Wi-Fi router, so there might be a problem with your modem or ISP. Contact your ISP or check online on another device (if you can) to see if there's a service outage.
Run network commands
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, and 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.
Uninstall the network adapter driver and restart
If the previous steps didn’t work, try to uninstall the network adapter driver, and then restart your computer. Windows will automatically install the latest driver. Consider this approach if your network connection stopped working properly after a recent update.
Before uninstalling, make sure you have drivers available as a backup. Visit the PC manufacturer’s website and download the latest network adapter driver from there. If your PC can't connect to the internet, you'll need to download a driver on a different PC and save it to a USB flash drive so you can install the driver on your PC. You’ll need to know the PC manufacturer and model name or number.
Select Search on the taskbar, type device manager, and then select Device Manager from the list of results.
Expand Network adapters, and locate the network adapter for your device.
Select the network adapter, press and hold (or right-click), and then select Uninstall device > check the Attempt to remove the driver for this device check box > Uninstall.
After uninstalling the driver, select Start > Power > Restart .
After your PC restarts, Windows will automatically look for and install the network adapter driver. Check to see if that fixes your connection problem. If Windows doesn't automatically install a driver, try to install the backup driver you saved before uninstalling.
And see if it helps,
Thank you
--If the reply is helpful, please Upvote and Accept as answer--