sodcalculator

10 Tech How-To

Fix Activation Error 0x87e107f9

Guide 10-50400 · Updated · Step by step

Activation error 0x87e107f9 appears on Windows when the operating system cannot validate its license, usually due to a mismatched product key, corrupted licensing files, or a blocked activation server. The fix is to run the Activation Troubleshooter, then reset the software protection service and re-enter your product key; if that fails, use the phone activation option. Below is a step-by-step guide covering the most common causes and solutions, plus answers to frequently asked questions.

What This Error Means

Error 0x87e107f9 is a Windows activation error, not a hardware failure. It indicates that the Software Protection Platform could not complete the activation handshake with Microsoft’s licensing servers. The error code itself is generic—it does not tell you why activation failed, only that it did. Common triggers include:

  • A product key that was previously used on another device (or too many devices).
  • System clock set far in the future or past, breaking the digital signature validation.
  • Corrupted licensing files after a failed update or a third-party “cleaner” tool.
  • Firewall or proxy settings blocking the activation endpoint activation.sls.microsoft.com.
  • Attempting to activate a volume license key on a device that lacks the proper KMS (Key Management Service) configuration.

Before You Start: Check the Basics

Run these quick checks first—they resolve a surprising number of activation errors:

  1. Open Settings > System > Activation and confirm the edition shown (Home, Pro, etc.) matches the product key you own. Installing a Pro key on Home will fail with this error.
  2. Set the date and time to automatic: Settings > Time & Language > Date & Time.
  3. Disable any VPN or proxy temporarily—activation traffic must reach Microsoft’s servers directly.
  4. Run Windows Update to install any pending servicing stack updates, then retry activation.

Fix 1: Run the Activation Troubleshooter

Windows includes a built-in tool that automatically detects and repairs common activation problems.

  1. Go to Settings > System > Activation.
  2. Click Troubleshoot (if you don’t see it, click Activation first).
  3. Select I changed hardware on this device recently if that option appears—this lets you re-link your Microsoft account to the new hardware.
  4. Follow the on-screen steps. The tool will often re-arm the license or refresh the activation status.

If the troubleshooter finds nothing, move to the next fix.

Fix 2: Reset the Software Protection Service

The Software Protection service (sppsvc) manages the license store. Resetting it clears corrupted tokens and forces a fresh activation attempt. You’ll need an administrator command prompt.

  1. Right-click the Start button and choose Terminal (Admin) or Command Prompt (Admin).
  2. Run these commands one at a time, pressing Enter after each:
net stop sppsvc
net start sppsvc
slmgr /rilc
slmgr /ipk <your-product-key>
slmgr /ato

Replace <your-product-key> with your actual 25-character key (dashes included). The /rilc command reinstalls the license files, and /ato attempts online activation. If you see “Product activated successfully,” you’re done.

Fix 3: Use Phone Activation

When online activation keeps failing (often due to server-side issues or a blocked port), Microsoft provides a phone-based fallback.

  1. Open an elevated command prompt and run: slui 4
  2. A dialog will appear asking you to select your country. Choose it and click Next.
  3. Call the toll-free number shown. An automated system will ask for the installation ID displayed on screen.
  4. Type the confirmation ID you receive into the provided fields, then click Activate.

This method works even if your internet connection is blocked from Microsoft’s activation servers, as long as you can make a phone call.

Fix 4: Repair or Reinstall the License Store

If the above steps fail, the license store itself may be corrupted. Windows keeps a backup in C:\Windows\System32\spp\store\2.0 (or store on older versions). Replacing the current store with the backup is a known fix.

  1. Boot into Safe Mode (hold Shift while clicking Restart, then choose Troubleshoot > Advanced Options > Startup Settings > Restart, then press 4).
  2. Open an elevated command prompt.
  3. Run: net stop sppsvc
  4. Rename the current store: ren C:\Windows\System32\spp\store\2.0 store.old
  5. Copy the backup: copy C:\Windows\System32\spp\store\2.0\store.bak C:\Windows\System32\spp\store\2.0\store
  6. Restart normally and try activating again.

If there is no store.bak folder, skip this fix—it won’t work without a backup.

Common Misconceptions

“This error means my copy of Windows is pirated.” Not necessarily. The error also appears on legitimate installations after a motherboard change, a botched update, or when using a volume license key incorrectly. “I can just delete the license files to reset it.” That will force a re-activation, but if the key itself is invalid or tied to another device, you’ll still get the same error. “The error is caused by a virus.” While malware can tamper with activation, the vast majority of 0x87e107f9 cases are due to licensing mismatches, not infections.

Frequently Asked Questions

Will I lose my files if I reset the Software Protection service?

No. The commands listed above only affect licensing data, not your personal files, documents, or installed applications. Your data remains untouched.

Can I use this fix if I have a digital license linked to my Microsoft account?

Yes. For digital licenses, the Activation Troubleshooter is the recommended first step—it will re-link the license to your hardware after a significant change like a motherboard replacement. The slmgr commands also work, but you’ll need to sign in with your Microsoft account during activation.

Why does the error appear after I changed my motherboard?

Windows activation is tied to your hardware ID. A motherboard change looks like a new computer, so the license becomes invalid. The Activation Troubleshooter’s “I changed hardware” option is designed exactly for this scenario.

What if I don’t have a product key at all?

If Windows came preinstalled, the key is embedded in the UEFI firmware. You can extract it with the command wmic path softwarelicensingservice get OA3xOriginalProductKey in an elevated prompt. Use that key with the slmgr /ipk command.

Is there a way to activate without internet or phone?

No. Windows activation requires either an internet connection or a phone call. There is no offline method unless your organization uses a KMS server on a local network, which is not applicable to consumer editions.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →