Error Code: 0xc004f017 Office Activation
For Office 365 / Microsoft 365 Apps (C2R version) showing 0xc004f017:
Once you have fixed error code 0xc004f017, follow these best practices to ensure it never returns: error code 0xc004f017 office activation
If you received error 0xc004f017 after leaving a corporate network (where Office was activated via a KMS server), your PC is still trying to phone home to that server. The fix is to convert the install from KMS to a retail license. For Office 365 / Microsoft 365 Apps (C2R
Run the following in an elevated Command Prompt (as in Method 2, navigating to the Office16 folder first): Once you have fixed error code 0xc004f017 ,
cscript ospp.vbs /dstatus
Note the Last 5 characters of the KMS key. Then remove it:
cscript ospp.vbs /unpkey: [Last 5 chars]
Then convert the edition:
cscript ospp.vbs /rearm
Restart your PC. Now install your retail key as shown in Method 2. The 0xc004f017 error should disappear because the KMS binding is gone.
