• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 450
  • Last Modified:

Batch file equivalent to the good old "Repair" option for network card found in XP

One of the Windows XP features I really liked was the ability to right-click on a wireless card or NIC in my system tray (notification area) and select "Reset."  This quick-and-easy trick often fixed stubborn wireless connections.  I think Microsoft abandoned this feature with Vista.  (It definitely isn't present on my Windows 7 machine.)  Anyway, I'd love to create a little batch file that I can run on Windows 7 machines that takes the same steps.  Here are a few commands that might be part of this batch file:

REM -- Flush the arp cache --
netsh interface ip delete arpcache
REM -- Release and renew IP's --
ipconfig /release
ipconfig /renew

Are these reasonable?  What am I missing?
3 Solutions
Aaron TomoskySD-WAN SimplifiedCommented:
Ipconfig /flushdns
At least in Windows 7 you can right click on the networking symbol in the taskbar, and then you have an option to "Troubleshoot Problems". With that you can try fixing networking issues.
jdanaAuthor Commented:
I've had some success with "Troubleshoot Problems."  I'd say more often that not, it doesn't get me anywhere.
Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

arp -d *
make sure to run the batch as administrator ,simply double clicking on it may not work due to UAC.just making sure :),otherwise seems ok to me combined with flushdns
jdanaAuthor Commented:
Glad I could help.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improved Protection from Phishing Attacks

WatchGuard DNSWatch reduces malware infections by detecting and blocking malicious DNS requests, improving your ability to protect employees from phishing attacks. Learn more about our newest service included in Total Security Suite today!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now