Windows can’t communicate with the device orresource,” says the screen in front of you. Considering that all you weretrying to do was go online, seeing this error message is frustrating.

But instead ofgiving in to frustration, you should find a way to fix the problem.Fortunately, getting the answer you need is easy!

In this post,let’s go through the different solutions. This way, you’ll know what to do.

1. Change Adapter Settings

It’s possiblethat Windows cannot communicate with the device or resource because of yourchosen adapter settings. If so, just do some quick modifications.

Launch Control Panel.

Go to Network and Internet.

Under Network and Sharing Center, select View network status and tasks.

Open Change Adapter Settings.

Choose yourcurrent network connection. Right-click on it and select Properties.

Tick the box thatsays Internet Protocol Version 4(TCP/IPv4) and open Properties.

Under the Generaltab, choose the following options:

  • Obtain an IP address automatically
  • Obtain DNS server addressautomatically

Then hit OK.

2.Update your driver

Another cause ofnetwork connection problems are out-of-date network drivers. The solution?Update them via a manual update.

Go to theofficial website for your network. Search for drivers.

Make sure to findthe latest and download then install.

3. Edit the hosts File

Another cause ofgetting a “Windows can’t communicate withthe device” error message is your hosts file. So it’s recommended to takeit out of the picture.

First, accessyour system’s folder. Open Windows (C:)> Windows > System32 > drivers > etc andfind the hosts file.

Open the fileusing Notepad.

Select everything in the file and delete it.

And hit Save. Remember to choose All Files for file type when saving.

4.Move to Public DNS

Another possiblecause is a problem with your DNS. If so, the solution is to switch to Google’sPublic DNS.

Open Control Panel. Go to Network and Internet.

Select Network and Sharing Center.

Choose Change adapter settings.

Select yournetwork. Right-click on it and choose Properties.

Under the Networking tab, choose Internet Protocol Version 4 (TCP/IPv4) andopen Properties.

Under the General tab, choose Use the following DNS server addresses:

Set the Preferred DNS server: to and hit OK.

5. Clear Your DNS Cache

If switching toPublic DNS doesn’t do the trick, then it’s time to clear things up.

A corrupted DNScache can also be the reason why you can’t communicate with primary DNS server.If so, you need to do some cleaning.

Start bylaunching the Command Prompt. Andmake sure to select Run as administrator.

Now, type thefollowing command: ipconfig/flushdns andhit enter.

6. Scan for Malware

If you’ve triednumerous fixes above yet still can’t connect to a network, it’s possible thatyour PC may be infected by malware. If so, you should clean your systemthoroughly.

If you spot anymalware, have it removed immediately. Use WindowsDefender for this.

Begin bylaunching Settings.

Here, choose Update & Security.

Go to Windows Security. And select Virus & threat protection.

Here, select Run a new advanced scan.

Then choose to doa Full scan. Finally hit Scan now.