MSFN Forum: Windows 8 OperatingSystemSKU - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Windows 8 OperatingSystemSKU SKU number for each Windows 8 Edition

#1 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,393
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 14 September 2012 - 02:05 AM

I would like to ask to find the OperatingSystemSKU for each Windows 8 version.

We know now there is four Windows 8 editions:
Windows 8 editions

Windows 8
Windows 8 Pro
Windows 8 Enterprise
Windows RT

The goal is to add the SKU numbers to Windows Post-Install Wizard to improve the program for Windows 8 editions.

This can be detected with this vbs file:

SKU.vbs
On Error Resume Next

Const wbemFlagReturnImmediately = &h10
Const wbemFlagForwardOnly = &h20

arrComputers = Array(".")
For Each strComputer In arrComputers
   Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
   Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_OperatingSystem", "WQL", _
                                          wbemFlagReturnImmediately + wbemFlagForwardOnly)

   For Each objItem In colItems
      WScript.Echo "OperatingSystemSKU: " & objItem.OperatingSystemSKU
   Next
Next



Many thanks to share your results.

Regards

This post has been edited by myselfidem: 19 September 2012 - 10:42 AM



#2 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,682
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 14 September 2012 - 06:49 AM

View Postmyselfidem, on 14 September 2012 - 02:05 AM, said:

Windows RT

The goal is to add the SKU numbers to Windows Post-Install Wizard to improve the program for Windows 8 editions.


Can WPI even run on ARM? :w00t:

#3 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,393
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 14 September 2012 - 08:38 AM

You give a question to my first question!

Well. About Windows RT (Windows on ARM):
Windows RT

Quote

Differences from other Windows 8 versions

While Windows RT does share a significant amount of code base with other Windows 8 versions, there are some notable differences. Windows RT will not include Windows Media Player, a multimedia playback software found in other Windows 8 versions. In addition, Windows RT will include Microsoft Office 2013 RT for free whereas users of other Windows 8 versions will need to purchase and install Office separately. Also, users will not have an option to disable UEFI secure boot on Windows RT systems. As a result, only operating systems can be installed that have been signed for secure boot by their developers.

Limitations
Only software written using the Windows Runtime (Metro style apps) can be used on Windows RT with the exception of Microsoft Office 2013 and the desktop version of Internet Explorer 10. Developers will not be able to create applications to run on Windows RT using the Win32 APIs.


ARM architecture

However the 3 others Windows 8 sku numbers can be useful.

Seems Windows 8 Pro is OSSKU: 48

Can you give us one?

*Edit: it seems we must wait a little to know the SKU numbers, maybe there will be:

case 36:
   OSSKU="8 Edition"; 
   break;
              
 case 48:
   OSSKU="Pro Edition";
   break;

case 60:
   OSSKU="RT Edition";  // WPI is not available for Windows RT Edition
   break;

case 72:
   OSSKU="Enterprise Edition"; 
   break;






This post has been edited by myselfidem: 14 September 2012 - 12:20 PM


#4 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,682
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 14 September 2012 - 06:06 PM

While the "un-named" Windows 8 (non-Pro) edition has... um... no name... It seems to be also known as Windows 8 Core. I do prefer that suffix rather than not having one! :rolleyes:

Anyways, I'm not familiar with these OSSKUs you found. Where can they be found?

OH... notice you read posted this:

Quote

Only software written using the Windows Runtime (Metro style apps) can be used on Windows RT


Those apps run on web-technologies, rather than being limited to the architecture support of the OS. The IE and Office parts don't count since those are custom builds for ARM CPU code.

#5 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,393
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 14 September 2012 - 11:42 PM

View PostTripredacus, on 14 September 2012 - 06:06 PM, said:

Anyways, I'm not familiar with these OSSKUs you found. Where can they be found?


Thanks for your answer.

Those OSSKU's can be found using the SKU.vbs I given on my first post.

Testing Windows 8 Enterprise Evaluation gives OSSKU:72

For Windows 8 Pro the OSSKU is: 48

*Edit: we can find a list here, but for Windows 8 this list doesn't exist at the moment:
Win32_OperatingSystem class (browse to tilte: OperatingSystemSKU)

This post has been edited by myselfidem: 15 September 2012 - 12:05 AM


#6 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,976
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 15 September 2012 - 12:48 AM

I'm using the GetProductInfo API to get the OS Edition.

#7 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,393
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 September 2012 - 02:20 AM

Thanks, but, my question is to obtain the OS SKU number !

#8 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,976
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 15 September 2012 - 04:42 AM

follow my link ;) There are the values listed (in hex so convert them to decimal) :whistle:

#9 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,393
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 September 2012 - 04:43 AM

Many thanks! I will try to convert them. ;)

#10 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,393
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 September 2012 - 05:40 AM

Now here are the results using your link and this convert link hexadecimal to decimal:

Hexadecimal Conversion

For WPIW
case 27:
   OSSKU="Enterprise N Edition";
   break;

case 48:
   OSSKU="Pro Edition";
   break;

case 49:
   OSSKU="Professional N Edition";
   break;

 case 72:
   OSSKU="Enterprise Evaluation Edition";
   break;

 case 98:
   OSSKU="8 N Edition";
   break;

case 99:
   OSSKU="8 China Edition";
   break;

case 100:
   OSSKU="8 Single Language Edition";
   break;

 case 101:
   OSSKU="8 Core Edition";
   break; 

 case 103:
   OSSKU="Professional Edition with Media Center";
   break;



Regards

This post has been edited by myselfidem: 15 September 2012 - 05:43 AM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy