The “Default gateway is not available” error message is a common issue that has been experienced by a lot of Windows users, be it Windows 11, 10, or the predecessors. The error message is shown as a result of the built-in Windows troubleshooter for networks which, contrary to its name, does not offer much functionality and help in fixing the issue. As it turns out, the error message in question can be caused by a number of factors which include your network adapter’s power management settings to the third-party software that is installed on your computer. In this article, we are going to take you through the process and show you how to resolve the problem mentioned so just follow along.
As it turns out, the internet has become a necessity and having a working internet connection is important to everyone. However, when this experience is ruined by an error message, it tends to be really annoying. There are a number of different internet connectivity issues that you might come across while using Windows such as the No Internet Access error. Fortunately, these can be resolved quite easily with the right guidelines.
The default gateway is essentially where information is sent when the destination is not known. To be more precise, a default gateway provides outgoing access to data packets that are leaving your network to communicate with other devices in another network. Before we start off with that, it is important to go through the different causes of the error message at hand so that you understand what essentially is causing the issue.
Now that we have gone through some of the possible causes of the issue in question, let us get started with the different methods that you can use to circumvent the problem. With that said, let us jump into it without any further delay.
Change Network Adapter Power Settings
The first thing that you should do when you encounter the error message mentioned is to check the power settings of your network adapter. As it turns out, in some cases, the power settings on your system will make certain devices go to sleep that it thinks are not required. As such, when the device goes to sleep, it is obvious you will not be able to use it properly.
Therefore, making sure that the network adapter on your system is not put to sleep by Windows should be the first step into resolving the issue. Follow the instructions down below to do this:
- First of all, open up the Device Manager by searching for it in the Start Menu.
- On the Device Manager window, expand the Network adapters list.
- From the list, right-click on your network adapter and choose the Properties option.
- On the Properties window, switch to the Power Management tab.
- There, go ahead and uncheck the Allow the computer to turn off this device to save power checkbox.
- With that done, click the OK button.
- See if that resolves the issue.
Disable Third-Party Antivirus
Another thing that can possibly cause the error message in question is the third-party security program that you have installed on your computer. Third-party antivirus programs are quite infamous for causing issues with several devices of your computer due to it blocking access and whatnot.
As such, you should try turning off the third-party antivirus program on your system to see if that resolves the problem for you. In case it does, completely removing the security program from your system becomes an option.
In some cases, you can resolve the problem mentioned above by simply resetting your IP. Doing this allows your computer to essentially request a new IP address from your router. In order to do this, you will have to release your current IP address so that a new one can be assigned to your system. Follow the instructions down below to do this:
- To start off, open up the Start Menu and search for the Command Prompt. On the left-hand side, click on the Run as administrator option provided.
- Once the Command Prompt window is open, type in the following commands one by one and then hit Enter:
netsh int ip reset C:\resetlog.txt netsh winsock reset ipconfig /flushdns
- With that done, close the command prompt window and go ahead restart your computer.
- After your PC boots up, see if the problem is still there.
Change Network Drivers
As it turns out, there have been various reports of users being able to circumvent the error message in question by changing the network drivers on their system. This means you will install different drivers on your system in place of the ones that you currently have. For this purpose, you won’t be needing to download additional drivers manually. To do this, follow the instructions given down below:
- First of all, open up the Device Manager window by searching for it in the Start Menu.
- On the Device Manager window, expand the Network adapters list.
- Right-click on your network adapter driver and from the drop-down menu, choose the Update driver option.
- Then, on the follow-up screen, choose the Browse my computer for driver software option.
- After that, click on the Let me pick from a list of available drivers on my computer option.
- Uncheck the Show compatible hardware checkbox.
- Then, from the list of drivers shown, choose a different driver from the one currently installed for your network adapter. Click Next.
- Once the driver has been installed, see if the problem goes away.
- In case it does not, you can try reinstalling the network driver.
- For that, right-click on your driver and from the drop-down menu, choose the Uninstall device option.
- With that done, go ahead and restart your computer so that it can be installed automatically by Windows.
- Check if the error message is gone.
Change DNS Server
As we have mentioned, one of the reasons that the problem can occur is due to your DNS server. Domain Name System or DNS server is really important as it resolves the domains into IP addresses. By default, you will be using a DNS server provided by your ISP. However, you can easily change that and use a third-party DNS server from Google or Cloudflare. To do this, follow the instructions given down below:
- To start off, right-click on the network icon on your taskbar and choose the Network and Internet settings option.
- On the settings window, click on the Advanced network settings option.
- Then, click the More network adapter options option.
- On the window that opens up, right-click on your network adapter and from the drop-down menu, choose Properties.
- After that, on the Properties window, double click on the Internet Protocol Version 4 (TCP/IPv4) option.
- At the bottom, choose the Use the following DNS server addresses option and provide either Google’s or Cloudflare’s IP addresses:
Google: 18.104.22.168 22.214.171.124 Cloudflare: 126.96.36.199 188.8.131.52
- With that done, click the OK button. See if the problem goes away.
Perform Clean Boot
Finally, if the above methods have not fixed the problem for you, then it is very likely that the issue is being caused by a third-party application on your system except the antivirus program. In such a scenario, you can validate this suspicion by performing a clean boot.
A clean boot will start up Windows with only the required services running in the background. This means that all of the third-party applications will be disabled on startup. In case the problem goes away in clean boot, you can turn on the services one by one to locate the culprit. Follow the instructions down below to do this:
- First of all, open up the Run dialog box by pressing Windows key + R on your keyboard.
- In the Run dialog box, type in msconfig and hit Enter.
- On the System Configuration window, switch to the Services tab.
- There, go ahead and tick the Hide all Microsoft services checkbox.
- After that, click on the Disable all button and follow it up by clicking Apply.
- With that done, switch to the Startup tab and click on the Open Task Manager option.
- On the Task Manager window, select the provided apps one by one and click the Disable button at the bottom.
- Then, go ahead and restart your computer to perform a clean boot. See if the problem goes away in clean boot.