• 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?
0
jdana
Asked:
jdana
3 Solutions
 
Aaron TomoskySD-WAN SimplifiedCommented:
Ipconfig /flushdns
0
 
rindiCommented:
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.
0
 
jdanaAuthor Commented:
I've had some success with "Troubleshoot Problems."  I'd say more often that not, it doesn't get me anywhere.
0
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!

 
ReneGeCommented:
arp -d *
0
 
subhashchyCommented:
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
0
 
jdanaAuthor Commented:
Thanks!
0
 
ReneGeCommented:
Glad I could help.
0
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