search through registry for a value

  • Thread starter Thread starter Jeffy-Jeff
  • Start date Start date
J

Jeffy-Jeff

I am trying to figure out how to go about searching through the
registry, from a specific key
(HKLM\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318})
down through about 24 subkeys (0000 - 0024) and locate a value called
"SpeedDuplex" that manages the NIC card Duplex setting. Take that value
and then change it. If it is a 0 make it a 4 and if it is a 4 make it a
0. Of course this will need to be run as a Local Admin to edit the
registry.

I have tried a few different things from RegRead to resource kit tools
(reg query) and am completely stuck. I am trying to learn VBscript and
WMI but have a long way to go I see.

Would anyone be willing to assist me?
 
multi-posted

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

|I am trying to figure out how to go about searching through the
| registry, from a specific key
|
(HKLM\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318})
| down through about 24 subkeys (0000 - 0024) and locate a value called
| "SpeedDuplex" that manages the NIC card Duplex setting. Take that value
| and then change it. If it is a 0 make it a 4 and if it is a 4 make it a
| 0. Of course this will need to be run as a Local Admin to edit the
| registry.
|
| I have tried a few different things from RegRead to resource kit tools
| (reg query) and am completely stuck. I am trying to learn VBscript and
| WMI but have a long way to go I see.
|
| Would anyone be willing to assist me?
|
 
Back
Top