The old BfDW forum - no game, just talk


You are not connected. Please login or register

IPCONFIG Release/Renew Batch File

Go down  Message [Page 1 of 1]

1IPCONFIG Release/Renew Batch File Empty IPCONFIG Release/Renew Batch File on Thu Sep 09, 2010 9:06 pm

[GA]comatose

[GA]comatose
Game Ambassador
Game Ambassador
Step 1: Click on the “Start” menu and go to “All Programs”. Go to “Accessories” and open “Notepad”.

Step 2: In Notepad, type in the following commands which will be run to refresh a computer’s network settings.

Code:
ipconfig /release
ipconfig /flushdns
ipconfig /renew

IPCONFIG Release/Renew Batch File Step1

The “release” switch will release your current IP address settings. The “flushdns” switch will flush the DNS resolver cache. The “renew” switch will renew your IP address settings.



Step 3: Now click on the “File” menu and select “Save As”. Change the “Save As Type” field to “All Files” located near the bottom of the window. Now enter a “File Name” such as “Refresh.bat” without the quotes. It is important that you put the .bat extension on the end of the file name or you will not be able to execute it as a batch file. Choose a “Save In” location and click the “Save” button to save it.

IPCONFIG Release/Renew Batch File Step2

You will not have a new icon on your desktop, if that's where you saved it. Double-click on it, and a command window will pop up and refresh your network settings.

If during refresh, you see an error in flushing the DNS Resolver Cache, your DNS service may not be running. Some PC tools will shut this service off in order to optimize the performance. You can fix this by going to Start > Run and type "services.msc" (without the quotes)

IPCONFIG Release/Renew Batch File Services

The Services window will open, the services are sorted alphabetically.

IPCONFIG Release/Renew Batch File Dns

Right-click on the DNS service and go to Properties. In the Properties window, click Start, then change the startup type to Automatic. Click Apply, & then OK. Now the Refresh.bat will work as it's supposed to.


**Remember, these commands will only work if the computer is set up to obtain an IP address automatically and will not work if the computer has a hard-coded IP address.**

http://battle-for-dwater.net16.net/

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum