: A pre-installed trial version of Office (often Office 365/Microsoft 365) is still present on the system and conflicting with the volume-licensed version you are trying to activate.
For 32-bit Office: cd C:\Program Files (x86)\Microsoft Office\Office16 Type cscript ospp.vbs /dstatus and hit . Look for the Last 5 characters of installed product key . error code 0xc004f017 office activation
Look for any entries like "Microsoft Office 365 - en-us" or "Office Trial." : A pre-installed trial version of Office (often
Volume-licensed Office editions support two activation methods: error code 0xc004f017 office activation
cscript ospp.vbs /dstatus
Use the (Option 2 on Microsoft’s support site).
Reinstall Windows or Office as a last resort