Troubleshooting: Windows can’t communicate with the device or resource – primary DNS server

Updated July 2024: Stop getting error messages and slow down your system with our optimization tool. Get it now at this link

  1. Download and install the repair tool here.
  2. Let it scan your computer.
  3. The tool will then repair your computer.

There is nothing worse than a Windows error that prevents you from accessing the Internet. The “Windows cannot communicate with a device or resource” error message is not uncommon and can quickly disrupt your plans.

If you get this message, there’s no need to panic. We’ll explain exactly what this error means and how you can fix it.

What causes Windows to fail to connect to a device or resource (the primary DNS server)?

The main causes of this network error are problems with DNS, corrupt, outdated, or incompatible network adapter drivers, corrupt DNS cache, improperly configured Hosts file, etc.

Anyway, without wasting any time, let’s see how to fix Windows that can’t connect to a device or resource using the guide below.

How to fix Windows can’t connect to a device or resource (primary DNS server)?

July 2024 Update:

You can now prevent PC problems by using this tool, such as protecting you against file loss and malware. Additionally, it is a great way to optimize your computer for maximum performance. The program fixes common errors that might occur on Windows systems with ease - no need for hours of troubleshooting when you have the perfect solution at your fingertips:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.

Download Now

Clear DNS cache

  1. Type Command Prompt in the search bar on the taskbar.
  2. In the results, right-click and select Run as administrator.
  3. Type ipconfig /flushdns and press Enter on your keyboard.
  4. When you see the message “Successfully flushed the DNS Resolver Cache”, you can close the prompt.
  5. Check if you can now connect to the Internet.

Changing the IPV4 and IPV6 settings

  1. While holding down the Windows key on your keyboard, press R. The Run utility will appear.
  2. Type ncpa.CPL and click OK. The Network Connections window opens.
  3. Right-click on the network you are using and select Properties.
  4. Double-click Internet Protocol version 4 (TCP/IPv4).
  5. On the General tab, select Obtain an IP address automatically and Obtain DNS server address automatically.
  6. When finished, click OK.
  7. Double-click Internet Protocol version 6 (TCP/IPv6).
  8. On the General tab, select Obtain an IP address automatically and Obtain DNS server address automatically.
  9. Click OK when you are finished.
  10. Click OK on both windows and restart the computer.
  11. After your computer restarts, try connecting to the Internet.

Updating the driver directly from Windows

  1. While holding down the Windows key, press R. This will launch the Run application.
  2. Type devmgmt.MSC and click OK to open the Device Manager.
  3. Expand the Network Adapters section by clicking on the arrow icon.
  4. Right-click on the audio driver and select Update Driver.
  5. Click Automatically check for driver software updates.
  6. If Windows finds an updated driver, it will automatically download and install the update on your computer.
  7. Restart your computer and see if you can connect to the Internet.

Resetting your connection settings

  1. Type Command Prompt in the search bar on the taskbar.
  2. In the results, right-click and select Run as administrator.
  3. Enter the following four commands. Press the Enter key after each command to execute the command:
    ipconfig /flushdns
    ipconfig /registerdns
    ipconfig /release
    ipconfig /renew
  4. Close the command prompt and reboot the computer.
  5. Then try connecting to the Internet to test the connection.

Expert Tip: This repair tool scans the repositories and replaces corrupt or missing files if none of these methods have worked. It works well in most cases where the problem is due to system corruption. This tool will also optimize your system to maximize performance. It can be downloaded by Clicking Here

Frequently Asked Questions

The error message "Windows cannot connect to the machine or resource (primary DNS server)" occurs when your computer cannot connect to the primary DNS server set by your Internet Service Provider. This error message appears in the network diagnostics that are run when you cannot connect to the Internet.

  1. Use the command line.
  2. Disable peer-to-peer downloading of Windows updates.
  3. Reinstall the network card drivers.
  4. Change the power settings.
  5. Make sure that the Microsoft LLDP driver is enabled.
  6. Perform a reboot to fix Windows 10 DNS issues.

  1. Manually configure the DNS server (recommended).
  2. Uninstall/reinstall your network drivers.
  3. Manually set your MAC address.
  4. Clear your DNS cache.
  5. Update the network drivers.
  6. Update the latest version of the router firmware.

  1. Update the drivers.
  2. Update the drivers using Windows itself.
  3. Update drivers using a third-party application.
  4. Clear the DNS cache.
  5. Reset your connection settings.

Scroll to Top