Difference of OSs on DB-Level

Difference of OSs on DB-Level

Postby wehlingwsus » 27.06.2014, 11:43

Hello,

I just wondered, how WSUS makes a difference between Windows 8 and Windows 2012.

On DB-Level, there is tbOSMap. But there is no record of Win 8 or similar.

In tbComputerTargetDetail I can see the os-Version in columns OSMajorVersion, OSMinorVersion, OSBuildNumber, etc. But these are all the same for the mentioned systems.

Only hints I could find were the colums Suitmask, OldProductType, NewProductType.


I want to build my own SQL-Statements for reports.

Can anyone help?
wehlingwsus
 

Re: Difference of OSs on DB-Level

Postby WSUSUpdateAdmin » 27.06.2014, 12:40

Hi.

You can do this by
Code: Select all
cscript %SystemRoot%\System32\slmgr.vbs -dli

and by evaluating Win32_ComputerSystem.DomainRole, of course.

Regards
T. Wittrock
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Re: Difference of OSs on DB-Level

Postby wehlingwsus » 27.06.2014, 12:44

But cant I find these information in the database?
wehlingwsus
 

Re: Difference of OSs on DB-Level

Postby WSUSUpdateAdmin » 27.06.2014, 13:33

In which database?
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Re: Difference of OSs on DB-Level

Postby wehlingwsus » 27.06.2014, 14:48

SUSDB in SQL-Server
wehlingwsus
 

Re: Difference of OSs on DB-Level

Postby WSUSUpdateAdmin » 27.06.2014, 15:30

Oh, Microsoft WSUS Server is not the same as this project.

But anyway, there's no need to differ between Windows 8 and Server 2012, for example, because both have the same kernel (v. 6.2).
If necessarry, the client will report the correct OS Version to the WSUS Server, of course.

RTW
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Re: Difference of OSs on DB-Level

Postby boco » 27.06.2014, 20:01

Correct OS can be retrieved using WMIC.

Code: Select all
wmic os get Name


Example Server 2012:

Klick on it as embedding doesn't seem to work.
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2391
Joined: 24.11.2009, 17:00
Location: Germany


Return to Verschiedenes / Miscellaneous

Who is online

Users browsing this forum: No registered users and 67 guests

cron