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

Untag as favorite
Report with installed hotFix between two dates
tomecheq
#1 Posted : Thursday, January 05, 2012 2:41:06 PM

Rank: Premium user

Groups: Member, Premium Users
Posts: 2
Location: POLAND
Hi,

I'm trying to write a report to show me which windows updates where installed between two dates (example: from 12/01/2011 to 12/31/2011) but i couldn't create specific condition to show me expected results.

Maybe somebody knows how to do it.

Lansweeper
#2 Posted : Wednesday, January 11, 2012 10:55:55 AM

Rank: Administration

Groups: Administration, Premium Users
Posts: 10,378
The best way to do this would be to scan information events and then look at MSI installations that occurred.

Scanning of information events can be enabled in the Lansweeper configuration console under Scanning Servers\Your Server\Options\Eventlog Scanning.

Sample report to find installations that occurred between 30 and 15 days ago:
Quote:
Select tblComputers.Computername, tblComputers.ComputerUnique,
tblComputers.Domain, tblntlogevent.Eventcode, tblntlogevent.Eventtype,
tblntlogevent.Logfile, tblntlogevent.Message, tblntlogevent.Sourcename,
tblntlogevent.TimeGenerated, tblntlogevent.[User]
From tblComputers Inner Join
tblntlogevent On tblComputers.Computername = tblntlogevent.Computername
Where tblntlogevent.Eventcode = '1022' And tblntlogevent.Sourcename =
'msiinstaller' And tblntlogevent.TimeGenerated > GetDate() - 30 And
tblntlogevent.TimeGenerated < GetDate() - 15
Order By tblntlogevent.TimeGenerated Desc
kwei
#3 Posted : Friday, March 09, 2012 7:00:40 PM
Rank: Freeware user

Groups: Member
Posts: 1
Location: Austin, TX
I am looking for a report similar to this one, but I am looking to find out if a specific windows update was installed on all our machines. It there a report I can build or modify to do this?
AngelEye88NL
#4 Posted : Monday, March 12, 2012 11:03:19 AM

Rank: Premium user

Groups: Member, Premium Users
Posts: 5
Location: the Netherlands
I have the same question, which generates a report with all computer that the hotfix "KB981116" have installed.
Lansweeper
#5 Posted : Tuesday, March 13, 2012 12:51:06 PM

Rank: Administration

Groups: Administration, Premium Users
Posts: 10,378
Installed updates can be found in tblQuickFixEngineering within the Lansweeper report builder. An example report can be seen below. Replace “YourID” with the hotfix ID you would like to report on.

Quote:
Select tblComputers.Computername, tblComputers.ComputerUnique,
tblComputers.Domain, tblQuickFixEngineering.Description,
tblQuickFixEngineering.FixComments, tblQuickFixEngineering.HotFixID,
tblQuickFixEngineering.InstalledOn
From tblComputers Inner Join
tblQuickFixEngineering On tblComputers.Computername =
tblQuickFixEngineering.Computername
Where tblQuickFixEngineering.HotFixID = 'YourID'
Order By tblComputers.ComputerUnique, tblQuickFixEngineering.HotFixID


To use the specified report, do the following:
- Open the Lansweeper configuration console and select Reports & Alerts\Report Builder. Hit the “New” button.
- Copy the SQL code provided and paste it in the bottom of the newly created report, replacing the default SQL code.
- Click somewhere near tblComputers so the new code applies.
- Give the report a “View name” and a “Report name” and hit the “Save” button.
- Double-click on the report in the report list to see its results and export options.
AngelEye88NL
#6 Posted : Tuesday, March 13, 2012 1:07:33 PM

Rank: Premium user

Groups: Member, Premium Users
Posts: 5
Location: the Netherlands
Perfect! Thanks again!
lanswept
#7 Posted : Tuesday, March 27, 2012 5:34:47 PM
Rank: Freeware user

Groups: Member
Posts: 1
Location: Phoenix, AZ, USA
Lansweeper: Thank you for the custom report info
Applause
jacobstw
#8 Posted : Tuesday, March 27, 2012 5:37:37 PM


Rank: Premium user

Groups: Premium Users
Posts: 4
Location: Phoenix, AZ, USA
Lansweeper wrote:


Quote:
Select tblComputers.Computername, tblComputers.ComputerUnique,
tblComputers.Domain, tblQuickFixEngineering.Description,
tblQuickFixEngineering.FixComments, tblQuickFixEngineering.HotFixID,
tblQuickFixEngineering.InstalledOn
From tblComputers Inner Join
tblQuickFixEngineering On tblComputers.Computername =
tblQuickFixEngineering.Computername
Where tblQuickFixEngineering.HotFixID = 'YourID'
Order By tblComputers.ComputerUnique, tblQuickFixEngineering.HotFixID





This report works great. I was searching for the same hotfix info but instead of showing machines that have this hotfix, show machines that are missing the hotfix and came across a couple other posts that might be useful to those looking:

This older forum post might be useful but gives an error about cfgname when attempting to run the last report.

This post seems to work well

Thanks!
Users browsing this topic
Guest
Untag 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