If you are seeing ‘Windows can’t communicate with the device or resource (Primary DNS Server)‘ in Windows Network Diagnostics window during diagnosing network issues on your computer, then the problem you are dealing with is associated with the DNS and IP settings of your network adapter. Follow these simple solutions to fix your issue.
Fix-1 Set IPv4 settings to automatic-
Setting IPv4 settings to automatic will solve this issue.
1. Click on the Search box beside Windows icon and type “Network connections“.
2. In the elevated search result, click on “View network connections“.
Network Connections window will be opened. You will see the list of adapters available.
4. Right click on the network adapter you are facing trouble with and then click on “Properties“.
4. Now, under the section ‘This connection uses the following items:‘, scroll down and then double click on “Internet Protocol Version 4 (TCP/IPv4)“.
5. In Internet Protocol Version 4 (TCP/IPv4) Properties window click on “Obtain an IP address automatically“.
6. Next, select “Obtain DNS server address automatically“.
7. Finally, click on “OK” to save the changes on your computer.
Close Network Connections window.
Reboot your computer to save the changes on your computer.
After rebooting, check if you are able to connect to the internet or not.
Fix-2 Set DNS to Google’s public DNS-
Setting the DNS setting to the Google’s public DNS settings will solve this issue.
1. Press Windows Key+R, to launch Run, and type “ncpa.cpl” and hit Enter.
Network Connections window will be opened.
2. In Network Connections window, in the list of the adapters, right click on the adapter you are currently using, and then click on “Properties“.
3. Now, choose the option “Use the following DNS server addresses:” and input the following DNS servers-
Preferred DNS server: 18.104.22.168 Alternate DNS server: 22.214.171.124
4. Click on “OK“.
Close Control Panel window.
Reboot your computer and check if it helps or not.
Fix-3 Reset IPconfig-
Resetting IPconfig on your computer may solve this issue.
1. Press Windows key+R to launch Run window.
2. Now, type “cmd” and then press Ctrl+Shift+Enter.
3.Now, click on “Yes” to grant access to the User Account Control (UAC).
Command Prompt window will be opened with Administrative rights.
4. Copy-paste this command in Command Prompt window and then hit Enter to execute it on your computer.
netsh int ip config
One done, close Command Prompt window.
Reboot your computer to complete the process.
After rebooting your computer, you should be able to connect to internet.
Your problem should be solved.
Sambit is a Mechanical Engineer By qualification who loves to write about Windows 10 and solutions to weirdest possible problems.