
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2016 06:58 PM
I am currently scanning two custom reg keys to pull back a report of our installations of our two Encryption Products. I can run each report individually and pull back the information but I am currently trying to compile a report that will first Look and make sure that the Device is in fact a laptop and secondly that the presence of neither of the registry keys is there. This should provide me with an as accurate as possible list of Laptops that are not currently encrypted. The keys we are scanning for are below:
1.HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\CMGShield RegValue:LogFileDir
2.HKLM\SOFTWARE\WINMagic\securedoc RegValue:productname
Could someone please assist in a query that will output All laptops that do not have the above Registry Keys present?
Thanks
1.HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\CMGShield RegValue:LogFileDir
2.HKLM\SOFTWARE\WINMagic\securedoc RegValue:productname
Could someone please assist in a query that will output All laptops that do not have the above Registry Keys present?
Thanks
Solved! Go to Solution.
Labels:
- Labels:
-
Report Center
1 ACCEPTED SOLUTION

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2016 04:14 PM
Please use the report below to list the information you are after. It lists laptops that are missing both of the specified registry values. Instructions for adding reports to your installation can be found here.
Select Top 1000000 tsysOS.Image As icon,
tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Domain,
tblAssets.Username,
tblAssets.Userdomain,
tblAssets.IPAddress,
tblAssets.Firstseen,
tblAssets.Lastseen,
tblAssets.Lasttried
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblPortableBattery
On tblAssets.AssetID = tblPortableBattery.AssetID
Inner Join tsysOS On tsysOS.OScode = tblAssets.OScode
Where tblAssets.AssetID Not In (Select Top 1000000 tblRegistry.AssetID
From tblRegistry
Where tblRegistry.Regkey Like '%SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\CMGShield' And
tblRegistry.Valuename = 'LogFileDir') And
tblAssets.AssetID Not In (Select Top 1000000 tblRegistry.AssetID
From tblRegistry
Where tblRegistry.Regkey Like '%SOFTWARE\WINMagic\securedoc'
And tblRegistry.Valuename = 'productname') And tblAssetCustom.State = 1
Order By tblAssets.Domain,
tblAssets.AssetName
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2016 04:32 PM
Perfect, thanks so much!

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2016 04:14 PM
Please use the report below to list the information you are after. It lists laptops that are missing both of the specified registry values. Instructions for adding reports to your installation can be found here.
Select Top 1000000 tsysOS.Image As icon,
tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Domain,
tblAssets.Username,
tblAssets.Userdomain,
tblAssets.IPAddress,
tblAssets.Firstseen,
tblAssets.Lastseen,
tblAssets.Lasttried
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblPortableBattery
On tblAssets.AssetID = tblPortableBattery.AssetID
Inner Join tsysOS On tsysOS.OScode = tblAssets.OScode
Where tblAssets.AssetID Not In (Select Top 1000000 tblRegistry.AssetID
From tblRegistry
Where tblRegistry.Regkey Like '%SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\CMGShield' And
tblRegistry.Valuename = 'LogFileDir') And
tblAssets.AssetID Not In (Select Top 1000000 tblRegistry.AssetID
From tblRegistry
Where tblRegistry.Regkey Like '%SOFTWARE\WINMagic\securedoc'
And tblRegistry.Valuename = 'productname') And tblAssetCustom.State = 1
Order By tblAssets.Domain,
tblAssets.AssetName
