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:
Please log in to answer
Posted by:
Channeler
6 years ago
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\.
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.
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 6 years ago