myselfidem Posted September 14, 2012 Share Posted September 14, 2012 (edited) 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 editionsWindows 8Windows 8 ProWindows 8 EnterpriseWindows RTThe 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.vbsOn Error Resume NextConst wbemFlagReturnImmediately = &h10Const wbemFlagForwardOnly = &h20arrComputers = 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 NextNextMany thanks to share your results.Regards Edited September 19, 2012 by myselfidem Link to comment Share on other sites More sharing options...
Tripredacus Posted September 14, 2012 Share Posted September 14, 2012 Windows RTThe 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? Link to comment Share on other sites More sharing options...
myselfidem Posted September 14, 2012 Author Share Posted September 14, 2012 (edited) You give a question to my first question!Well. About Windows RT (Windows on ARM):Windows RTDifferences from other Windows 8 versionsWhile 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.LimitationsOnly 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 architectureHowever the 3 others Windows 8 sku numbers can be useful.Seems Windows 8 Pro is OSSKU: 48Can 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; Edited September 14, 2012 by myselfidem Link to comment Share on other sites More sharing options...
Tripredacus Posted September 15, 2012 Share Posted September 15, 2012 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! Anyways, I'm not familiar with these OSSKUs you found. Where can they be found?OH... notice you read posted this:Only software written using the Windows Runtime (Metro style apps) can be used on Windows RTThose 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. Link to comment Share on other sites More sharing options...
myselfidem Posted September 15, 2012 Author Share Posted September 15, 2012 (edited) 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:72For 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) Edited September 15, 2012 by myselfidem Link to comment Share on other sites More sharing options...
MagicAndre1981 Posted September 15, 2012 Share Posted September 15, 2012 I'm using the GetProductInfo API to get the OS Edition. Link to comment Share on other sites More sharing options...
myselfidem Posted September 15, 2012 Author Share Posted September 15, 2012 Thanks, but, my question is to obtain the OS SKU number ! Link to comment Share on other sites More sharing options...
MagicAndre1981 Posted September 15, 2012 Share Posted September 15, 2012 follow my link There are the values listed (in hex so convert them to decimal) Link to comment Share on other sites More sharing options...
myselfidem Posted September 15, 2012 Author Share Posted September 15, 2012 Many thanks! I will try to convert them. Link to comment Share on other sites More sharing options...
myselfidem Posted September 15, 2012 Author Share Posted September 15, 2012 (edited) Now here are the results using your link and this convert link hexadecimal to decimal:Hexadecimal ConversionFor WPIWcase 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 Edited September 15, 2012 by myselfidem Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now