Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
Redmond desk5 min

Fix Internet Problems on Windows With These Commands

Router restart did not help? Inspect Windows network settings, run targeted tests, and use Microsoft’s ordered reset commands when appropriate.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If restarting your router did not restore internet access, inspect your Windows network settings before resetting them. Microsoft’s Wi-Fi troubleshooting instructions recommend an administrator Command Prompt sequence—Winsock reset, TCP/IP reset, DHCP release and renewal, then DNS cache flush—and checking the connection afterward. These steps address parts of Windows networking; they cannot fix every router, Wi-Fi, ISP, website, or firewall problem.

Inspect the active network settings first

Open Command Prompt and run ipconfig /all. Find the adapter you are actually using—such as Wi-Fi or Ethernet—and note its IPv4 or IPv6 address, subnet mask, default gateway, and DNS servers. Microsoft’s guidance for checking DNS client configuration emphasizes verifying that the IP address, gateway, DNS servers, and connection-specific DNS suffix fit the network. That guidance is written for Windows Server, so treat it as technical context rather than a consumer-specific checklist.

As an Amazon Associate I earn from qualifying purchases.

If an address or gateway is missing or unexpected, that clue may be more useful than immediately clearing caches or resetting the stack. Also establish whether the adapter is configured to obtain its address automatically (DHCP) or uses manually assigned settings. The release and renew commands below apply to DHCP configuration, not to repairing an incorrect static address.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose a test that matches the symptom

Command What it checks or changes How to interpret the result
ipconfig /all Displays detailed TCP/IP configuration, including addresses, gateway, and DNS servers. Use it to identify the active adapter and inspect its configuration; it does not itself repair connectivity.
ping <default-gateway-IP> or ping <DNS-server-IP> Tests whether the target responds to ping. A reply shows that target answered. A timeout is not conclusive: a firewall or the target network may block ICMP.
nslookup <hostname> Tests name lookup through DNS. If an IP-level test works but a hostname lookup fails, investigate name resolution; that does not by itself justify resetting all networking.
tracert <hostname-or-IP> Shows responding router interfaces along the route using packets with increasing time-to-live values. An asterisk means a hop did not return the expected response; one such hop alone does not prove the end-to-end connection is broken.
pathping <hostname-or-IP> Gathers latency and packet-loss information for routers and links along a route. Use it when you need more route diagnostics than a basic trace provides.
ipconfig /flushdns Clears the local DNS resolver cache. May help with stale or negatively cached results; it does not fix a failed Wi-Fi radio, unreachable router, ISP outage, or every DNS-server problem.

Check local reachability and DNS

Use the gateway address shown by ipconfig /all in ping <default-gateway-IP>. You can also ping the listed DNS server. Microsoft notes that ping depends on ICMP being permitted, so no reply can reflect filtering rather than a total loss of service.

#1 Best Overall
Sale
uni USB to Ethernet Adapter,Driver Free USB 3.0 to Gigabit Ethernet Adapter
  • 【USB 3.0 Fast Transmission】uni Ethernet Adapter supports 10/100/1000 Mbps at fast USB 3.0 speeds and is also backward compatible with both USB 2.0 and USB 1.1. Note: To reach 1Gbps, make sure to use CAT6 & up Ethernet cables. The speed of USB 2.0 will be limited to 10/100M.
  • 【Plug & Play】USB to Ethernet adapter serves as the bridge between RJ45 Ethernet cable and your laptop with USB 3.0 and does not require any driver or software installed. Choose uni and enjoy your hassle-free network speed boosting experience. (Note: driver is required on Win 11. You can find the User Guide in the "Product guides and documents" section of the listing.)
  • 【Secure & Stable】Wired network is known as being securer and more stable than wireless connections, and uni's USB to RJ45 adapter is the perfect solution to maintain a safe and smooth network during online classes, video conferences, downloading large files, video streaming and gaming on your USB 3.0 laptops. But Not Recommended for TV.
  • 【uni's unique design】The built-in intelligent chip RTL8153 offers high-speed transmission. The USB connector fits snugly into the port ensuring stable signal transport. Nylon braided cable adds up the durability without compromising on its flexibility for easy storage. LED indicator informs you of the working status and premium aluminum case for better heat dissipation.
  • 【Compatibility & Features】NOT compatible with Nintendo Switch. Compatible with ChromeOS, Windows (32/64 bit) 8/7/Vista /XP/10, Mac OS X 10.5 or later, Linux. Note that you can connect the adapter to a USB 3.0 hub. Compatible with features include Wake-on-Lan (WoL), Crossover Detection, timing recovery and IEEE 802. 3az Energy Efficient Ethernet. Compatible with IPv4/IPv6 Protocol. (If you are not sure, please feel free to let us know, we are very glad to help you.)

To check whether a name resolves, run nslookup example.com, substituting the hostname that is failing. If appropriate for your workplace or managed network, compare it with a known public hostname; do not assume public DNS is permitted or preferred in every environment.

Read route traces cautiously

Run tracert example.com or replace the destination with a hostname or IP address. Microsoft Learn explains that tracert sends ICMP or ICMPv6 messages with incrementally increasing TTL values to determine the path. Routers may decline to return the expected time-exceeded message, appearing as *. Asterisks at an intermediate hop do not establish that the destination is unreachable. For latency and packet-loss information across routers and links, Microsoft documents pathping as another option.

Rank #2
Sale
TP-Link AC1300 USB WiFi Adapter for Desktop PC 2.4/5G Dual Band WiFi Dongle
  • AC1300 Dual Band Wi-Fi Adapter for PC, Desktop and Laptop. Archer T3U provides 2.4G/5G strong high speed connection throughout your house.
  • Archer T3U also provides MU-MIMO, which delivers Beamforming connection for lag-free Wi-Fi experience.
  • Usb 3.0 provides 10x faster speed than USB 2.0, along with mini and portable size that allows the user to carry the device everywhere.
  • World's 1 provider of consumer Wi-Fi for 7 consecutive years - according to IDC Q2 2018 report
  • Supports Windows 11, 10, 8.1, 8, 7, XP/ Mac OS X 10.9-10.14

Run Microsoft’s Windows networking reset sequence

For a Wi-Fi problem that persists, Microsoft Support instructs users to open Command Prompt with administrator rights, run these commands in order, and then test the connection:

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Search Windows for Command Prompt, right-click it, and choose Run as administrator. Approve the prompt if asked.
  2. Enter netsh winsock reset and press Enter.
  3. Enter netsh int ip reset and press Enter.
  4. Enter ipconfig /release and press Enter.
  5. Enter ipconfig /renew and press Enter.
  6. Enter ipconfig /flushdns and press Enter.
  7. Check whether the connection works. If a command reports an error or the connection remains unavailable, note the message and continue with the targeted checks below rather than assuming the sequence repaired the cause.

The commands address different things: Winsock reset restores the Winsock catalog to a clean state and removes custom Layered Service Providers; the IP reset resets TCP/IP configuration; release and renew drop and request DHCP configuration; flushdns clears the local DNS resolver cache. The sequence is a troubleshooting measure, not a guaranteed universal fix. Microsoft’s consumer-facing instructions present it for Wi-Fi troubleshooting.

Rank #3
Sale
TP-Link AC600 USB WiFi Adapter for Desktop PC - USB Wireless Adapter for PC
  • 𝐋𝐨𝐧𝐠 𝐑𝐚𝐧𝐠𝐞 𝐀𝐝𝐚𝐩𝐭𝐞𝐫 – This compact USB Wi-Fi adapter provides long-range and lag-free connections wherever you are. Upgrade your PCs or laptops to 802.11ac standards which are three times faster than wireless N speeds.
  • 𝐒𝐦𝐨𝐨𝐭𝐡 𝐋𝐚𝐠 𝐅𝐫𝐞𝐞 𝐂𝐨𝐧𝐧𝐞𝐜𝐭𝐢𝐨𝐧𝐬 – Get Wi-Fi speeds up to 200 Mbps on the 2.4 GHz band and up to 433 Mbps on the 5 GHz band for upgraded web surfing, gaming, and streaming. Performance varies by conditions, distance to devices, and obstacles such as walls.
  • 𝐃𝐮𝐚𝐥-𝐛𝐚𝐧𝐝 𝟐.𝟒 𝐆𝐇𝐳 𝐚𝐧𝐝 𝟓 𝐆𝐇𝐳 𝐁𝐚𝐧𝐝𝐬 – Dual-bands provide flexible connectivity, giving your devices access to the latest routers for faster speeds and extended range. Wireless Security - WEP, WPA/WPA2, WPA-PSK/WPA2-PSK
  • 𝟓𝐝𝐁𝐢 𝐇𝐢𝐠𝐡 𝐆𝐚𝐢𝐧 𝐀𝐧𝐭𝐞𝐧𝐧𝐚 – The high gain antenna of the Archer T2U Plus greatly enhances the reception and transmission of WiFi signal strengths.
  • 𝐀𝐝𝐣𝐮𝐬𝐭𝐚𝐛𝐥𝐞, 𝐌𝐮𝐥𝐭𝐢-𝐃𝐢𝐫𝐞𝐜𝐭𝐢𝐨𝐧𝐚𝐥 𝐀𝐧𝐭𝐞𝐧𝐧𝐚: Rotate the multi-directional antenna to face your router to improve your experience and performance

Important: DHCP versus a static address

ipconfig /release and ipconfig /renew are relevant to an adapter configured to obtain an address automatically. They are not a fix for manually assigned static settings. If a static address, gateway, or DNS entry is wrong, correct the TCP/IP properties to the values appropriate for that network. If you are unsure whether the device is managed or uses special settings, check with its administrator before resetting.

For managed or specially configured devices

On a managed or server device, record the current configuration before changing it. Microsoft’s Windows Server TCP/IP guidance gives this example of saving interface configuration:

Rank #4
Sale
TP-Link USB WiFi Adapter for Desktop PC, AC1300 Dual Band WiFi Antenna
  • 𝐅𝐚𝐬𝐭 𝐖𝐢𝐅𝐢 𝐀𝐝𝐚𝐩𝐭𝐞𝐫 𝐟𝐨𝐫 𝐃𝐞𝐬𝐤𝐭𝐨𝐩 𝐏𝐂: AC1300 dual-band WiFi ensures your device will run at fast speeds (867 Mbps on the 5 GHz band or 400 Mbps on the 2.4 GHz band)
  • 𝐔𝐩𝐠𝐫𝐚𝐝𝐞 𝐘𝐨𝐮𝐫 𝐂𝐨𝐦𝐩𝐮𝐭𝐞𝐫'𝐬 𝐖𝐢-𝐅𝐢 - All USB WiFi adapters are designed to add or upgrade your computer’s Wi-Fi. Actual speeds cannot exceed the connecting router’s maximum speed.
  • 𝐌𝐔-𝐌𝐈𝐌𝐎 𝐓𝐞𝐜𝐡𝐧𝐨𝐥𝐨𝐠𝐲: Improves the throughput and efficiency of the whole network with MU-MIMO technology.
  • 𝐃𝐮𝐚𝐥-𝐁𝐚𝐧𝐝 𝐖𝐢𝐫𝐞𝐥𝐞𝐬𝐬: The 2.4 GHz and 5 GHz bands provide flexible connectivity, giving your devices access to the latest dual-band WiFi router for faster speed and extended range.
  • 𝟓 𝐝𝐁𝐢 𝐇𝐢𝐠𝐡-𝐆𝐚𝐢𝐧 𝐀𝐧𝐭𝐞𝐧𝐧𝐚𝐬: Advanced external high-gain antennas greatly enhance the reception and transmission signal strength of the USB adapter.
netsh -c interface dump > C:netConfig.txt

That guidance also shows restoring a saved configuration with netsh -f C:netConfig.txt. Restoration depends on interface names still matching; if they have changed, the script needs updating. This is a server-oriented example, not a step every home user needs to perform.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

If the commands do not restore access

Find out whether the issue is local or broader

  • Check another device on the same network. If several devices are offline, investigate the router, connection, or ISP rather than treating the Windows command sequence as a cure.
  • If only one app or website fails while other services work, the fault may be specific to that app, site, or a firewall or policy rule.
  • If the Windows device is connected to Wi-Fi but cannot reach anything, use the gateway, DNS, and route tests above to narrow down where responses stop.

Consider the network adapter driver later

Microsoft Support suggests driver troubleshooting if earlier Wi-Fi steps fail: obtain or keep a backup driver first, then uninstall the network adapter driver and restart. Windows will try to reinstall a driver during startup. This is a later option, particularly when the trouble began after a driver update; plan for the possibility that the computer may be offline until the driver is available again.

Quick Recap

SaleBestseller No. 2
TP-Link AC1300 USB WiFi Adapter for Desktop PC 2.4/5G Dual Band WiFi Dongle
TP-Link AC1300 USB WiFi Adapter for Desktop PC 2.4/5G Dual Band WiFi Dongle
Supports Windows 11, 10, 8.1, 8, 7, XP/ Mac OS X 10.9-10.14
$15.96
SaleBestseller No. 5
TP-Link 2.5GB PCIe Network Card (TX201) – PCIe to 2.5 Gigabit Ethernet Card
TP-Link 2.5GB PCIe Network Card (TX201) – PCIe to 2.5 Gigabit Ethernet Card
Industry leading 2-year warranty and free 24/7 technical support
$22.46
Best Value
Sale
TP-Link 2.5GB PCIe Network Card (TX201) – PCIe to 2.5 Gigabit Ethernet Card
  • 2.5 Gbps PCIe Network Card: With the 2.5G Base-T Technology, TX201 delivers high-speeds of up to 2.5 Gbps, which is 2.5x faster than typical Gigabit adapters. Performance varies by conditions, distance to devices, and obstacles such as walls
  • Versatile Compatibility – The Ethernet Network Adapter is backwards compatible with multiple data rates(2.5 Gbps, 1 Gbps, 100 Mbps Base-T connectivity). The 2.5G Ethernet port automatically negotiates between higher and lower speed connection.
  • QoS: Quality of Service technology delivers prioritized performance for gamers and ensures to avoid network congestion for PC gaming
  • Wake on LAN – Remotely power on or off your computer with WOL, helps to manage your devices more easily
  • Low-Profile and Full-Height Brackets: In addition to the standard bracket, a low-profile bracket is provided for mini tower computer cases

Microsoft documentation

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.