How to Fix Windows Activation Error: 0xC004D302

Error code 0xC004D302 error appears on a computer running Microsoft Windows non-core edition. It triggers when the trusted data memory is reactivated; license files are a corrupt, issue in the Machinekeys folder, or a user tries to execute different commands after executing slmgr. Vbs /rearm without restarting the Computer.

Error code 0xC004D302
Error code 0xC004D302

Here are some possible reasons why error code 0xC004D302 appears during windows activation;

  • Corrupt License files (Token.dat): Token dat file in Windows OS stores the windows activation files. These Toke.dat files have assigned digital signatures, which they cannot replace on any other system or activate windows anywhere else.
    But once these files corrupt, they can cause activation issues, and an error appears. In this case, you can clean your windows registry or perform a system restore.
  • Issues in RSA Machine Keys: This folder saves the IIS certificate keys. When any problem appears in activation, this folder can fill with several or even thousands of files when an activation error occurs. In this case, scan the system and check if the error appears. You can also scan the Drive to check if there is any error.
  • You are using different Commands for Activation: When you execute Slmgr. vbs/rearm and try to run some other command for activation, such as /dlv or /dli, before restarting your PC; the error will appear. It is essential to restart the PC and then try to execute another command. Your Microsoft applications will stop launching, and the PC’s performance will effect as well.

After analyzing all the possible causes of this issue, here are some methods you can follow to fix this error,

1. Run SFC Scan

The error will appear if your system files that support the windows activation are corrupt or missing. In this case, you can run an SFC scan to identify the possible issue in the windows system files and repair it. So, follow the below steps to proceed;

  1. Click on the Start Menu and search for CMD.
  2. Press the Run as an Administrator option. Then type the following command on the command line and press Enter key; 
    SFC/Scannow.
  3. This process will take some time to scan the system files. Once the scanning is complete, restart your system and check whether the error appears.
    Run SFC Scanning Command
    Run SFC Scanning Command

2. Edit Windows Registry

The windows registry controls the low-level settings of Microsoft windows OS. When there is an issue with the activation keys, you can edit the Windows registry and check whether the error fixes or not. Here are some steps to edit the windows registry;

Note: Editing the windows registry is risky if you do not know about it. It can affect your computer OS and stops launching several programs. So, if you want to make changes to it, consult an experienced person.

  1. Go to the start menu and type Registry.
  2. Now open the Registry Editor application. Navigate to the following location;
    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform
  3. Go to the right panel and right-click on SkipRearm. Select the Modify option. A dialogue box “Edit DWORD 32-bit folder” will appear.
    Edit Windows Registry
    Edit Windows Registry
  4. Here set the Value Data to 1 and click the Ok option. Then restart your Computer.
    Set the Data Value
    Set the Data Value
  5. Now go to the start menu, and search for Command Prompt.
  6. Right-click Command Prompt and select the “run as an Administration” option.
  7. Now type the following command and press enter from the keyboard;
    slmgr –rearm
  8. Hopefully, the error will fix, but if not, switch to the following method.
    Run slmgr rearm command
    Run slmgr rearm Command

3. Perform Diagnostic Tests of Drive with Error Checking Tool

If the error still appears, you can perform a diagnostic test of Drive by using the error-checking Tool. It will scan the corrupt system files, identify the hard disk’s faulty sectors, and fix the errors. So, follow the below steps;

  1. Open File Explorer and click on My PC.
  2. Right-click on your c: / drive and select the properties.
    Check the Properties of Hard Drive
    Check the Properties of Hard Drive
  3. Then select Tool from its menu bar, and press the Check option to scan the Drive to detect the system file errors.
  4. Click the Scan Drive. This Scanning process will take a few minutes to complete.
    Scan Hard Drive
    Scan Hard Drive
  5. Now recover the defective part by clicking on Check Defective Sectors option just below the Check Disk Option. Once it is complete, check if the error appears or not.

4. Restore Your Windows

If you still face an issue, you can restore a window system. In this case, you will select the date and time when this error did not appear. But remember that you can lose data you have stored after the selected restoring date and time. So, follow the below steps and fix the issue;

  1. Press the Window key + R and open the Run Dialogue Box.
  2. Type rstrui and hit the enter key.
  3. Select “choose a different restore” and then press the Next option.
    Run Windows Restore
    Run Windows Restore
  4. Now select the option to your required time and date when the error didn’t appear.
  5. Then press the Next option and then click on Finish. Before applying this step, please remember that you will lose the data you saved after the date you selected for windows restore. Once the restore is complete, check if the error appears or not.
    Windows Restore
    Windows Restore
ABOUT THE AUTHOR

Saleha Rashid


I’m Saleha Rashid, an Environmental Engineer by profession. I have graduated from the University of Engineering and Technology, (U.E.T Lahore) I have had a passion for Technology since early childhood. I enjoy writing about technology and fixing issues related to Android and Windows. I am a Hardware geek with a passion for android gaming. I love to write articles to help people solve their problems regarding software and hardware.