Lansweeper logo
Home Download Features Demo Buy now Help Support forum
 
    Most requested support articles:
  Lansweeper troubleshooting guide.
  The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
  WMI Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
  How to configure the windows firewall using group policies.
  Support:  
 support@lansweeper.com  
Skype: Lansweeper  
  Mo-Fri 9h-17h CET  
Welcome Guest Search | Active Topics | Log In | Register

Tag as favorite
Report of missing reg key
eyalg
#1 Posted : Wednesday, August 18, 2010 3:39:48 PM

Rank: Premium user

Groups: Premium Users
Posts: 14
Hello,

I'm trying to write a report that display all the computer that doesn't have a specific regkey of WSUS.

I allready done a report that show me all the computer that have that key.

Please help

Arnon

Lansweeper
#2 Posted : Wednesday, August 18, 2010 7:32:50 PM

Rank: Administration

Groups: Administration, Premium Users
Posts: 10,370
Can you post an extract of the tblregistry output for this please.
eyalg
#3 Posted : Thursday, August 19, 2010 6:03:29 AM

Rank: Premium user

Groups: Premium Users
Posts: 14
here is one line from the tblregistry
<comp name> Windows XP Professional http://10.x.x.x:8530 <user name> HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate

lansweeper collects only from computers that got this key.
I wan't that the report will divide the computers that apear in my report from all the computers that are in my lansweeper database.

Thanks ,

Arnon
Lansweeper
#4 Posted : Thursday, August 19, 2010 8:59:43 AM

Rank: Administration

Groups: Administration, Premium Users
Posts: 10,370
Haven't completely tested if but should be something like this:

Code:
Select tblComputers.Computername, tblComputers.ComputerUnique, temptbl.Regkey,
  temptbl.Valuename       
From (Select tblComputers.Computername, tblComputers.ComputerUnique,
      tblRegistry.Regkey, tblRegistry.Valuename, tblRegistry.Value
    From tblComputers Inner Join
      tblRegistry On tblComputers.Computername = tblRegistry.Computername
    Where tblRegistry.Regkey Like '%windowsupdate%') temptbl Right Join
  tblComputers On tblComputers.Computername = temptbl.Computername
Users browsing this topic
Guest
Tag as favorite
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Contact: E-mail Lansweeper - Skype : Lansweeper
Copyright 2004 - 2011 © Hemoco bvba