Trying to detect machines with Wireless cards installed

(imported topic written by SystemAdmin)

I’m interested in deploying a patch (Microsoft Wireless Client KB917021) but for obvious reasons, I only want it to deploy to machines with Wireless cards.

One way I’ve been using is to detect the Batteries via WMI, but I know we have a few desktop machines used on mobile carts that use wireless cards to stay connected to the network. I’d like to be able to detect them as well.

From what I can find with Google, the presence of sub-keys under HKLM\Software\Microsoft\WZCSVC\Parameters\Interfaces would indicate the presence of Configured Wireless Networks. How would I construct a Relecence clause to find sub-keys under the Interfaces key? Anyone done this before?

Better yet, anyone have a better way to solve the problem?

(imported comment written by jessewk)

Tim,

I didn’t try out your theory, but you can do something like this to see if there are subkeys of a registry key:

exists keys of keys “HKLM\Software\Microsoft\WZCSVC\Parameters\Interfaces” of registry

-Jesse

(imported comment written by SystemAdmin)

Tested it on my office desktop with no Wi-Fi : False

Tested it on my laptop with Wi-Fi : True

Now I just need to find one of those clinical carts in the console … :slight_smile:

Thanks for donating the clause for the cause!