If you are seeing ‘Windows can’t communicate with the device or resource (Primary DNS Server)‘ in the 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-
1. Press the
⊞ Win key on your computer 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.
3. Right-click on problematic network adapter and click on “Properties“.
4. Now, under the section ‘This connection uses the following items:‘, scroll down
5. Then, double click on “Internet Protocol Version 4 (TCP/IPv4)“.
6. In Internet Protocol Version 4 (TCP/IPv4) Properties window click on “Obtain an IP address automatically“.
7. Next, choose the radio button beside the option “Obtain DNS server address automatically“.
8. 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 can connect to the internet or not.
Fix-2 Set DNS to Google’s public DNS-
Setting the DNS setting to 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 the list of available drivers, right-click on the wifi driver.
3. Then, you need to click on the “Properties“.
3. Now, choose the option “Use the following DNS server addresses:” and input the following DNS servers-
Preferred DNS server: 126.96.36.199 Alternate DNS server: 188.8.131.52
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. By pressing the Windows key+R keys together to launch the Run window.
2. Now, type “cmd” and then press Ctrl+Shift+Enter.
Command Prompt window will be opened with Administrative rights.
4. To modify the network configuration copy-paste this command and then hit Enter.
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 the 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.