/build/static/layout/Breadcrumb_cap_w.png

How to find the activation key for Microsoft Office

Manually I get the last 4 activation numbers from the Windows command prompt, but I'd like to get it from a certain host using Kace.

Automatically, how to make script this command into Kace and generate a file for viewing the activation number?

Office 2010 cscript “C:\Arquivos de ProgramasMicrosoft Office\Office14\OSPP.VBS” /dstatus
Office 2013 cscript “C:\Arquivos de Programas\Microsoft Office\Office15\OSPP.VBS” /dstatus
Office 2016 cscript “C:\Arquivos de Programas\Microsoft Office\Office16\OSPP.VBS” /dstatus

0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: Channeler 5 years ago
Red Belt
3

Top Answer

Hello.

Well first modify this Script to your needs, I'm using Office 2013 and saving the output to a text file named "OfficeLicense" inside C:\Windows\Temp\.
                                                                                                                                                                                                                                     
@echo off
cscript "C:\Program Files (x86)\Microsoft Office\Office15\OSPP.VBS" /dstatus >> C:\WINDOWS\Temp\OfficeLicense.txt

Confirm this works locally, now go to your KACE SMA and create a new script, set it to lauch the bat file and then add another task on the script to upload the TXT file, that way you will have it on your KACE's inventory.

Comments:
  • Thank you. Create the script following your instructions and it is works perfectly. - Renato.Noc 5 years ago

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