0xc004f015 Activation Error: How to Quickly Fix it

Discover expert fixes to activate your copy of Windows!

by Kazim Ali Alvi
Kazim Ali Alvi
Kazim Ali Alvi
Author
Kazim has always been fond of technology, be it scrolling through the settings on his iPhone, Android device, or Windows. And at times, unscrewing the device to take... read more
Reviewed by Alex Serban
Alex Serban
Alex Serban
Windows Server & Networking Expert
After moving away from the corporate work-style, Alex has found rewards in a lifestyle of constant analysis, team coordination and pestering his colleagues. Holding an MCSA Windows Server... read more
Affiliate Disclosure
  • The 0xc004f015 activation error generally appears on Windows Server 2012 R2.
  • Running the dedicated troubleshooter helps users in most cases.
  • Do not forget to check for corrupt system files or repair any disk issues.
fix 0xc004f015 activation error
XINSTALL BY CLICKING THE DOWNLOAD FILE
Easily get rid of Windows errors Fortect is a system repair tool that can scan your complete system for damaged or missing OS files and replace them with working versions from its repository automatically. Boost your PC performance in three easy steps:
  1. Download and Install Fortect on your PC.
  2. Launch the tool and Start scanning
  3. Right-click on Repair, and fix it within a few minutes
  • 0 readers have already downloaded Fortect so far this month

Activating the OS is vital for a complete experience and not to miss out on features. But activation errors come in the way! Usually easy to troubleshoot, these sometimes can prove challenging, especially the 0xc004f015 activation error in Windows.

Activation errors are relatively uncommon and appear only when there’s a major problem with the OS or an issue at the user end. So, let’s learn about the error, the underlying causes, and what worked for other users!

What is 0xc004f050 in Windows 10 activation?

The error, when encountered on Windows Server 2012 R2, basically indicates that a Windows 10 KMS host product key was used for the activation. You can also check the error logs and find it listed as Event ID 12290.

For other editions of the OS, here are the primary reasons the 0xc004f015 activation error appears:

  • Using incorrect product key: When entering an incorrect or invalid product key, you will get an activation error.
  • Corrupt system files: If the system files are corrupt, it would lead to issues activating Windows amongst a host of other problems and trigger an error.
  • Issues with the disk: Sometimes, problems with the disk or a bad sector can trigger the 0xc004f015 activation error in Windows 7.
  • Changes to the hardware: Many users reported the problem after making upgrades to the hardware, which is a likely reason, and the built-in troubleshooter should help.

How do I fix error code 0xc004f015?

Before we start with the slightly complex solutions, try these quick ones first:

  • Make sure the product key entered is valid and correct. Often re-entering the key a few more times helps.
  • Verify that the PC is connected to a stable network and that the Internet speed is fast.
  • Try again in some time, probably a few hours or even a day, in case the activation servers are facing issues.

If none work, move to the fixes listed next.

1. Run the activation troubleshooter

  1. Press Windows + I to open Settings, and click on Activation on the right in the System tab.activation settings
  2. Now, run the Activation Troubleshooter from this screen. The option is only available when running an unactivated copy of Windows.

When faced with an error in Windows, your primary approach should be to run the dedicated troubleshooter. It identifies any known issues and automatically fixes things. If that latter is not possible, it will at least list the underlying cause.

2. Repair the corrupt system files

  1. Press Windows + R to open Run, type cmd, and hit Ctrl + Shift + Enter.cmd
  2. Click Yes in the UAC prompt.
  3. Paste the following commands individually and hit Enter after each to run DISM:DISM /Online /Cleanup-Image /CheckHealth DISM /Online /Cleanup-Image /ScanHealth DISM /Online /Cleanup-Image /RestoreHealth
  4. Now, execute the following command for the SFC scan: sfc /scannowsfc scan to fix 0xc004f015
  5. Once done, restart the computer for the changes to come into effect.

Expert tip:

SPONSORED

Some PC issues are hard to tackle, especially when it comes to missing or corrupted system files and repositories of your Windows.
Be sure to use a dedicated tool, such as Fortect, which will scan and replace your broken files with their fresh versions from its repository.

When repairing corrupt system files to fix 0xc004f015, running the DISM tool and SFC scan often help by replacing any corrupt files with the cached copy stored on the PC. Besides, it will look for issues with the Windows image and rectify that.

3. Run the Check Disk tool

  1. Press Windows + S to open Search, type Command Prompt in the text field, and click on Run as administrator.
  2. Click Yes in the prompt.
  3. Paste the following command and hit Enter to run Check Disk:chkdsk /rcheck disk to fix 0xc004f015
  4. If asked to schedule a scan, press Y and then hit Enter.schedule scan
  5. Now, restart the computer and wait for Check Disk to run.

Check Disk is a built-in utility that identifies issues with the drive, including bad sectors, and tries to fix them. Besides, even if it doesn’t help with the error, the PC should perform better after running the utility.

4. Repair the tokens.dat file

  1. Run Command Prompt with administrative privileges.
  2. Paste the following commands one at a time, and hit Enter after each:net stop sppsvc cd %windir%\ServiceProfiles\LocalService\AppData\Local\Microsoft\WSLicense ren tokens.dat tokens.bar net start sppsvc cscript.exe %windir%\system32\slmgr.vbs /rilccommands
  3. Finally, restart the computer for the changes to apply.

The tokens.dat file stores critical data pertaining to Windows activation, and issues with it, particularly file corruption, can lead to the 0xc004f015 activation error. The commands listed earlier will repair the tokens.dat file.

For those interested, the tokens.dat file is listed in the following directory:C:\Windows\System32\SPP\Store\2.0.

5. Perform a repair upgrade

Tip icon Tip
The steps listed below are for Windows 11. To perform a repair upgrade on Windows 10, you must download the Media Creation tool.
  1. Go to Microsoft’s official website, choose the product language and ISO edition, and then download the Windows 11 ISO.windows 11 iso
  2. Go to the Downloads folder, open the ISO file, and run setup.exe.
  3. Click Yes in the prompt that appears.
  4. Click on Next to continue.
  5. Now, click Accept to agree to Microsoft’s license terms.accept
  6. Make sure the setup reads Keep personal files and apps, and click on Install at the bottom to start the repair.repair upgrade to fix 0xc004f015

The in-place upgrade may take a few hours to complete, but once it is, the 0xc004f015 activation error in Windows 11 should be fixed. Besides, the personal files or installed apps remain unaffected after the process.

In case nothing listed here works, we recommend you contact Microsoft support, get in touch with an executive, and manually activate your copy of Windows.

Before you leave, do check some quick tips to make Windows run faster and get superior performance.

For any queries or to share more solutions with us, drop a comment below.

Still experiencing issues?

SPONSORED

If the above suggestions have not solved your problem, your computer may experience more severe Windows troubles. We suggest choosing an all-in-one solution like Fortect to fix problems efficiently. After installation, just click the View&Fix button and then press Start Repair.