Batch Files

Batch File to Release TCP/IP, Flush DNS, Reset Winsock, Reset Proxy

Batch File to Release TCP/IP, Flush DNS, Reset Winsock, Reset Proxy

Every now and then, many PC users may find that their Network connections fail for seemingly no reason. And, while rebooting your Windows 10 PC works in some cases, it is not ideally the best solution. In this post, we will show you how to create a Batch File to reset, release & renew IP, Winsock, Proxy, DNS without having to reboot your Windows 10 PC.

Batch File to reset, release & renew IP, Winsock, Proxy, DNS

While you can easily reset TCP/IP, Flush DNS or reset Winsock, by following the usual processes - with a little planning, you can reset and renew your Windows 10 network connection using a small batch file.

To create a batch File to reset, release & renew IP, Winsock, Proxy, DNS on Windows 10, do the following:

Press Windows key + R to invoke the Run dialog.

In the Run dialog box, type notepad and hit Enter to open Notepad.

Copy and paste the code below into the text editor.

ipconfig /release ipconfig /renew arp -d * nbtstat -R nbtstat -RR ipconfig /flushdns ipconfig /registerdns

The description of the parameters are as follows:

Save the file (to the desktop, preferably) with a name and append the .bat file extension - eg; ResetNetConec.bat.

On the Save as type box select All Files.

Now, anytime you need to reset your network connection, simply run the batch file with admin privilege and that should get your network connection up and running.

TIP: You can also use our portable freeware FixWin to reset TCP/IP, Flush DNS, reset Winsock, etc.

WinMouse lets you customize & improve mouse pointer movement on Windows PC
If you want to improve the default functions of your mouse pointer use freeware WinMouse. It adds more features to help you get the most out of your h...
Mouse left-click button not working on Windows 10
If you are using a dedicated mouse with your laptop, or desktop computer but the mouse left-click button is not working on Windows 10/8/7 for some rea...
Cursor jumps or moves randomly while typing in Windows 10
If you find that your mouse cursor jumps or moves on its own, automatically, randomly while typing in Windows laptop or computer, then some of these s...