Hi,
Is it possible to scan registry keys with all of their sub-keys?
I am trying to add the monitors to my inventory.
Windows saves all registry keys for all monitors ever connected to the machine.
On Windows 7 it's easy - the active monitor appears at HKLM\SYSTEM\CurrentControlSet\services\monitor\Enum.
On Windows XP it's not that easy as you need to go over the list of monitors at SYSTEM\CurrentControlSet\Enum\DISPLAY and only the active one will have a Control sub-key.
I need to save only the one with Control sub-key, or all of them and then use only the one with the Control sub-key in my report.
Thanks.