ejensen wrote:thanks, but that really didnt help.
I need a report of all users and if the registry key does not exists and if it does exists, then what that value is.
Please have a look at the example report below.
- All computers are listed in this report.
- Only those where the specified registry key could be found have an entry for the "Regkey" field.
- Only those where a value was found for the specified registry key have an entry for the "Value" field.
Quote:Select Top 1000000 tblComputers.Computername, tblComputers.Domain, tblComputers.Computer, tblComputers.Username, scndtbl.Regkey, scndtbl.Valuename, scndtbl.Value From tblComputers Left Join (Select tblRegistry.Regkey, tblRegistry.Valuename, tblRegistry.Value, tblRegistry.Computername From tblRegistry Where tblRegistry.Regkey = 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer' And tblRegistry.Valuename = 'Version') scndtbl On tblComputers.Computername = scndtbl.Computername Order By tblComputers.Domain, tblComputers.Computer