Rearm the Office 2013 installation
To rearm your Office installation:
Verify that the user account that is performing this procedure has the following credentials:
The user account that performs this procedure is a member of the Administrators group on the KMS host computer.
Close all Office 2013 applications.
Open a command prompt with administrative permissions.
Go to %installdir%%Program Files%Microsoft OfficeOffice15. If you installed the 32-bit edition of Office 2013 on a 64-bit operating system, %Program Files% is the Program Files (x86) folder.
At the command prompt, type ospprearm.exe. If the rearm succeeds, the following message displays: “Microsoft Office rearm successful.”
Capture the image or save the virtual computer. For more information about how to capture the image, see Configure Office 2013 for a hard disk image.
You can rearm five times, unless you activate Office by using a KMS host. If you run out of rearms, activating by using a KMS host lets you rearm once.
Do not open an Office application or run ospp.vbs, or do anything else related to Office 2013 while the image is being captured. Otherwise, the grace timer starts.