Solved

Windows XP: Need command line to Repair Wireless Internet Connection

Posted on 2007-11-24
3
4,101 Views
Last Modified: 2010-04-21
Hi:
I would like to create a shortcut on my desktop to a bat file that would "repair the wireless network connection", normally a right mouse click and repair sequence on the wireless network connection icon.

Thanks

Charlie
0
Comment
Question by:cepes
  • 2
3 Comments
 
LVL 7

Expert Comment

by:jax79sg
ID: 20343092
A repair operation does a few stuff, but not necessary all are useful. So here's the full list, but its up to u if you want everything here or not.

Batch file content as attached.

REM Batch file to renew connection
REM Renew your Dynamic IP address, if any.
ipconfig /renew "ConnectionName"
 
REM Clear Address Resolution Protocol (ARP) cache. More for your own network.
arp –d *
 
REM Clear NetBIOS cahce, again, may not be necessary
nbtstat –R
 
REM Clear DNS Resolver cache. (For resolution of internet addresses)
ipconfig /flushdns
 
REM Register on WINS databases. Again, may not be necessary for you
nbtstat –RR
 
REM Register on AD DNS database. Again, may not be necesary for you.
ipconfig /registerdns

Open in new window

0
 
LVL 7

Accepted Solution

by:
jax79sg earned 500 total points
ID: 20343095
Sorry, the code seems altered, repost here.

REM Renew your Dynamic IP address, if any.
ipconfig /renew "ConnectionName"

REM Clear Address Resolution Protocol (ARP) cache. More for your own network.
arp –d *

REM Clear NetBIOS cahce, again, may not be necessary
nbtstat –R

REM Clear DNS Resolver cache. (For resolution of internet addresses)
ipconfig /flushdns

REM Register on WINS databases. Again, may not be necessary for you
nbtstat –RR

REM Register on AD DNS database. Again, may not be necesary for you.
ipconfig /registerdns
0
 

Author Closing Comment

by:cepes
ID: 31410771
Thank you!!!
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows XP image 11 116
Toshiba Laptop (WIN XP) will not start 6 79
netsh interface ip show interface in Windows XP 4 126
Best practices power settings GPO Win 10 4 96
If you build your web application in Visual Studio you'll get at least a few binaries, or .DLL, files in your bin folder. However, there is more compiling to be done. Normally this would happen when an ASP.NET resource within the web site is request…
It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question