/build/static/layout/Breadcrumb_cap_w.png

How to trace Windows licenses in different types ? (OEM, Open License, Full Pack & Etc.)

As the question above, how to do the sorting and filter out the windows products such as operating system, microsoft products and so on follow their products licenses types ?

 

Example like, 

Windows 7 Professional 64-Bits     - OEM

Windows 7 Professional 64-Bits     - Open License

Windows 7 Professional 64-Bits     - Full Pack                      and so on.

 

Please help and it is urgent for me...

Thanks. 


0 Comments   [ + ] Show comments

Answers (4)

Posted by: jknox 12 years ago
Red Belt
4

I found some things that might help:

1. Something like this run from a command prompt would give you the Windows version:

cscript slmgr.vbs /dli >c:\version.txt

You could use this article to get it into the KBOX: http://intl.kace.com/support/resources/kb/article/Writing-Command-Line-Output

slmgr will work for Office too if you are using KMS for licensing.

2. Something like this might work too if it was installed on each machine. I think it's primarily for keys, but those should be separate as well for each type so it might help: http://www.nirsoft.net/utils/product_cd_key_viewer.html

ProduKey.exe /windowskeys 1 /officekeys 1 /iekeys 0 /sqlkeys 0 /exchangekeys 0 /extractedition 1 /scomma keys.csv
cscript.exe keys.vbs


3. It looks like you could also create a custom inventory rule that looks for this in Windows:

HKEY_LOCAL_MACHINE\System\Setup\PID


007 : retail
011 : upgrade
OEM : OEM
270 : Volume License
335 : Retail
640 : Volume License
648 : Academic

4. Product ID might work as well: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

A list I found here shows the following: http://forums.mydigitallife.info/threads/18255-Windows-7-Channel-ID-portion-of-Product-ID

OEM - OEM SLP or OEM System Builder (MGAdiag will distinguish in the License Type field)
        007 - VLK MAK
        033 - Retail Windows 7 Home Premium
        049 - VLK MAK
        050 - Technet Plus Enterprise MAK
        065 - Technet/MSDN/Bizspark Windows 7 Ultimate
        066 - Technet/MSDN/Bizspark Windows 7 Ultimate
        067 - Technet/MSDN/Bizspark Windows 7 Ultimate
        074 - Retail Windows 7 Ultimate
        112 - Retail Windows 7 Home Premium (conflicting info says MSDN)
        177 - Retail Windows 7 Professional
        220 - Technet/MSDN/Bizspark Windows 7 Professional
        230 - Technet/MSDN/Bizspark Windows 7 Home Premium
        231 - Technet/MSDN/Bizspark Windows 7 Home Premium
        292 - Retail Windows 7 Ultimate?
        293 - Retail Windows 7 Ultimate? (maybe Academic)
        339 - Retail Windows 7 Home Basic
        838 - Technet/MSDN/Bizspark Windows 7 Professional
        896 - Retail Windows 7 Home Basic N
        929 - Retail Windows 7 Home Basic E
        956 - Retail Windows 7 Ultimate (Genuine Advantage store?)

5. There is also a VBscript that might help here: http://www.msfn.org/board/topic/61080-how-to-detect-license-type-of-windows/


Comments:
  • If you find something that works, post it here. - jknox 12 years ago
Posted by: jverbosk 12 years ago
Red Belt
3

I use ProduKey and it works well - just be aware that Win7's defender may identify it as a keyfinder (can just ignore or allow).

For Windows, OEM versions will post the full serial and volume license, etc versions tend to list all "B"s (BBBB-BBBB-BBBB... ).

Here's a variation of my setup that should work if you want to give it a shot.

___________________________________________________

Online KScript

Run As User Logged in to console

Dependencies - browse to ProduKey.exe and upload
___________________________________________________

Verify - always fail

Remediation - launch app with parameters

Directory    $(KACE_DEPENDENCY_DIR)
File        ProduKey.exe
    X    Wait for startup
Parameters    /OfficeKeys 0 /IEKeys 0 /SQLKeys 0 /ExchangeKeys 0 /stext c:\%YourOutputFolderHere%\produkey.txt

On Remediation Success - Successfully ran ProduKey export.

On Remediation Failure - Failed to run ProduKey export.
___________________________________________________

Inventory - Software

* ProduKey Key Retrieval

ShellCommandTextReturn(cmd /c type c:\KBOX\produkey.txt)

___________________________________________________

Hope that helps!

John

Posted by: ronco 10 years ago
Third Degree Brown Belt
0

Y'all,

So, I found this post when researching the issue, and came up with a rather simpler solution than I saw in the answers...at least one that simplified it for me:

  1. Create a Custom Inventory Field (CIF) to return the Registry entry listed above: RegistryValueReturn(HKEY_LOCAL_MACHINE\SYSTEM\Setup\Pid, Pid, NUMBER)
  2. Consult the PID number --> License Type list from above:
    1. 007 : retail
      011 : upgrade
      OEM : OEM
      270 : Volume License
      335 : Retail
      640 : Volume License
      648 : Academic
  3. Create Smart Labels to group machines by the CIF value:  

Voila!  You now know which machines are using Volume vs. OEM vs. Retail, etc. Windows licenses.

Notes:  Tested and verified to work with Windows 7, Windows 8.1, and Windows 2012 Server.

Ron Colson

KACE Koach

Posted by: wongyt 12 years ago
Senior White Belt
0

Addition information, currently my company Dell Kace version is K1000.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ