sodcalculator

10 Tech How-To

Fix Windows 10 Activation Error 0x8007007b

Guide 10-44163 · Updated · Step by step

If you see “Windows 10 couldn’t be activated” with error code 0x8007007b, the fix is to correct the product key or licensing state in the registry, then force Windows to re-check activation. This error usually means Windows is reading a mismatched or corrupted product key from the registry, often after a hardware change or a failed update. Below is a step-by-step guide to resolve it, plus background on why it happens and how to avoid it in the future.

What Does Error 0x8007007b Mean?

Error 0x8007007b is a Windows activation error that translates to “ERROR_INVALID_NAME” — the file name, directory name, or volume label syntax is incorrect. In the context of activation, it means Windows is trying to read a product key or licensing file that doesn’t match the expected format or location. The most common trigger is a corrupted or mismatched entry in the registry under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion, specifically the ProductId or DigitalProductId values.

This error can appear after a motherboard replacement, a Windows update that partially failed, or when a third-party tool (like a key changer) left behind invalid data. It can also happen if you’re using a volume license key on a retail installation, or vice versa.

Before You Start: Check Your Activation Status

First, confirm that the error is real and not a temporary glitch. Go to Settings > Update & Security > Activation. If you see “Windows is activated” but you still get the error in a pop-up, try restarting your PC and checking again. If it still shows the error, proceed with the fixes below.

Also, make sure you have a valid product key or digital license. If you upgraded from Windows 7 or 8.1 for free, your license is tied to your Microsoft account. If you bought a new PC, the key is embedded in the firmware (OA3). If you bought a retail key, you should have the 25-character code.

Fix 1: Run the Activation Troubleshooter

Windows 10 includes a built-in troubleshooter that can fix common activation issues, including error 0x8007007b. Here’s how to run it:

  1. Go to Settings > Update & Security > Activation.
  2. Click Troubleshoot (if available). If you don’t see it, click Activation and then Run the troubleshooter.
  3. Follow the on-screen prompts. It may ask you to sign in with your Microsoft account.
  4. If it finds a problem, it will try to fix it automatically.

If the troubleshooter doesn’t resolve the error, move on to the manual registry fix.

Fix 2: Edit the Registry to Correct the Product Key

The most direct fix for 0x8007007b is to clear the corrupted product key from the registry and re-enter it. Warning: Editing the registry incorrectly can cause serious system problems. Back up your registry before making changes.

  1. Press Win + R, type regedit, and press Enter.
  2. Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
  3. In the right pane, look for ProductId and DigitalProductId. Right-click each and select Delete. (Don’t worry, Windows will recreate them.)
  4. Close the Registry Editor.
  5. Open an elevated Command Prompt (right-click Start, choose Command Prompt (Admin) or Windows PowerShell (Admin)).
  6. Type the following command and press Enter: slmgr /ipk YOUR-PRODUCT-KEY (replace YOUR-PRODUCT-KEY with your actual 25-character key).
  7. Then type slmgr /ato and press Enter to force activation.

If you don’t have a product key (e.g., you’re using a digital license), you can skip step 6 and just run slmgr /ato after deleting the registry values. Windows will try to reactivate using your digital license.

Fix 3: Use the Command Line to Reset Activation

If the registry edit doesn’t work, you can use the Software Licensing Management Tool (slmgr) to reset the licensing state. Open an elevated Command Prompt and run these commands in order:

  1. slmgr /upk — Uninstalls the current product key.
  2. slmgr /cpky — Clears the product key from the registry.
  3. slmgr /rilc — Re-installs the license files.
  4. slmgr /rearm — Resets the activation timer (you can use this up to three times).
  5. Restart your PC.
  6. After restart, go to Settings > Update & Security > Activation and click Change product key to enter your key, or if you have a digital license, just wait a few minutes and check again.

Note: slmgr /rearm gives you a 30-day grace period, which can be helpful if you need time to find your key.

Fix 4: Check for Windows Updates

Sometimes the error is caused by a pending update that hasn’t installed correctly. Make sure your system is fully updated:

  1. Go to Settings > Update & Security > Windows Update.
  2. Click Check for updates.
  3. Install any pending updates, then restart your PC.
  4. Try activating again.

If updates fail to install, you may need to run the Windows Update Troubleshooter (Settings > Update & Security > Troubleshoot > Windows Update).

Common Mistakes and Misconceptions

Mistake 1: Using a key from a different edition. A Windows 10 Home key won’t activate Windows 10 Pro. Make sure your key matches your edition.

Mistake 2: Confusing 0x8007007b with other activation errors. This error is specific to invalid licensing data. If you see 0xC004F074 or 0xC004E016, those are different (KMS or key blocked) and require different fixes.

Misconception: You need to reinstall Windows. In most cases, you don’t. The fixes above resolve the issue without a clean install.

Misconception: The error means your key is fake. Not necessarily. It often just means the key is stored incorrectly in the registry.

When to Contact Microsoft Support

If you’ve tried all the fixes above and still get the error, it’s time to contact Microsoft Support. This is especially true if you have a legitimate key but it’s not activating. You can reach them via the Get Help app or the Microsoft website. Have your product key and proof of purchase ready.

Also, if you recently changed your motherboard, you may need to use the Activation Troubleshooter with your Microsoft account to transfer your digital license. If that fails, support can manually reactivate your license.

Frequently Asked Questions

Why did I get error 0x8007007b after a Windows update?

A Windows update can sometimes overwrite or corrupt the licensing data in the registry. This is rare but can happen if the update was interrupted or if a third-party antivirus interfered. Running the Activation Troubleshooter or the registry fix usually resolves it.

Can I fix this error without a product key?

Yes, if you have a digital license (from a free upgrade or a new PC with Windows preinstalled), you can delete the registry values and run slmgr /ato to reactivate using your digital entitlement. You don’t need to enter a 25-character key.

Will this error go away on its own?

No, it won’t. Windows will keep showing the activation error until you fix the licensing data. However, if you have a grace period, you can continue using Windows normally for a while, but you should fix it before the grace period expires.

Is it safe to delete registry keys?

Deleting the specific keys mentioned (ProductId and DigitalProductId) is safe because Windows will recreate them. However, you should always back up the registry before making any changes, and never delete other keys unless you’re sure.

What if I don’t have a legitimate copy of Windows?

This guide assumes you have a genuine license. If you don’t, you’ll need to purchase a legitimate key from Microsoft or an authorized retailer. Using unlicensed software is illegal and risky, and we don’t provide instructions for bypassing activation.

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 →