How to Fix Packet Loss in Games by Flushing DNS and Resetting TCP/IP
Repair packet loss and unstable game connections with DNS and TCP/IP resets, and let Kudu help remove network bottlenecks.
By the Kudu Team
Fix this automatically with Kudu
Run a free system scan to detect and resolve this issue automatically — no manual steps required.
Download Kudu Free →What Causes This?
Packet loss in games often happens when Windows is using outdated or corrupted network settings. A bad DNS cache can slow down name lookups or send traffic the wrong way, while a damaged TCP/IP stack can cause dropped packets, unstable routing, or connection timeouts. It can also show up after a VPN install, driver change, Windows update, or router issue that leaves your network configuration in a bad state.
Common Symptoms
- Ping spikes or random lag in online games
- Rubberbanding, stuttering, or delayed hit registration
- Frequent disconnects from game servers or voice chat
- “Request timed out” errors in network tests
- Games work sometimes, then suddenly become unstable
How to Fix It Manually
-
Close your game and restart your PC
- Save your progress and fully exit the game launcher too.
- Restarting clears temporary network glitches before you reset anything.
-
Open Command Prompt as Administrator
- Press Start and type cmd.
- Right-click Command Prompt and choose Run as administrator.
- Click Yes if Windows asks for permission.
-
Flush the DNS cache
- In Command Prompt, type:
ipconfig /flushdns - Press Enter.
- You should see a message saying the DNS Resolver Cache was successfully flushed.
- This removes old or incorrect DNS records that can interfere with game server connections.
- In Command Prompt, type:
-
Release and renew your IP address
- In the same window, run these commands one at a time:
ipconfig /release ipconfig /renew - Press Enter after each one.
- Your connection may drop for a few seconds while Windows requests a fresh IP from your router.
- In the same window, run these commands one at a time:
-
Reset Winsock and TCP/IP
- Still in Command Prompt, run:
netsh winsock reset netsh int ip reset - Press Enter after each command.
- Winsock reset clears broken network socket settings. TCP/IP reset rebuilds core network configuration used by Windows.
- Still in Command Prompt, run:
-
Restart your PC again
- This step is required for the Winsock and TCP/IP reset to fully apply.
- After restarting, reconnect to your Wi-Fi or Ethernet if needed.
-
Test your connection
- Launch your game and check whether packet loss is gone.
- If you want to test outside the game:
- Press Start, type cmd, and open Command Prompt.
- Run:
ping google.com -n 20 - If you see repeated timeouts or high variation in response times, the issue may also involve your router, ISP, Wi-Fi interference, or a background app using bandwidth.
-
Check for other network bottlenecks if the problem remains
- Open Task Manager with Ctrl+Shift+Esc.
- Click Processes and look for apps using heavy Network bandwidth, such as cloud sync tools, launchers, browser downloads, or streaming apps.
- Pause VPNs, downloads, and overlays, then test the game again.
- If possible, switch from Wi-Fi to Ethernet for a more stable connection.
Fix It Automatically with Kudu
If you do not want to dig through command-line resets and background network usage yourself, Kudu can help. It can detect common Windows network bottlenecks, identify apps and settings hurting gaming performance, and guide you through safe fixes faster than doing it all manually.
Fix this automatically with Kudu
Run a free system scan to detect and resolve this issue automatically — no manual steps required.
Download Kudu Free →Related guides
How to Fix High Ping and Packet Loss in Online Games
Reduce lag spikes, rubberbanding, and packet loss in online games with network fixes, while Kudu helps tune your gaming PC.
How to Fix Packet Loss on Windows
Troubleshoot packet loss on Windows and reduce background strain with Kudu’s cleanup and optimization tools.
How to Fix AMD Overlay Causing Microstutter in Games
Stop AMD overlay features from causing stutter, hitching, or FPS instability, and use Kudu to streamline gaming performance.
How to Fix DirectX 12 Shader Compilation Stutter in Games
Reduce shader compilation stutter in DX12 games with cache and driver fixes, and use Kudu to improve overall game smoothness.