Windows有一个内置的故障排除工具,可让您诊断计算机上的连接问题(diagnose connectivity problems on your computer)。当此工具检测到您的网络出现问题时,它会自动修复它们。有时,它会指出问题并推荐可能的解决方案。在其他时候,网络故障排除程序会描述问题而不提供任何解决方案。
第三个实例的一个很好的例子是“ Windows无法自动检测此网络的代理设置”错误。显然,此消息告诉您网络的代理设置存在问题。它没有透露的是如何解决这个问题。
这是因为与代理配置相关的问题是多方面的,而且通常很难解决,尤其是在您不知道去哪里寻找或做什么的时候。
重新启动路由器和计算机可能会解决问题。如果问题仍然存在,下面列出的 9 种故障排除解决方案之一应该可以发挥作用。
1. 重新启动 PC 的网络适配器(Network Adapter)
重启网络适配器是解决计算机上简单和复杂连接问题的快速方法。转到设置(Settings )>网络和 Internet( Network & Internet ) >状态( Status),然后单击更改适配器设置(Change adapter settings)。
选择Wi-Fi(如果您使用无线连接)或以太网(Ethernet)(用于有线/LAN 连接),然后单击工具栏上的禁用此网络设备(Disable this network device)。
等待(Wait)大约 10-30 秒,然后重新启用网络适配器。选择网络并单击启用此网络设备(Enable this network device)。
2. 检查适配器 IP 设置
如果错误仍然存在并且您仍然无法访问 Internet,请禁用分配给您的网络适配器的任何手动 IP 地址或DNS配置。(DNS)允许Windows为您的连接自动获取 IP 和DNS服务器地址可以消除此错误。
在网络连接(Network Connections)窗口(设置(Settings )>网络和 Internet( Network & Internet ) >状态( Status )>更改适配器设置( Change adapter settings))中,右键单击网络(Wi-Fi或以太网(Ethernet)),然后选择属性(Properties)。
选择Internet Protocol Version 4 (TCP/IPv4)并单击属性(Properties)。
在常规选项卡中,选择自动获取和 IP 地址(Obtain and IP address automatically)和自动获取 DNS 服务器地址(Obtain DNS server address automatically)。选择确定(OK)保存。
3.禁用代理(Proxies)、防火墙(Firewalls)和VPN
(Routing your internet t)通过防火墙、VPN和代理(VPNs)路由您的 Internet可能会导致网络干扰,从而导致错误消息,例如“Windows 无法自动检测此网络的代理设置。” 禁用(” Disable)您的VPN、防火墙和其他网络应用程序,并检查是否可以恢复互联网访问。
此外,转到设置(Settings )>网络和 Internet( Network & Internet ) >代理( Proxy)并关闭使用代理服务器(Use a proxy server)来禁用计算机上的任何手动代理设置。
4.更新您的网络驱动程序
驱动程序时不时地变得腐败、过时和错误。这些通常会导致连接问题,并使您的计算机上的互联网无法使用。前往设备管理器(Device Manager)并检查是否有可用于网络驱动程序的更新。
1. 右键单击开始(Start)菜单图标并在快速访问菜单上选择设备管理器。(Device Manager)
2. 展开网络(Network)适配器部分,右键单击您的网络驱动程序,然后选择更新驱动程序(Update driver)。
快速提示:如果“(Quick Tip:)网络(Network)适配器”部分中有多个驱动程序,并且您不知道哪个是Wi-Fi或以太网(Ethernet)适配器,请转到“设置”(Settings ) > “网络和 Internet( Network & Internet ) ” > “状态”( Status ) > “更改适配器选项”( Change adapter options)。
您会在网络类型下方找到您 PC 的以太网(Ethernet)和Wi-Fi驱动程序的名称。(Wi-Fi)现在您知道要在设备管理(Device Manager)器中更新哪个驱动程序了。
3. 接下来,选择自动搜索更新的驱动程序软件(Search automatically for updated driver software)。
Windows 将在您的计算机和 Internet 上搜索新版本的网络适配器。如果找到,请按照页面上的提示下载并安装更新。
5.回滚网络适配器
Windows更新有时会附带驱动程序更新。虽然这些驱动程序更新带来了新功能,但它们可能包含会破坏您计算机上某些功能的错误。某些驱动程序更新也可能与您的计算机不兼容。
如果在最近的Windows或驱动程序更新后出现“ (Windows)Windows无法自动检测此网络的代理设置”错误,请将驱动程序回滚到以前的版本并重新启动计算机。
1. 启动设备管理器(Device Manager),展开网络适配器(Network adapters)部分,然后双击您的网络适配器。
2. 转到驱动程序(Driver)选项卡并单击回滚驱动程序(Roll Back Driver)按钮。
按照下一页上的说明回滚驱动程序,然后重新启动计算机。
注意:(Note:)如果“回滚驱动程序”(Roll Back Driver)按钮显示为灰色,则表示您(或Windows)没有安装任何驱动程序更新。
6. 检查恶意软件感染
恶意程序和文件可能会损坏重要的网络文件和设置。使用Windows Defender或信誉良好的第三方反恶意软件程序扫描您的 PC 中的恶意软件。(Scan your PC for malware)这些将有助于检测和消除导致网络故障的顽固恶意软件感染(remove stubborn malware infections)。
7. 重置计算机的Internet配置
这需要重置Windows 套接字(Windows Socket)( Winsock ) 和TCP/IP堆栈。这些网络设置决定了网络应用程序如何在您的计算机上相互通信。如果这些网络功能损坏,您可能会遇到连接错误,例如“ Windows无法自动检测此网络的代理设置”。
请按照以下步骤使用命令提示符(Command Prompt)工具修复 Winsock 错误(fix Winsock errors)和损坏的TCP/IP设置。
1. 右键单击开始按钮并选择命令提示符(管理员)(Command Prompt (Admin))。
2. 单独运行以下命令(即一次一个)。在每个命令后按Enter并等待成功消息,然后再运行下一个命令。
netsh winsock 重置(netsh winsock reset)
netsh int ip 重置(netsh int ip reset)
ipconfig /release
ipconfig /renew
ipconfig /flushdns
3. 重新启动您的计算机。
这些命令将清除您 PC 的 DNS 缓存(clear your PC’s DNS cache),恢复对您计算机的Winsock设置所做的更改,并重写(Winsock)TCP/IP使用的注册表项。
注意:在重置(Note:)Winsock和TCP/IP目录后,您可能需要重新配置一些与网络相关的程序,如VPN、防火墙软件等。
8. 重置您电脑的网络设置
如果问题仍然存在并且您仍然无法访问网络,请执行网络重置(perform a network reset)。这将重置VPN和代理服务器,重新安装网络适配器,并将所有网络配置恢复到其原始状态。
转至设置(Settings )>网络和 Internet( Network & Internet ) >状态( Status),然后单击页面底部的网络重置。(Network reset)
单击立即重置(Reset now)按钮,然后在确认提示中单击是。(Yes)
Windows 将注销您并重新启动您的设备,因此请确保在重置网络设置之前关闭所有应用程序 - 这样您就不会丢失任何未保存的任务/文档。
9. 恢复你的电脑
当网络连接正常工作时,您应该考虑将计算机恢复到以前的状态。Windows 系统还原(Windows System Restore)功能将删除可能导致问题的最近安装的程序和驱动程序。您的个人数据(文件、文档、图片、视频等)将保持不变,因此您无需担心。
转到控制面板(Control Panel )>系统( System )>系统保护( System Protection),然后单击系统还原(System Restore)。
在列表中选择一个还原点,然后单击下一步(Next)继续。
专业提示:(Pro Tip:)单击扫描受影响的程序(Scan for affected programs)按钮可查看系统还原过程中将被删除的应用程序列表。
在此菜单中找不到任何还原点?您的计算机上可能禁用了系统还原(System Restore)功能。了解如何在 Windows 中启用或禁用系统还原(how to enable or disable system restore in Windows)。
恢复互联网连接
如果这些建议都不能解决问题,请尝试使用Windows 系统文件检查器 (SFC)(Windows System File Checker (SFC))工具来修复损坏的系统文件,这些文件会影响您的 PC 网络配置。作为最后的手段,执行 Windows 10 的全新安装(perform a clean reinstall of Windows 10)。
Fix “Windows Could Not Automatically Detect This Network’s Proxy Settings” Error
Wіndows has a built-in troublеshooting tool that lets you diagnose connectivity problems on your computer. When this tool detects a problem with your network, it fixes them automatically. Sometimes, it points out the problem and recommends probable solutions. At other times, the network troubleshooter describes the problem without proffering any solution.
A good example of the third instance is the “Windows could not automatically detect this network’s proxy settings” error. Obviously, this message tells you that there’s a problem with your network’s proxy settings. What it doesn’t reveal is how to fix the problem.
That’s because issues relating to proxy configurations are multifaceted and often complex to fix, particularly if you don’t know where to look or what to do.
Rebooting your router and computer may fix the problem. If the issue continues, one of the 9 troubleshooting solutions listed below should do the magic.
1. Restart Your PC’s Network Adapter
Power-cycling your network adapter is a quick way to fix simple and complex connectivity problems on your computer. Go to Settings > Network & Internet > Status and click Change adapter settings.
Select Wi-Fi (if you’re using a wireless connection) or Ethernet (for a wired/LAN connection) and click Disable this network device on the toolbar.
Wait for about 10-30 seconds and re-enable the network adapter. Select the network and click Enable this network device.
2. Check Adapter IP Settings
If the error persists and you still cannot access the internet, disable any manual IP address or DNS configuration assigned to your network adapters. Allowing Windows to automatically obtain IP and DNS server addresses for your connections can eliminate this error.
In the Network Connections windows (Settings > Network & Internet > Status > Change adapter settings), right-click on the network (Wi-Fi or Ethernet), and select Properties.
Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
In the General tab, select Obtain and IP address automatically and Obtain DNS server address automatically. Select OK to save.
3. Disable Proxies, Firewalls, and VPN
Routing your internet through firewalls, VPNs, and proxies can cause network interference that result in error messages like “Windows could not automatically detect this network’s proxy settings.” Disable your VPN, firewall, and other network apps and check if that restores internet access.
Additionally, go to Settings > Network & Internet > Proxy and toggle off Use a proxy server to disable any manual proxy setup on your computer.
4. Update Your Network Driver
Drivers get corrupt, outdated, and buggy every now and then. These often birth connectivity problems and render the internet unusable on your computer. Head to the Device Manager and check if there’s an update available for the network driver.
1. Right-click the Start menu icon and select Device Manager on the Quick Access menu.
2. Expand the Network adapters section, right-click on your network driver, and select Update driver.
Quick Tip: If there are multiple drivers in the Network adapters section and you have no idea which one’s the Wi-Fi or Ethernet adapter, go to Settings > Network & Internet > Status > Change adapter options.
You’ll find the name of your PC’s Ethernet and Wi-Fi drivers labeled below the network types. Now you know which driver to update in the Device Manager.
3. Next, select Search automatically for updated driver software.
Windows will search your computer and the internet for a new version of the network adapter. If it finds any, follow the prompt on the page to download and install the update.
5. Roll Back Network Adapter
Windows Updates sometimes ship with driver updates. While these driver updates bring new features, they may contain bugs that’ll break certain features on your computer. Some driver updates may also be incompatible with your computer.
If the “Windows could not automatically detect this network’s proxy settings” error commenced after a recent Windows or driver update, roll the driver back to the previous version and restart your computer.
1. Launch the Device Manager, expand the Network adapters section, and double-click your network adapter.
2. Go to the Driver tab and click the Roll Back Driver button.
Follow the instructions on the next page to roll back the driver and restart your computer afterward.
Note: If the Roll Back Driver button is grayed out, that means you (or Windows) didn’t install any driver update.
6. Check for Malware Infection
Malicious programs and files can corrupt and damage important network files and settings. Scan your PC for malware using Windows Defender or reputable third-party anti-malware programs. These will help detect and remove stubborn malware infections responsible for network failures.
7. Reset Your Computer’s Internet Configurations
This entails resetting the Windows Socket (Winsock) and the TCP/IP stack. These network settings determine how network applications communicate with each other on your computer. You may experience connectivity errors like the “Windows could not automatically detect this network’s proxy settings” if these network functions become corrupt.
Follow the steps below to fix Winsock errors and corrupt TCP/IP settings using the Command Prompt tool.
1. Right-click the start button and select Command Prompt (Admin).
2. Run the commands below individually (i.e. one at a time). Press Enter after each command and wait for a success message before you run the next command.
netsh winsock reset
netsh int ip reset
ipconfig /release
ipconfig /renew
ipconfig /flushdns
3. Restart your computer.
These commands will clear your PC’s DNS cache, revert changes made to your computer’s Winsock settings, and rewrite registry keys used by the TCP/IP.
Note: You may need to reconfigure some network-related programs like your VPN, firewall software, etc. after resetting the Winsock and TCP/IP catalog.
8. Reset Your PC’s Network Settings
If the problem persists and you still can’t access the network, perform a network reset. That will reset VPN and proxy servers, reinstall network adapters, and revert all network configurations back to their original state.
Go to Settings > Network & Internet > Status and click Network reset at the bottom of the page.
Click the Reset now button and click Yes on the confirmation prompt.
Windows will sign you out and restart your device, so make sure you close all applications before you reset network settings—so you don’t lose any unsaved tasks/documents.
9. Restore Your Computer
You should consider restoring your computer to a previous state when network connectivity was working perfectly. The Windows System Restore feature will remove recently-installed programs and drivers that may be responsible for the problem. Your personal data (files, documents, pictures, videos, etc.) will remain intact, so you have nothing to worry about.
Go to Control Panel > System > System Protection and click System Restore.
Select a restore point on the list and click Next to proceed.
Pro Tip: Click the Scan for affected programs button to see a list of apps that’ll be deleted during the system restore process.
Can’t find any restore point in this menu? The System Restore feature is probably disabled on your computer. Learn how to enable or disable system restore in Windows.
Restore Internet Connectivity
If none of these recommendations resolve the problem, try using the Windows System File Checker (SFC) tool to repair corrupt system files messing with your PC’s network configurations. As a last resort, perform a clean reinstall of Windows 10.