Operating System - Microsoft
1748053 Members
4796 Online
108758 Solutions
New Discussion

Re: How to determine real network adapter cards

 
Sonison James
Frequent Advisor

How to determine real network adapter cards

Hello,

I would like to determine real network adapter cards using WMI if possible. I am not able to get the required info in a consistent manner on the different windows machines. I had the following problems:

1. Check for PNPDeviceID starting with ROOT - did not work on a
particular WinNT machine
2. Win32_NetworkAdapter.AdapterType = "Ethernet 802.3" - does not work
on Win9x and ME
3. Snip from http://groups.google.co.in/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=20030806181726.DD97.CECILSHENG%40foquest.com.tw&rnum=1&prev=/groups%3Fq%3Dreal%2Bnetwork%2Badapters%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26selm%3D20030806181726.DD97.CECILSHENG%2540foquest.com.tw%26rnum%3D1

select * from win32_networkadapterconfiguration where ipenabled = true

Then for each obj.path_ in that result set issue this query:

associators of {sInsertWin32ConfigAdapterPathHere} where resultClass =
win32_networkadapter assocClass = Win32_networkAdapterSetting

Does not work on Win9x and ME

Thanks and regards
Sonison James
1 REPLY 1
Roger Faucher
Honored Contributor

Re: How to determine real network adapter cards

Hi:

I don't know if this is what you have in mind but I like to use Belarc Advisor (available free for home use/eval at www.belarc.com).

HTH

Roger
Make a great day!

Roger