通常不建议在Windows 10中重置网络设置,因为这样做会擦除您对设置所做的任何更改。但是,如果您遇到网络连接问题,那么解决(troubleshoot your connection)连接问题的唯一方法可能是将网络设备重置为默认设置。
您可以使用Windows 设置(Windows Settings)菜单中的 Windows 内置网络重置工具来执行此操作。这将重置您的网络设备以及网络连接所需的其他重要组件,例如您的TCP/IP堆栈。您还可以使用Windows PowerShell更改或重置网络设置。
解决 Windows 10 网络问题(Troubleshooting Windows 10 Networking Issues)
在重置WiFi 或有线以太网设备(WiFi or wired ethernet devices)的网络设置之前,您可能会发现使用内置的Windows 疑难解答(Windows Troubleshooter )可以解决常见的网络问题。
这通常是解决当前网络设置问题的一种不太激烈的方法。例如,一个常见问题是不可用的 DNS 服务器(unavailable DNS server)阻止网站加载。故障排除工具将检查此类问题,并在可能的情况下自动解决这些问题或帮助您自行解决。
- 要使用Windows 疑难解答(Windows Troubleshooter),您需要打开Windows 设置(Windows Settings)菜单。为此,请右键单击Windows 开始(Windows Start)菜单并按设置(Settings)选项。
- 在Windows 设置(Windows Settings)菜单中,按Update & Security > Troubleshoot。这将带您进入Windows 疑难解答(Windows Troubleshooter)。
- 有多种故障排除工具可用于您的网络连接。例如,如果您的互联网连接有问题,请按“疑难解答”(Troubleshoot )菜单中的“互联网连接(Internet Connections)”选项。如果您难以连接到其他本地设备,请按Incoming Connections。要对您的WiFi和以太网适配器进行一般故障排除,请改为按网络适配器。(Network Adapters)
- 按运行疑难解答。(Run the Troubleshooter. )这将加载故障排除工具,该工具将开始检查您的适配器和活动连接是否存在问题。
- 在“疑难解答”(Troubleshoot )窗口中,Windows将开始扫描您的设备和网络配置。如果您选择了Network Adapters,则需要选择要检查的适配器,或按All network adapters一次检查所有设备。单击下一步(Next)继续。
- 这将启动故障排除工具,因此请稍等片刻,让Windows全面测试您的适配器、连接和网络配置。如果它检测到任何问题,这些问题将在最后呈现给您修复或自动修复。如果您看到 Windows 可以自动执行的修复,请单击以管理员身份尝试这些修复选项。(Try these repairs as administrator )
- 如果疑难解答程序无法检测到任何问题,它会在最后通知您它无法解决问题。按查看详细信息(View detailed information)按钮查看完整的测试报告,以帮助您自己识别问题,或按关闭(Close)关闭工具。
虽然Windows 疑难解答(Windows Troubleshooter)可以解决网络设备的常见问题,但它并不是解决潜在设置冲突或连接中断的灵丹妙药。如果您仍然遇到问题,则需要按照以下步骤 了解如何在Windows 10中重置网络设置。(Windows 10)
在 Windows 10 中使用 Windows 设置重置网络设置(Using Windows Settings to Reset Network Settings in Windows 10)
与Windows 疑难解答(Windows Troubleshooter)一样,Microsoft在(Microsoft)Windows 设置(Windows Settings)菜单中包含一个用于重置网络设置的自助工具。这将重置您的网络适配器和其他网络设置和协议,例如您的TCP/IP堆栈,这对于允许您的 PC 与其他设备建立连接至关重要。
如果您对网络配置进行了任何更改,则需要在重置设备后恢复这些配置。但是,在执行此操作之前,您应该确保所做的更改不会导致任何网络问题或冲突,例如网络上的IP 地址冲突(IP address conflict)。
- 要在Windows 10(Windows 10)中重置网络设置,请右键单击“开始(Start)”菜单并按“设置”(Settings )选项。
- 在Windows 设置(Windows Settings)窗口中,按Network & Internet > Status。
- 单击状态菜单中的(Status)网络重置(Network Reset)选项以开始网络重置过程。
- 在“网络重置(Network Reset)”菜单中,将显示该过程的说明,说明Windows将重置您的设备和网络配置。立即按重置(Reset now)以开始重置您的设备。
- 在弹出的网络重置(Network Reset)框中,按是(Yes)确认并开始该过程。
此时 Windows 将开始重置您的网络设备和配置。完成后,您的 PC 将重新启动,以确保您的适配器完全重置并准备好之后再次使用。
使用 Windows PowerShell 运行高级网络设置工具(Using Windows PowerShell to Run Advanced Network Settings Tools)
使用Windows 设置(Windows Settings)工具进行的完整网络重置将清除所有内容,并将您的适配器和连接重置为默认配置。如果需要,您可以使用 Windows PowerShell(using the Windows PowerShell)进一步调整设置,或重置配置的其他部分。
- 要启动具有管理访问权限的PowerShell终端窗口,请右键单击Windows 开始(Windows Start)菜单并按Windows PowerShell (Admin)。
可以在PowerShell窗口中启动多个网络命令来修复或重置网络设备和设置。这些包括:
- Clear-DnsClientCache – 这将重置您当前的DNS缓存。
- Get-NetAdapter – 这将显示您设备上可用网络适配器的列表。
- Disable-NetAdapter -name “name” - 这将禁用网络适配器,将“name”替换为您选择的适配器的名称(使用Get-NetAdapter找到)。
- Enable-NetAdapter -name “name” - 这将启用网络适配器。此命令可以在发出的Disable-NetAdapter命令之后重新启动网络设备。
- ipconfig /release – 这将释放您当前的 IP 地址(release your current IP address)。
- ipconfig /renew – 这将在发布后更新您的 IP 地址。
- netsh winsock reset - 这将重置您 PC 的Winsock设置(用于帮助Windows PC 上的应用程序和其他服务在网络上进行通信)。
- netsh int ip reset – 这将重置您 PC 的TCP/IP堆栈(用于Windows网络的基本组件)。
- netcfg -d - 这将删除所有当前的网络设备及其活动连接和配置。这是与上面列出的用于重置网络配置的Windows 设置(Windows Settings)方法类似的最后手段选项,之后需要重新启动 PC。
要运行这些命令中的任何一个,请在PowerShell窗口中键入它们并按 Enter。这将确保执行您请求的信息或操作(例如禁用网络适配器或重置DNS缓存)。
虽然通常只有netcfg -d需要重新启动,但在依次运行多个命令后重新启动 PC 有助于确保所做的任何更改都成功。
管理 Windows 10 网络(Managing a Windows 10 Network)
大多数用户将通过使用Windows 设置(Windows Settings)菜单中的网络重置工具来解决常见的网络问题。但是,如果您仍然遇到连接问题,您可能会发现Windows 疑难解答(Windows Troubleshooter)程序可以在第一时间提供帮助。如果设备是新设备,您可能需要先更新驱动程序(update the drivers)才能使其正常工作。
您可能会发现使用 VPN会导致(using a VPN)Windows PC(Windows PCs)上的网络冲突。如果是这种情况,删除并重新安装VPN服务可以解决问题,但如果一切都失败了,请重置您的网络设备以清除网络设置中的任何配置或设备冲突。
How to Reset Network Settings in Windows 10
It isn’t usually advisable to reset уour netwоrk settіngs in Windows 10, beсaυse dоing so can wipe anу changes yoυ’ve made to your settings. If you’re struggling with network connectivity issues, however, then the only way to troubleshoot your connection may be to reset your network devices back to the default settings.
You can do this using Windows’ built-in network resetting tool, found in the Windows Settings menu. This will reset your network devices, as well as other important components required for network connectivity, such as your TCP/IP stack. You can also change or reset network settings using the Windows PowerShell.
Troubleshooting Windows 10 Networking Issues
Before you reset network settings for your WiFi or wired ethernet devices, you may find that using the built-in Windows Troubleshooter can resolve common networking issues instead.
This can often be a less drastic method for solving issues with your current network settings. A common issue, for instance, is an unavailable DNS server preventing websites from loading. The troubleshooting tool will check for problems like this and, if possible, resolve them automatically or help you resolve them yourself.
- To use the Windows Troubleshooter, you’ll need to open the Windows Settings menu. To do this, right-click the Windows Start menu and press the Settings option.
- In the Windows Settings menu, press Update & Security > Troubleshoot. This will bring you to the Windows Troubleshooter.
- Several troubleshooting tools are available for your network connections. For instance, if your internet connection has issues, press the Internet Connections option in the Troubleshoot menu. If you’re struggling to connect to other local devices, press Incoming Connections. To troubleshoot your WiFi and ethernet adapters generally, press Network Adapters instead.
- Press Run the Troubleshooter. This will load the troubleshooting tool, which will begin checking your adapters and active connections for issues.
- In the Troubleshoot window, Windows will begin scanning your devices and network configuration. If you selected Network Adapters, you’ll need to choose which adapter you wish to check, or press All network adapters to check all of your devices at once. Click Next to continue.
- This will begin the troubleshooting tool, so wait a few moments for Windows to fully test your adapters, connections, and network configuration. If it detects any issues, these will be presented at the end for you to fix or will be fixed automatically. Click the Try these repairs as administrator option if you’re presented with a fix that Windows can perform automatically.
- If the troubleshooter can’t detect any issues, it’ll inform you at the end that it couldn’t resolve the problem. Press the View detailed information button to view the full test report to help you identify an issue yourself, or press Close to close the tool.
While the Windows Troubleshooter can fix common issues with your network devices, it isn’t a miracle cure for potential settings conflicts or broken connections. If you’re still having issues, you’ll need to learn how to reset network settings in Windows 10 by following the steps below.
Using Windows Settings to Reset Network Settings in Windows 10
Like the Windows Troubleshooter, Microsoft includes a do-it-yourself tool for resetting your network settings in the Windows Settings menu. This will reset your network adapters and other network settings and protocols like your TCP/IP stack, which is essential for allowing your PC to make connections with other devices.
If you’ve made any changes to your network configuration, you’ll need to restore these after you reset your devices. Before you do this, however, you should make sure that the changes you’ve made aren’t the cause of any network issues or conflicts to begin with, such as an IP address conflict on your network.
- To reset network settings in Windows 10, right-click the Start menu and press the Settings option.
- In the Windows Settings window, press Network & Internet > Status.
- Click the Network Reset option in the Status menu to begin the network reset process.
- In the Network Reset menu, an explanation of the process will appear, explaining that Windows will reset your devices and network configuration. Press Reset now to begin resetting your devices.
- In the pop-up Network Reset box, press Yes to confirm and begin the process.
Windows will begin resetting your network devices and configuration at this point. Once this is complete, your PC will restart to ensure that your adapters are fully reset and ready to use again afterwards.
Using Windows PowerShell to Run Advanced Network Settings Tools
A full network reset using the Windows Settings tool will wipe the slate clean and should reset your adapters and connections to a default configuration. You can tweak your settings further, or reset other parts of your configuration should you need to, by using the Windows PowerShell.
- To launch a PowerShell terminal window with administrative access, right-click the Windows Start menu and press Windows PowerShell (Admin).
There are several network commands that can be launched in a PowerShell window to fix or reset your network devices and settings. These include:
- Clear-DnsClientCache – this will reset your current DNS cache.
- Get-NetAdapter – this will show a list of available network adapters on your device.
- Disable-NetAdapter -name “name” – this will disable a network adapter, replacing “name” with the name of your chosen adapter (found using Get-NetAdapter).
- Enable-NetAdapter -name “name” – this will enable a network adapter. This command can follow an issued Disable-NetAdapter command to restart a network device.
- ipconfig /release – this will release your current IP address.
- ipconfig /renew – this will renew your IP address after being released.
- netsh winsock reset – this will reset your PC’s Winsock settings (used to help apps and other services on a Windows PC communicate on a network).
- netsh int ip reset – this will reset your PC’s TCP/IP stack (the essential components used for Windows networking).
- netcfg -d – this will remove all current network devices and their active connections and configurations. This is a similar, last-resort option to the Windows Settings method listed for resetting your network configuration shown above, and will require a PC restart afterwards.
To run any of these commands, type them into the PowerShell window and hit enter. This will ensure that the information or action you’ve requested (such as disabling a network adapter or resetting your DNS cache) is performed.
While only netcfg -d will typically require a restart, restarting your PC after running several commands sequentially can help to ensure that any changes made are successful.
Managing a Windows 10 Network
Most users will resolve common networking issues by using the network resetting tool in the Windows Settings menu. If you’re still having trouble with connectivity, you may find that the Windows Troubleshooter can help in the first instance, however. If the device is new, you may need to update the drivers to get it working first.
You may find that using a VPN can cause networking conflicts on Windows PCs. If this is the case, removing and reinstalling the VPN service can solve the issue, but if all else fails, reset your network devices to clear any configuration or device conflicts in your network settings.