In this tutorial we will show you how to change your Office 2016 product key using command prompt, this is the only sure to work solution for changing product keys as others usually fail miserably, this tutorial is strongly based on official Microsoft instructions on how to change the product key in newer Office suites, however we find them counter intuitive so hopefully these instructions will be a lot clearer for most users especially those inexperienced in using command prompt. This should be a first step when troubleshooting non-working product keys (when online and phone activation fails) because newer Office suites tend to install test keys alongside yours and that is a reason for most failed activations.
Command prompt in administrator mode
64-bit Operating system and 32-bit Office (most common)
cd C:\Program Files (x86)\Microsoft Office\Office16
64-bit Operating system and 64-bit Office Or 32-bit Operating system 32-bit Office
cd C:\Program Files\Microsoft Office\Office16
“cd” is a “change directory” command. After typing in a command hit Enter to execute it.
cscript ospp.vbs /dstatus
Now you can see all installed product keys, it is normal to see more than one product key installed at the same time and in most cases that is the main culprit for failed activation.
Each key is displayed in a separate block with many information but only thing that we need is the last 5 characters of installed product key, we will need it in the next step.
cscript ospp.vbs /unpkey:XXXXX
If you had more than one key installed repeat this process to delete all of them, after you are done you can run the “dstatus” command again to make sure that there are no keys installed
cscript ospp.vbs /inpkey:XXXXX-XXXXX-XXXXX-XXXXX