Go Back   TechArena Community > Technical Support > Computer Help > Windows Vista > Windows Vista Network
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , ,

Sponsored Links



Script to repair/reset network adapter

Windows Vista Network


Reply
 
Thread Tools Search this Thread
  #1  
Old 29-11-2007
alphad
 
Posts: n/a
Script to repair/reset network adapter

Is there a script that I create allowing me easy access to
repairing/resetting a network adapter?

Right now I have to open "Network and Sharing Center" --> select "Manage
Network Connections" --> right click on the network connect and select
"Diagnose" --> then finally select "reset the network adapter."

I'd like to create a script to which I can create a shortcut on the desktop.
A simple double click on the shortcut will reset the network adapter.
Reply With Quote
  #2  
Old 29-11-2007
Jeffrey Randow
 
Posts: n/a
Re: Script to repair/reset network adapter

See http://channel9.msdn.com/ShowPost.aspx?PostID=158556 for a script
that will let you disable and re-enable the NIC. There also may be a
NETSH command that will do this also...
Reply With Quote
  #3  
Old 21-05-2008
rowan.bradley
 
Posts: n/a
Re: Script to repair/reset network adapter

I have this very annoying problem too. Sometimes when I reboot my Vista
Business PC, it fails to connect to the network. If I do IPCONFIG, the
network adapter just has no information against it:
C:\Users\RowanB>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Default Gateway . . . . . . . . . :

To fix I have to:
1. Right-click the network icon in the System Tray.
2. From the pop-up menu, select "Diagnose and Repair".
3. Click "Automatically get new IP settings for the network adapter
'Local Area Connection'". At this stage there is annoyingly no "Reset
network adapter" option.
4. In the "Windows needs your permission to continue" box, click
Continue.
5. Wait for the "Repairing" window to complete (takes a while).
6. In the Windows Network Diagnostics window, click "Reset the network
adapter 'Local Area Connection'".
7. Now we see "The problem has been resolved". Click Close.

This is very tedious. I'd like a script to do this automatically.
Disable/enable doesn't seem to do the job - the Disable fails. I see
that very annoyingly the method Reset of the WMI class
Win32_NetworkAdapter is "not implemented". Why not? Can anyone suggest a
script way of resetting a network adapter?
Reply With Quote
  #4  
Old 18-09-2008
Member
 
Join Date: Jan 2009
Posts: 1
The script is simple. In my case, and after talking at length with computer company, internet provider and Microsoft, discovered that the script is called: "delete Norton Internet Security," and enable Windows firewall.

Even if i do the whole reset the network adapter thing, it still takes a while to start up, meaning that I have to do it a couple of times until it finally works. If you could help me, would really appreciate it. Thanks.

download devcon from microsoft and put it in system32
put this in a batch file and run

devcon restart =net pci\*
devcon enable =net pci\*
Reply With Quote
  #5  
Old 27-04-2010
Member
 
Join Date: Apr 2010
Posts: 1
Connecting to internet / network adapters

Im having a problem connecting to the internet. In Device manager, under the heading of network adapters all the sud files all have yellow triangles with exclamation marrks in.

Any body know wot i can do because i cannot connect to internet to update etc.
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Vista > Windows Vista Network


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Script to repair/reset network adapter"
Thread Thread Starter Forum Replies Last Post
Vista needs reset network adapter after wake up JN Windows Vista Network 9 17-02-2011 09:10 AM
Reset Network Adapter Chuck Vista Help 27 24-04-2009 03:28 PM
Fails to connect to network on boot, have to reset network adapter Rowan Windows Vista Network 8 15-04-2009 08:24 PM
How to Reset Network Adapter in Vista Zoe Networking & Security 3 18-03-2009 10:50 PM
How enable network adapter in script? Bill XP Hardware 8 02-02-2008 08:34 PM


All times are GMT +5.5. The time now is 03:10 PM.