If you are trying to activate your Windows operating system and encounter the error code 0xC004D302, you might be wondering what causes it and how to fix it. This error usually appears on a computer running Microsoft Windows non-core edition, such as Windows 10 Home or Pro. It means that there is a problem with the activation process, which can be due to various reasons, such as corrupt license files, issues in the Machinekeys folder, or using different commands for activation without restarting the computer.
In this article, we will explain some of the possible causes of this error and provide you with some methods to resolve it. Follow the steps below and see if they work for you.
Method 1: Run SFC Scan
One of the possible reasons for this error is that some of the system files that support the Windows activation are corrupt or missing. To fix this, you can run a System File Checker (SFC) scan, which is a built-in tool that can scan and repair any damaged system files. Here is how to do it:
Click on the Start Menu and search for CMD.
Right-click on Command Prompt and select Run as Administrator.
Type the following command on the command line and press Enter: SFC /Scannow
Wait for the scan to complete. It might take some time depending on your system.
Restart your computer and check if the error is gone.
Method 2: Edit Windows Registry
The Windows registry is a database that stores low-level settings of the Windows operating system. Sometimes, there might be an issue with the activation keys in the registry, which can cause this error. To fix this, you can edit the Windows registry and delete some entries related to activation. However, be careful when doing this, as editing the registry incorrectly can cause serious problems to your system. Make sure you back up your registry before making any changes. Here is how to edit the Windows registry:
Go to the Start Menu and type Registry.
Open the Registry Editor application.
Navigate to the following location: Computer\\HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\SoftwareProtectionPlatform
Right-click on the entry named SkipRearm and select Delete.
Close the Registry Editor and restart your computer.
Try to activate your Windows again and see if the error is fixed.
Method 3: Rebuild the Activation Token File
The activation token file is a file that stores the Windows activation information. If this file is corrupt or missing, you might encounter this error. To fix this, you can rebuild the activation token file by following these steps:
Open File Explorer and go to this location: C:\\Windows\\ServiceProfiles\\NetworkService\\AppData\\Roaming\\Microsoft\\SoftwareProtectionPlatform
Rename the file named tokens.dat to tokens.old.
Open Command Prompt as Administrator.
Type these commands one by one and press Enter after each one:net stop sppsvccd %windir%\\system32ren tokens.dat tokens.barnet start sppsvccscript slmgr.vbs -rilc
Restart your computer and try to activate your Windows again. aa16f39245