This is the standard method for inputting a product key directly through the command line. It mimics the process of the GUI but uses the ospp.vbs script (Office Software Protection Platform).
cscript "C:\Program Files\Microsoft Office\Office16\ospp.vbs" /dstatus activate microsoft office 2016 by cmd
: You must run CMD as an administrator.
cd /d %ProgramFiles%\Microsoft Office\Office16 This is the standard method for inputting a
The executable files for Office 2016 are typically stored in a specific system folder. You must direct CMD to this folder to run the licensing commands. activate microsoft office 2016 by cmd