batch file - for /f reg query finding the subkey which contain my value -


i want find parameters of wifi cards remotely on many notebooks.

the key hklm\system\currentcontrolset\control\class\{4d36e972-e325-11ce-bfc1-08002be10318} subkey not same every notebooks, depending driver , others networkcards.

sometimes subkey 0012, 0013 or 0007. need find right subkey filtering *mediatype (0x10) , after having collected subkey display driverdesc. , other values.

is there way find subkey contain value?

i suggest use appropriate tool or api this. command

wmic /node:host1 nic list brief 

will list nic parameters of (remote) host "host1". have filter results wifi nics , information want.

you can embed calls wmic in powershell (which available in windows xp , up). parsing output not recommend dos batch anymore.


Comments