PC Review
Forums
Newsgroups
Windows 2000
Microsoft Windows 2000 Registry
how to change a registry value
Forums
Newsgroups
Windows 2000
Microsoft Windows 2000 Registry
how to change a registry value
![]() |
how to change a registry value |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I use a script to change the one of the network adapter
setting to 100 full duplex from auto-detect on w2000. Since l have different network card (3com&intel...)instal on each server.The Entry names or location/path is different depend on which network card. I have to change the path and name (key&subkeys) on my script every time. Is there any method so that l don't need to change the script every time. No user/operator input is require. This is part of the auto instal w2000 servers. Thanks. The following is my part of my script on two different network card. Script 1 ----------------------------------------------- strKeyPath = "SYSTEM\ControlSet001\Control\Class\{4D36E972- E325-11CE-BFC1-08002BE10318}\0000" strEntryName = "EXTPHY" strValue = "2" Sript 2 ----------------------------------------------- strKeyPath = "SYSTEM\ControlSet001\Control\Class\{4D36E972- E325-11CE-BFC1-08002BE10318}\0000" strEntryName = "Duplexmode" strValue = "Full Duplex" objReg.SetStringValue HKEY_LOCAL_MACHINE, strKeyPath, _ strEntryName, strValue .. h |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

