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.

Gry Najlepsze gry wiersza poleceń dla systemu Linux
Najlepsze gry wiersza poleceń dla systemu Linux
Wiersz poleceń jest nie tylko twoim największym sprzymierzeńcem podczas korzystania z Linuksa - może być również źródłem rozrywki, ponieważ możesz go ...
Gry Najlepsze aplikacje do mapowania gamepada dla systemu Linux
Najlepsze aplikacje do mapowania gamepada dla systemu Linux
Jeśli lubisz grać w gry na Linuksie za pomocą gamepada zamiast typowego systemu wprowadzania klawiatury i myszy, jest kilka przydatnych aplikacji dla ...
Gry Przydatne narzędzia dla graczy Linuksa
Przydatne narzędzia dla graczy Linuksa
Jeśli lubisz grać w gry w systemie Linux, prawdopodobnie używałeś aplikacji i narzędzi, takich jak Wine, Lutris i OBS Studio, aby poprawić wrażenia z ...