Extract computer hardware information from WSUS

A question was asked in the WSUS Mailing List (hosted by Shavlik Technologies on www.patchmanagement.org) -

 

I am using WSUS 2.0 and I was wondering if there was a way to extract the computer hardware information it collects?

 

Oh yes, this is possible.

 

You can extract computer hardware data in table 'dbo.tbComputerTarget' in SUS database (SUSDB). You can query for the following information;

 

TargetID        ComputerID    SID     LastSyncTime LastReportedStatusTime      LastReportedRebootTime          IPAddress      FullDomainName        OSMajorVersion        OSMinorVersion        OSBuildNumber          OSServicePackMajorNumber  OSServicePackMinorNumber  OSLocale       ComputerMake          ComputerModel         BiosVersion    BiosName       BiosReleaseDate       ProcessorArchitecture          ClientGuid      RequestedTargetGroupName IsRegistered

 

For instance, you can query it directly using SQL Query Analyzer or OSQL;

 

USE SUSDB

SELECT     FullDomainName, IPAddress, ComputerMake, ComputerModel, BiosName, BiosVersion, OSMajorVersion, OSServicePackMajorNumber

FROM         tbComputerTarget

 

Hope that helps! Happy patching.

 

Published Wed, Dec 6 2006 10:37 by Mohammed Athif Khaleel

Comments

Thursday, December 07, 2006 7:38 AM by rjwh21a

# re: Extract computer hardware information from WSUS

thanks!

there is another Q:

how can i connect to SUS database (SUSDB)?

what are username and password os SUS database (SUSDB)?

thank u !

Sunday, December 17, 2006 5:26 AM by Mohammed Athif Khaleel

# re: Extract computer hardware information from WSUS

You can use SQL Enterprise Manager.

Wednesday, February 14, 2007 6:09 AM by Frederic Dumesle

# re: Extract computer hardware information from WSUS

hello,

How can I retrieve the list of computers in "reboot pending" ?  Is there a document describing the schema database ?

Cheers