This is a simple fix to repair a licensed copy of Microsoft Office 2013 that keeps appearing as an unlicensed copy. This generally occurs with subscription licensing through Office 365.
Make sure all Office programs are closed.
This will ensure the script runs properly.
Open the Command Prompt as Administrator
Click Start and in the search field type “Command” and right click the Command Prompt to Run as Administrator.
Navigate to the Office Installation folder %ProgramFiles%Microsoft OfficeOffice15
Depending on whether the install is 32bit or 64bit will determine its location.
Run “cscript ospp.vbs /act”.
The output should end with “Product Activation Successful”.
The ospp.vbs script has many other switches to check the status of the Office install. Please refer to the reference script for more information.