Sometimes Windows users get a “Windows Can’t Communicate With The Device or Resource (Primary DNS Server)” error while connecting their system to the internet. This error occurred when the system lost connection to the primary dns server, and the internet service provider set this DNS server. The Error also occurs due to the incorrect IP Address configuration. The User May get this error while connecting to the Wireless or Ethernet and the user not able to access the Internet.
What is Windows Can’t Communicate With The Device or Resource?
The Windows Can’t Communicate With The Device or Resource Error occurs when the PC is not able to connect to the primary dns server. There are other situations such as old network drivers, inappropriately configured settings, or proxy servers that may occur this error. This type of error can become quite frustrating because you can’t connect to your network properly. If you are getting this error, we will give complete information on “how to fix Windows can’t communicate with the device or resource (Primary DNS Server) error.”
How to Fix Windows Can’t Communicate with the Device or Resource (Primary DNS Server)?
This Windows Can’t Communicate with the Device or Resource (Primary DNS Server) error can become irritating sometimes because you can’t connect your internet with the server. Therefore, this article will help you fix this error easier and faster, so we have included multiple ways to fix it
#1: Update the Drivers
Step 1: You need to open the Device Manager, press the Windows and R keys on the keyboard to open the Run utility.
Step 2: In the Run application, type devmgmt.msc and click on the OK to open the Device Manager Windows.
Step 3: Next, click on the arrow beside Network adapters to expand it, then right-click on it and choose Update Driver.
Step 4: After that, select Search automatically for updated driver software to update your system (you can connect to other networks for updating drivers or select Browse my computer for driver software if you copied the driver file from another system).
Step 5: At last, restart your system for the successful installation of the drivers.
#2: Change the Settings of IPV4 and IPV6
If your error is not removed by the above method, then you can change the settings of IPV4 and IPV6 to fix Windows Can’t Communicate with the Device or Resource (Primary DNS Server) error. Before discussing the procedure, you need to understand IPV4 and IPV6, so IPV4 or Internet Protocol version 4 is the internet protocol’s fourth version, and IPV6 or Internet Protocol version 6 is the internet protocol’s latest version. The IPV4 usages 32-bit addresses and the IPV6 usages 128-bit addresses. The Internet Protocol Version 6(IPV6) is more secure and have more feature then the Internet Protocol Version 4 (IPV4).
Step 1: First, you have to press the Windows and R keys on the keyboard to start the Run utility.
Step 2: It will open a new window tab, in which you need to type ncpa.cpl then click on the OK icon, and it will open the new Window of Network connection.
Step 3: After that, right-click the name of your network, click on the Properties, and then double click on the Internet Protocol Version 4 (TCP/IPv4).
Step 4: Next, select both options Obtain DNS server address automatically and Obtain an IP address automatically by the General tab and click on the OK icon.
Step 5: Now, double click on the Internet Protocol Version 6 (TCP/IPv6), then select both Obtain DNS server address automatically and Obtain an IP address automatically by the General tab and click on the OK icon.
Step 6: Finally, restart your system to make changes successful.
#3: Change Google’s DNS Setting
Step 1: For changing Google’s DNS setting, you need to follow the above steps to open Internet Protocol Version 4 (TCP/IPv4).
Step 2: Go to your network’s properties and then double click on the Internet Protocol Version 4 (TCP/IPv4).
Step 3: Now click on the Use the following DNS server addresses option to edit the values below this option.
Step 4: Next, fill the below digits in the dialog box:
Preferred DNS server: 18.104.22.168
Alternate DNS server: 22.214.171.124
- At last, click on the OK button and restart the system to make changes successful.
#4: Reset your Connection Settings
Step 1: You need to open the command prompt to apply this procedure, so press Windows and R keys on the keyboard to open the Run utility.
Step 2: In the new pop up window, type cmd and click on the OK icon, and it will open the Command Prompt.
Step 3: You can also open the Command Prompt by searching it in the search bar of the Start Menu.
Step 4: After that, you can type the below command one by one in the command prompt (remember you need to press the Enter key after typing every command):
- ipconfig /flushdns
- ipconfig /registerdns
- ipconfig /release
- ipconfig /renew
Step 5: At last, close this Command Prompt and then restart the system to make changes successfully.
#5: Clear the Cache of DNS
Step 1: In this procedure, you need to open the Command Prompt, so follow the above procedure steps to open it.
Step 2: After that, type ipconfig /flushdns command and press the Enter key to execute the command.
Step 3: You will see a message “Successfully flushed the DNS Resolver Cache,” so you can close the Command Prompt and restart your system.
#6 Restart the Modem and Router
Sometimes simple tricks resolve major issues easily, so first of all, restart the modem and router to eliminate the error quickly.
- There will be a button in the back of your router, and it is a “reset” button, but some routers don’t have this button, so there will be a hole instead of it. In case your router has a reset hole, you have to use a pin to press that button in the hole.
- After resetting your router, check for the error again. If you are facing the issue again, then use the next procedures.
#7 Edit the Host File
Host file can be a reason behind Windows can’t communicate with the DNS server, so use the below procedure to edit it.
- First, open the Hosts file from:
Windows (C:) > Windows > System32 > drivers> etc
- Open the file using Notepad.
- Now, open the Hosts file in Notepad and delete everything written in this file.
Finally, save this file by selecting “All Files” for a file type while saving it.
#8 How to Scan for Malware
In case you have tried all of the procedures, you can use the Windows Defender to scan for malware if your system has any suspicious files.
- Open the “Settings” options in the system and go to the “Update and Security” section.
- Now, select the “Windows Update” option from the left side menu list.
- After that, go to the “Windows Security” and choose the “Virus & threat protection” option, then select the “Run a new advanced scan” option.
- Finally, perform a “Full scan” to check for malware and eliminate it from the system.
This article will help you to get the proper knowledge to tackle the “Windows Can’t Communicate with the Device or Resource (Primary DNS Server)” because we described that “how to fix Windows can’t communicate with the device or resource (Primary DNS Server) error.” At last, a little detail about the error is that it occurred when your system lost connection to its Primary DNS server, and your internet service provider set this DNS server. Hence, it is essential to fix this error to use the internet without having any trouble.
You may be also interested in:
- How to Find Wifi Password in Windows 10?
- How to Turn Off Windows Defender in Windows 10?
- How to Fix Windows Update Error 80244019?
- How to Optimize Windows 10 For gaming?
- How to Boot Windows 10 Into Last Known Good Configuration?
- How to Fix Windows 10 Scrolling By Itself Error?
- How to Fix Battery Icon Missing in Windows 10?
- How to Fix Screen Saver Not Working in Windows 10?
- How to Fix Windows Key Not Working in Windows 10?
- How to Fix Not Charging Error in Windows 7?