Page 1 of 1

Difference of OSs on DB-Level

PostPosted: 27.06.2014, 11:43
by wehlingwsus
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?

Re: Difference of OSs on DB-Level

PostPosted: 27.06.2014, 12:40
by WSUSUpdateAdmin
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

Re: Difference of OSs on DB-Level

PostPosted: 27.06.2014, 12:44
by wehlingwsus
But cant I find these information in the database?

Re: Difference of OSs on DB-Level

PostPosted: 27.06.2014, 13:33
by WSUSUpdateAdmin
In which database?

Re: Difference of OSs on DB-Level

PostPosted: 27.06.2014, 14:48
by wehlingwsus
SUSDB in SQL-Server

Re: Difference of OSs on DB-Level

PostPosted: 27.06.2014, 15:30
by WSUSUpdateAdmin
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

Re: Difference of OSs on DB-Level

PostPosted: 27.06.2014, 20:01
by boco
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.