Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Windows XP: Need command line to Repair Wireless Internet Connection

Posted on 2007-11-24
3
Medium Priority
?
4,112 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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…
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
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…
Suggested Courses

609 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