search through registry for a value

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?
 
D

Dave Patrick

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?
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top