Fix “Default Gateway Is Not Available” Error

Fix “Default Gateway Is Not Available” Error


If you receive the notice ‘Default gateway is not available while troubleshooting your internet connection, the problem is caused by an inaccurate IP address or ISP configuration settings. To resolve this issue, try these workarounds first for easier solutions before moving on to the main solutions. Users see Default gateway not available, which is usually their router, indicating a connection problem between your machine and the router.



Initial Solutions-

1. Shut off your computer. Check to see if you can connect to the internet after rebooting.

2. If you are using an antivirus or firewall, briefly disable it and reconnect to the internet.

If none of these worked, try these fixes:



Fix-1 Disable and Enable network


Disabling and re-enabling the network drive will surely work out for you.

1. First, type “Network Connections” in the search box.

2. Then, click on “Network Connections” in the search result.




The network Connections window will be opened.

2. Then, right-click on your network adapter and then click on “Disable” to disable it.




3. Now, wait for a while.

4. Then, again right-click on the disabled network drive and then click on the “Enable“.




This way you can the network drive will be reset on your computer.

The Default Gateway problem should be fixed.

For Windows 11 Users

1 – Press the Windows key + I key together from your keyboard.

2 -Now, Click on Network & Internet from the left side and then click on Advanced network settings from the right side.



3 – Disable your network adapter (WiFi or Ethernet with which you are connected to the Internet)


4 -Again Click on Enable to enable it.



Fix 2 – Disable Your anti Virus software



If you have third-party anti-virus software (such as Mcafee etc.) installed on your System, please disable it and try again. An easy way to disable it is,

1 – just press CTRL + SHIFT + Esc keys together from your keyboard to open task manager.

2 – Now, Go to the startup tab and locate the Anti Virus from the list.

3 – Right click and Choose diable.

4 – Now, restart your computer.


Fix-3 Reset IP


Resetting the IP on your computer will solve this issue.

1. Press Windows key+R.

2. Type “cmd” and then hit Ctrl+Shift+Enter keys together.




2. To reset the IP config, type or copy-paste these codes one by one and then hit Enter. 

netsh winsock reset
ipconfig /flushdns




Close the Command Prompt window.

Reboot your computer. After rebooting your computer and try to connect to the network again.


Fix-4 Set IPv4 settings manually-


Setting IPv4 settings manually can solve this issue.

1. Press Windows key+R to launch Run window.

2. Now, type “cmd” and then press Ctrl+Shift+Enter.




Command Prompt window will be opened with Administrative rights.

4. In Command Prompt window, type “ipconfig” and then hit Enter.

You can see all details of network credentials on the CMD terminal.




5. Now, look for the adapter settings you are using (for us, it is “WiFi” settings).

6. Note down the details of the adapter (IPv4 Address, Subnet Mask, and Default Gateway).




Then, you need to minimize the Command Prompt window.

6. Press Windows Key+R, to launch Run, and type “ncpa.cpl” and click on “OK“. You will be able to open the Network Connections window.




7. As the next step, what you need to do is to right-click the network adapter and click on “Properties“.




8. Then, double-click on “Internet Protocol Version 4 (TCP/IPv4)“.




9. Then, click on “Use the following IP address:“.

10. What you need to do is to put these data in the particular tabs (  IP addressSubnet maskDefault gateway) .

11. Under “Use the following DNS server settings:” input the following DNS servers settings-

Preferred DNS server:
Alternate DNS server:

12.To save these settings, click on “OK“.




This will surely fix your issue.

Try to reconnect to the internet again.


Fix-5 Set IPv4 settings manually-


If the previous method didn’t work out, modify the DNS settings of the IPv4 protocol manually to solve the issue.

1. Press Windows Key+R, to launch Run window.

2. Now, type this and hit Enter to open the Network Connections window.





3. To access the properties of the network, right-click on your network and click on the “Properties“.

4. After that, to access IPv4 properties, double-click on “Internet Protocol Version 4 (TCP/IPv4)“.




5. Then, click on “Use the following DNS server addresses:“.

6. Now, put these server addresses correctly-

Preferred DNS server1.1.1.1
Alternate DNS server1.0.0.1




7. To save these settings, click on “OK“.




Close the Control Panel window.

Try to connect to the internet and check if this works.

Fix 6 -Edit Registry to disable the auto log-on feature

1 – Search the registry editor to open it.


2 – Now, go to the following path in the registry editor.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

3 – Now, on the right side, double-click on AutoAdminLogon and change the value data to 1.

4 -Close the editor and reboot.





Leave a Reply

%d bloggers like this: