Solved

Windows XP: Need command line to Repair Wireless Internet Connection

Posted on 2007-11-24
3
4,105 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
User laptop information 6 144
Hyper V vm 4 137
Need IE 6 on Win 7 or Win 10 23 113
Where can I find a virus scanner for XP SP2? 22 88
Are you unable to synchronize your OST (Offline Storage Table) file with Microsoft Exchange Server? Is your OST file exceeding 2 GB size limit? In Microsoft Outlook 2002 and earlier versions, there is a 2 GB size limit for the OST file. If the file …
We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 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