Solved

Windows XP: Need command line to Repair Wireless Internet Connection

Posted on 2007-11-24
3
4,107 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Migration of Exchange mailbox can be done with the ExProfre.exe tool. But at times, when the ExProfre.exe tool migrates the Exchange Server user profile, it results in numerous synchronization problems. Synchronization error messages appear in the e…
Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

690 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