In this tutorial we will show you how to change your Office 2013 product key using command prompt, this is the only sure to work solution to 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 to 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
If you have 64-bit Operating system and 32-bit Office (most common) use this command:
cd C:\Program Files (x86)\Microsoft Office\Office15
If you have 64-bit Operating system and 64-bit Office Or 32-bit Operating system and 32-bit Office
cd C:\Program Files\Microsoft Office\Office15
“cd” is a “change directory” command, and yes, Office 2013 is labeled as “Office15”. 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