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.

Linux için En İyi 5 Ergonomik Bilgisayar Faresi Ürünleri
Uzun süreli bilgisayar kullanımı bileğinizde veya parmaklarınızda ağrıya neden olur mu?? Sert eklemlerden muzdarip misiniz ve sürekli ellerinizi sıkma...
How to Change Mouse and Touchpad Settings Using Xinput in Linux
Most Linux distributions ship with “libinput” library by default to handle input events on a system. It can process input events on both Wayland and X...
Remap your mouse buttons differently for different software with X-Mouse Button Control
Maybe you need a tool that could make your mouse's control change with every application that you use. If this is the case, you can try out an applica...