5. March 2011 19:15
I use BgInfo on all my machines: it overlays configuration information on your desktop wallpaper, things like machine name, IP address, etc. For me this is useful, especially to have my current network settions at a glance without consuming resources like Windows gadgets do, since it creates a wallpaper image, sets it as background and quits.
However, if you install virtualization software like VMware Player, it adds virtual network adapters to Windows, that subsequently show up in the info shown on your desktop.

To filter out this information and also hide all adapters that might be disabled (unconnected network cards, disconnected wireless adapters, etc.) you can add so-called custom fields that display the result of a WMI Query.
For the screenshot above, I used the following WMI Queries:
--OS
SELECT Caption FROM Win32_OperatingSystem
SELECT OSArchitecture FROM Win32_OperatingSystem
--card
SELECT Description FROM Win32_NetworkAdapterConfiguration
WHERE IPEnabled = TRUE AND NOT Description LIKE 'VMWare%'
--con
SELECT NetConnectionId FROM Win32_NetworkAdapter
WHERE NetEnabled = TRUE AND NOT NetConnectionId LIKE 'VMWare%'
--ip
SELECT IPAddress FROM Win32_NetworkAdapterConfiguration
WHERE IPEnabled = TRUE AND NOT Description LIKE 'VMWare%'
--dhcp
SELECT DHCPServer FROM Win32_NetworkAdapterConfiguration
WHERE IPEnabled = TRUE AND NOT DHCPServer IS NULL
--DNS
SELECT DNSServerSearchOrder FROM Win32_NetworkAdapterConfiguration
WHERE IPEnabled = TRUE AND NOT Description LIKE 'VMWare%'
--DNS
SELECT DNSDomain FROM Win32_NetworkAdapterConfiguration
WHERE IPenabled=true AND NOT DNSDomain IS NULL
You can find all the custom fields in this default.bgi file. Just grab BgInfo from the link at the top of this post and start decorating your wallpaper.
Category: Tools |
Tags: BgInfo |
Permalink