Error Code 0xc004f017 Office Activation [portable] May 2026

Error Code 0xc004f017 Office Activation: The Complete Fix Guide (2026 Update)

  1. Open the Start Menu, type cmd, right-click "Command Prompt," and select Run as administrator.
  2. Navigate to the Office folder by typing the following command (depending on your Office version) and pressing Enter:

    Why this works: The uninstall tool kills the registry binding that triggers 0xc004f017 . A fresh install creates a new binding.

    1. Remove KMS product key (as above).
    2. Clear KMS cache:
      cscript ospp.vbs /remhost
      
    3. Set MAK key.
    4. If 0xc004f017 persists, use the SLMGR equivalent for Office:
      cscript slmgr.vbs /upk
      
      (Note: This uninstalls Windows keys. For Office, use ospp.vbs.)
    • Is your internet stable? A flaky connection can cause partial activation (though this usually gives different error codes).
    • Is your clock correct? Right-click the time in your taskbar → "Adjust date/time." An incorrect date/time breaks SSL certificates used in activation. If it’s wrong, toggle "Set time automatically" on and off.
    • Do you have admin rights? You cannot repair activation without local administrator privileges.
    • What Office version do you have? Open Word → File → Account. Check if it says "Microsoft 365," "Office Home & Student 2019," or "Volume License."

    This happens when Windows thinks you have a different Office edition than what’s actually licensed to you. The fastest fix? Wipe old credentials, clean uninstall, and reinstall from your official Microsoft account. error code 0xc004f017 office activation

    • Download and install the Office Deployment Tool.
    • Use the tool to detect and repair any issues with your Office installation.

    Step B: Remove Old Licenses via Command Prompt (Advanced)

    If uninstalling doesn't work, you may need to clear the old license files manually. Error Code 0xc004f017 Office Activation: The Complete Fix

    1. Visit the Microsoft Support website and click on Contact Support.
    2. Explain your issue to the support agent and provide your product key and Office version details.
    3. Follow the support agent's instructions to resolve the activation issue.