Microsoft Office 2013 ships with a great utility to manage volume licensing in the form of VBScript. You can use it to manage volume licensing for the local computer or even a remote computer; provided you enter credentials with administrative access to the remote system.
This VBScript is called OSPP.VBS and is located here:
To run this file, open a command prompt in administrator mode and change directory to the above path.
Some common switches I use are below:
- Activating a license
cscript.exe ospp.vbs /act
- Resetting a license
cscript.exe ospp.vbs /rearm
- Status of a license
cscript.exe ospp.vbs /dstatus
- Input a new key
cscript.exe ospp.vbs /inpkey:<KMS/MAK volume key>
- Removing a license (You need to get the last 5 characters of the license to be removed via /dstatus)
cscript.exe ospp.vbs /unpkey:<last 5 of volume license to be removed>
- Manually set KMS host
cscript.exe ospp.vbs /sethst:<FQDN of KMS host>
- Manually set KMS host port
cscript.exe ospp.vbs /setprt:<port - 1688 is default>
- Manually configure DNS domain in which KMS SRV records are found
cscript.exe ospp.vbs /skms-domain:<FQDN>
- Of course if you need help, you can always display the full switch list by running
You can also combine several commands into one continuous command to achieve several actions. For example, to manually configure a KMS host, port and activate, use the following command:
cscript.exe ospp.vbs /sethst:kmshost.domain.com & cscript.exe ospp.vbs /setprt:1688 & cscript.exe ospp.vbs /act
Also, here is a link to the KMS client setup keys for VL Office activations. I hope this aids you with replacing and deleting volume licensing without having to reinstall the entire Microsoft Office Suite.