The 0x87e107f9 Windows activation error appears when Windows cannot verify its license, often after a hardware change, a failed update, or a corrupted licensing file. The fix usually involves running the built-in Activation troubleshooter, re-entering your product key, or using the Command Prompt to reset the licensing status.
What Is the 0x87e107f9 Error?
This error code is part of Windows activation, the process that checks whether your copy of Windows is genuine and properly licensed. When activation fails, you may see a message like “We can’t activate Windows on this device because you don’t have a valid digital license or product key.” The error can occur on Windows 10 and Windows 11, and it typically appears in the Settings > System > Activation page.
The code itself is not specific to one cause. It can be triggered by a recent motherboard or hard drive replacement, a Windows update that changed licensing files, or a corrupted Software Protection service. In many cases, the underlying issue is that Windows no longer recognizes the hardware signature it originally used to validate the license.
Why Does This Error Happen?
Windows activation works by linking your license to a unique hardware ID (HWID) based on your computer’s components, especially the motherboard. If you change a major part, like the motherboard or the hard drive, Windows may think it is running on a different machine and refuse to activate.
Other common triggers include:
- A failed Windows update that left licensing files in an inconsistent state
- Running a non-genuine or volume license key on a consumer edition
- Corrupted system files, particularly in the Software Protection service
- Changing the Windows edition (e.g., from Home to Pro) without a valid key
- Using a product key that has already been used on another device
If you recently replaced your motherboard, the error is almost certainly because the digital license is tied to the old hardware. Microsoft’s activation servers will not automatically transfer the license to the new hardware unless you sign in with your Microsoft account and use the Activation troubleshooter.
How to Fix the 0x87e107f9 Error
Try these fixes in order, from simplest to most involved. You will need administrator access to your computer.
- Run the Activation Troubleshooter. Go to Settings > System > Activation. Click “Troubleshoot” (or “Activation troubleshooter” on older builds). If prompted, sign in with the Microsoft account you used to activate Windows. The tool will scan for issues and may automatically reactivate Windows if it detects a hardware change.
- Re-enter your product key. In the same Activation page, click “Change product key” and type your 25-character key (format: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX). If the key is valid, Windows will attempt to activate immediately.
- Use Command Prompt to reset licensing. Open Command Prompt as administrator (right-click Start > “Command Prompt (Admin)” or “Terminal (Admin)”). Run these commands one at a time, pressing Enter after each:
slmgr /upkslmgr /ipk your-product-keyslmgr /ato
The first removes the current key, the second installs your key, and the third forces activation. If you don’t have a product key, you can skip the middle step and just runslmgr /atoafterslmgr /upk. - Check the Software Protection service. Press Win+R, type
services.msc, and press Enter. Find “Software Protection” in the list. Right-click it and select “Restart.” Ensure its Startup type is “Automatic.” - Run System File Checker. Open Command Prompt as administrator and run
sfc /scannow. This checks for corrupted system files and repairs them. It may take 10–20 minutes. - Contact Microsoft Support. If none of the above works, you may need to call Microsoft’s activation hotline (found in the Activation page under “Get help”) or use the online chat. Explain that you changed hardware or that the error persists after troubleshooting. They can verify your license and activate it manually.
What If You Don’t Have a Product Key?
If you upgraded to Windows 10 or 11 from a free upgrade offer, or if you bought a PC with Windows preinstalled, you likely have a digital license rather than a product key. In that case, you don’t need to enter a key. Just sign in with the Microsoft account you used on that PC and run the Activation troubleshooter. The troubleshooter can detect the digital license tied to your account and reactivate Windows on the new hardware.
If you never linked a Microsoft account, your digital license is tied only to the hardware. After a motherboard change, you may have to contact Microsoft support to prove you own the license.
Common Mistakes and Misconceptions
One common mistake is trying to use a product key from an old computer on a new one. Windows licenses are generally tied to one device, and using the same key on multiple machines will cause activation to fail. Another misconception is that the error means your Windows is pirated. That is not necessarily true; even legitimate copies can hit this error after hardware changes or system corruption.
Another frequent error is running slmgr /ipk with the wrong edition key. For example, a Windows 10 Home key will not work on Windows 10 Pro. Check your edition in Settings > System > About. If you need to change edition, you may have to reinstall Windows or use the “Change product key” option with a correct key.
How to Avoid This Error in the Future
The best prevention is to link your Windows license to a Microsoft account. Go to Settings > Accounts > Your info and sign in with a Microsoft account. Then, if you ever replace hardware, you can use the Activation troubleshooter to transfer the license. Also, keep Windows updated, as Microsoft regularly improves the activation process.
If you are building a new PC, consider buying a retail key rather than an OEM key. Retail keys can be transferred to new hardware (with some limits), while OEM keys are permanently tied to the first motherboard they are installed on.
Frequently Asked Questions
Will this error damage my files or programs?
No. The 0x87e107f9 error only affects the activation status. Your files, apps, and settings remain intact. You can continue using Windows normally, though you may see periodic reminders to activate.
Can I fix this error without a product key?
Yes, if you have a digital license. Sign in with the Microsoft account you used on that PC and run the Activation troubleshooter. If you don’t have a digital license, you will need a valid product key to activate.
How long does the Activation troubleshooter take?
Usually under a minute. It scans your hardware and checks Microsoft’s servers. If it finds a matching digital license, it will reactivate automatically. If not, it will give you an error message with further steps.
What if I changed my motherboard and the troubleshooter doesn’t work?
You may need to contact Microsoft support. They can ask for proof of purchase (receipt or invoice) and manually activate Windows on the new hardware. This is a standard process and does not require any special tools.
Is it safe to use slmgr /upk?
Yes, it is a Microsoft-provided command that removes the current product key from your system. It does not delete your files or change your Windows installation. After running it, you can re-enter your key or activate again.
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
- Spotify Jam Not Working on Mobile? Fixes That Work
- Windows 10 No Internet Secured WiFi Error Fix
- Multi-Cloud GPU Failover Design Guide
- Error Code Currant Destiny? Meaning & Fixes
- AirPlay with Roku Multi-Device Setup: A How-To
- How to Set a Timer on iPhone (iOS 18 & 17)