Activating JHU-Provided Copy Of Microsoft Office When Not On A Domain

From WSE's IT folks, May, 2017:

Activating JHU-Provided Office When Not On A Domain

To activate JHU Provided Microsoft Office when not on the domain, there is a script OSPP.vbs located within the install directory of Office which can be used to point directly to the KMS licensing server.

Assuming default install location and Office 2016, run the following from a CMD prompt:

 Cscript.exe C:\Program Files\Microsoft Office\Office16\OSPP.vbs /sethst:jhkms1.win.ad.jhu.edu
...which points Office to KMS Server


Then, run the following from the same CMD prompt as well:

 Cscript.exe C:\Program Files\Microsoft Office\Office16\OSPP.vbs /act 
...which will activate Office.

NOTES

  • The KMS server issues a license for 6 months.
  • The system will need to check-in on the Hopkins network or join the VPN within 180 days to avoid the license expiring.


What If You Start With An OEM Copy Of Microsoft Office?

When an OEM copy of Office was installed prior to the Enterprise copy (such as the case of Surface and other consumer level systems), the Lets get started pane to activate Office will continue to prompt. Two registry keys need to be deleted to remove this behavior.

(You might want to Google on how to safely remove registry keys for your version of Microsoft Windows before proceeding.)

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\16.0\Common\OEM
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Common\OEM