/build/static/layout/Breadcrumb_cap_w.png

Tracking OEM, Retail, and Volume licensing for Windows and Office

Many people go from OEM licensing to Volume licensing and knowing which machines are on each version (Channel) can be valuable.

 

Using the below Custom Inventory Rules, you can track if a OS is OEM, Retail, or Volume and get the last 5 of the product key in case you want to match them with keys you may have purchased.

 

This was written for 5.5 and hasnt been tested for previous versions. As well I havent tested it with windows XP (DIE ALREADY!)

Windows - ShellCommandTextReturn(cmd.exe /c cscript \"C:\windows\system32\slmgr.vbs\" /dli)

Office 2010 - ShellCommandTextReturn(cmd.exe /c cscript \"C:\Program Files\Microsoft Office\Office14\ospp.vbs\" /dstatus)**

Office 2013 - ShellCommandTextReturn(cmd.exe /c cscript \"C:\Program Files (x86)\Microsoft Office\Office15\ospp.vbs\" /dstatus)**

Once you get the info back, use Smart Labels or Reporting to sort through the machines that are Volume/Retail/OEM

 

 

** For office you will need to create individual X86/X64 rules pointing to "Program Files" and "program files (X86)"


Comments

  • You can combine the Office queries for x86/x64 in 1 like so, (example Office 2010):

    ShellCommandTextReturn(cmd.exe /c cscript \"C:\Program Files\Microsoft Office\Office14\ospp.vbs\" /dstatus) OR ShellCommandTextReturn(cmd.exe /c cscript \"C:\Program Files (x86)\Microsoft Office\Office14\ospp.vbs\" /dstatus) - flip1001 10 years ago
This post is locked

Don't be a Stranger!

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

Sign up! or login

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