“ Windows 无法与设备或资源通信(Windows can’t communicate with the device or
resource),”你面前的屏幕说。考虑到您所做的只是上网,看到此错误消息令人沮丧。
但是,与其屈服于挫败感,不如找到解决问题的方法。幸运的是,获得您需要的答案很容易!

在这篇文章中,让我们来看看不同的解决方案。这样,你就会知道该怎么做。
1.更改适配器设置
由于您选择的适配器设置,Windows可能无法与设备或资源通信。如果是这样,只需进行一些快速修改。
启动控制面板(Control Panel)。

转到网络和 Internet(Network and Internet)。

在网络和共享中心(Network and Sharing Center)下,选择查看网络状态和任务(View network status and tasks)。

打开更改适配器设置(Change Adapter Settings)。

选择您当前的网络连接。右键单击它并选择Properties。

勾选显示Internet Protocol Version 4
(TCP/IPv4) 的框并打开Properties。

在常规(General)选项卡下,选择以下选项:
- 自动获取IP地址
- 自动获取 DNS(Obtain DNS)服务器地址
然后点击OK。

2.更新您的驱动程序
网络连接问题的另一个原因是过时的网络驱动程序。解决方案?通过手动更新来更新它们。
转到您的网络的官方网站。搜索驱动程序。
确保(Make)找到最新的并下载然后安装。

3.编辑主机文件
另一个导致“ Windows 无法与设备通信”(Windows can’t communicate with
the device” )错误消息的原因是您的主机文件。所以建议把它从图片中拿出来。
首先,访问系统的文件夹。打开Windows (C:)
> Windows > System32 > drivers > etc并找到hosts文件。

使用记事本(Notepad)打开文件。

选择(Select)文件中的所有内容并将其删除。


并点击Save。保存时请记住选择所有文件(All Files)作为文件类型。

4. 迁移到公共 DNS
另一个可能的原因是您的DNS有问题。如果是这样,解决方案是切换到 Google 的
Public DNS。
打开控制面板(Control Panel)。转到网络和 Internet(Network and Internet)。

选择网络和共享中心(Network and Sharing Center)。

选择更改适配器设置(Change adapter settings)。

选择(Select)您的网络。右键单击它并选择Properties。

在Networking选项卡下,选择Internet Protocol Version 4 (TCP/IPv4) 并打开Properties。

在常规(General )选项卡下,选择使用以下 DNS 服务器地址:(Use the following DNS server addresses:)

将首选 DNS 服务器:(Preferred DNS server: )设置为8.8.8.8并点击OK。

5. 清除你的 DNS 缓存
如果切换到
公共 DNS(Public DNS)不起作用,那么是时候清理一下了。
损坏的DNS
缓存也可能是您无法与主DNS服务器通信的原因。如果是这样,你需要做一些清洁。
首先启动命令提示符(Command Prompt)。并确保选择Run as administrator。

现在,输入以下命令:ipconfig/flushdns 并回车。

6. 扫描恶意软件
如果您已尝试上述多种修复方法但仍无法连接到网络,则您的 PC 可能已被恶意软件感染。如果是这样,您应该彻底清洁系统。
如果您发现任何恶意软件,请立即将其删除。为此,请使用Windows Defender。
首先启动Settings。

在这里,选择更新和安全(Update & Security)。

转到Windows 安全性(Windows Security)。并选择病毒和威胁防护(Virus & threat protection)。

在这里,选择Run a new advanced scan。

然后选择进行全面扫描(Full scan)。最后点击Scan now。

Fix “Windows can’t communicate with the device or resource” Error
“Windows can’t communicate with the device or
resource,” says the screen in front of you. Considering that all you were
trying to do was go online, seeing this error message is frustrating.
But instead of
giving 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 possible
that Windows cannot communicate with the device or resource because of your
chosen 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 your
current network connection. Right-click on it and select Properties.

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

Under the Generaltab, choose the following options:
- Obtain an IP address automatically
- Obtain DNS server address
automatically
Then hit OK.

2.
Update your driver
Another cause of
network connection problems are out-of-date network drivers. The solution?
Update them via a manual update.
Go to the
official website for your network. Search for drivers.
Make sure to find
the latest and download then install.

3. Edit the hosts File
Another cause of
getting a “Windows can’t communicate with
the device” error message is your hosts file. So it’s recommended to take
it out of the picture.
First, access
your system’s folder. Open Windows (C:)
> Windows > System32 > drivers > etc and
find the hosts file.

Open the file
using 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 possible
cause is a problem with your DNS. If so, the solution is to switch to Google’s
Public DNS.
Open Control Panel. Go to Network and Internet.

Select Network and Sharing Center.

Choose Change adapter settings.

Select your
network. Right-click on it and choose Properties.

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

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

Set the Preferred DNS server: to 8.8.8.8 and hit OK.

5. Clear Your DNS Cache
If switching to
Public DNS doesn’t do the trick, then it’s time to clear things up.
A corrupted DNS
cache can also be the reason why you can’t communicate with primary DNS server.
If so, you need to do some cleaning.
Start by
launching the Command Prompt. And
make sure to select Run as administrator.

Now, type the
following command: ipconfig/flushdns and
hit enter.

6. Scan for Malware
If you’ve tried
numerous fixes above yet still can’t connect to a network, it’s possible that
your PC may be infected by malware. If so, you should clean your system
thoroughly.
If you spot any
malware, have it removed immediately. Use Windows
Defender for this.
Begin by
launching Settings.

Here, choose Update & Security.

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

Here, select Run a new advanced scan.

Then choose to do
a Full scan. Finally hit Scan now.
