Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script to Update Nic Driver

Status
Not open for further replies.

Count430

Programmer
Apr 26, 2002
127
US
Hello everyone:

I'm trying to massage a script to update the nic driver
on some XP machines.

There's a glitch where the card runs at the wrong speed,
but when you go into the driver properties and run
update it updates the driver, adds to the version number
and corrects the problem.

The Microsoft say's the problem is related to "Bus
Mastering" I placed a hack in the registry to turn this
option off, but it didnt work.

Here's the code I'm trying to massage

Helllllpppp! ;)
Thanks!

Set NetworkAdapter = "El90xnd4.sys "
GetObject("winmgmts:{impersonationLevel=impersonate}
!Win32_NetworkAdapterConfiguration=1")
' NetworkAdapter.DHCPEnabled = true
NetworkAdapter.driverUpdate = true
NetworkAdapter.Put__ ()

 
Well I was able to get around this one, if anyone ever needs a neat tool to reset, remove, or update device drivers
you can use "Devcon"

Once you download this tool and drill through the syntax rules it pretty easy to use and works in seconds.

All you need to supply is the device ID as the argument and it works fine.

You can download it here
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top