🛠️ FIX:
: Often, old trial versions or expired license keys interfere with new ones. Command Prompt as Administrator. Navigate to your Office folder (usually cd "C:\Program Files\Microsoft Office\Office16" cscript ospp.vbs /dstatus to see installed keys. If you see an old or incorrect key, use cscript ospp.vbs /unpkey:XXXXX (replace XXXXX with the last 5 characters of the key). Check Version Compatibility : Ensure you are not trying to activate a (Click-to-Run) version using a Volume License (KMS) key, as these are incompatible without conversion. Run a Repair
Purchased from the Microsoft Store or a physical box.
Look for the line showing the .
Download the .
Query the active licenses by typing: cscript ospp.vbs /dstatus
If you're stuck on this error, here are several ways to resolve it:
Look at the output lines labeled . 4. Remove the Conflicting Key
Look for any extra versions of "Microsoft Office" or "Microsoft 365." the version you did not purchase. Restart your computer and try activating again. 2. Run the "ospp.vbs" Command error code 0xc004f017 office activation
Trying to activate a pre-installed OEM or trial version of Office with a Volume License (KMS/MAK) key.
For many users, this error feels like a dead-end. But the truth is, is a specific licensing handshake failure with a proven set of fixes. Unlike generic "product key invalid" errors, this code points to a mismatch between your license version and your installed Office suite, or a corrupted activation token store.
Type: cd "C:\Program Files\Microsoft Office\root\Office16" (Adjust the path based on step 1).
1️⃣ Download and run the Microsoft Support and Recovery Assistant (SaRA) to automatically detect and fix license issues. 🛠️ FIX: : Often, old trial versions or
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later. Activation Questions | Office Tool Plus
Was there a on this computer before?
For enterprise environments where this error recurs:
Encountering error code 0xc004f017 during Microsoft Office activation means the activation server rejected your product key. This typically happens because of a mismatch between your installed Office version and the license type you are trying to use. It frequently occurs when trying to activate a volume license edition of Office with a retail key, or vice-versa. If you see an old or incorrect key, use cscript ospp