Ошибка 0xC004F012 может возникать всякий раз при активации Windows 10. Ошибка, как правило, появляется из-за поврежденного или и вовсе отсутствующего хранилища лицензии в системе.
Порой ошибка возникает при первой активации системы, порой — во время установки крупного обновления Windows, из-за которого сбивается статус активации.
В сегодняшней статье мы продемонстрируем вам, как можно избавиться от ошибки 0xC004F012 и активировать свою Windows 10.
Избавляемся от ошибки 0xC004F012 в Windows 10
Решением в данном случае является пересоздание файла tokens.dat. Сейчас мы этим и займемся.
Пересоздание файла tokens.dat
- Пройдите в директорию C:\Windows\System32\SPP\Store\2.0;
- переименуйте файл tokens.dat в tokens.old;
- нажмите правой кнопкой мыши на Пуск и выберите «Командная строка (администратор)»;
- пропишите следующие две команды:
- net start sppsvc;
- cscript.exe slmgr.vbs /rilc;
- перезагрузите компьютер.
Если это не помогло вам избавиться от ошибки 0xC004F012, то мы также рекомендуем попробовать сменить ключ продукта.
Смена ключа продукта Windows 10
- закройте все программы, работающие на вашем компьютере;
- откройте командную строку, как было показано ранее;
- пропишите команду slmgr.vbs.ipk <КЛЮЧ ПРОДУКТА> и нажмите Enter;
- далее выполните команду slmgr.vbs/ato для активации системы.
Ваша Windows должна быть активирована, а ошибка 0xC004F012 — исчезнет.
Активация Windows 10 по телефону
Еще вы можете попробовать активацию своей ОС Windows 10 по мобильному телефону. Верно, вам потребуется прозвонить на один из телефонов компании Майкрософт.
- Нажмите Windows+S и пропишите «Slui 4»;
- выберите найденный результат, нажав на него левой кнопкой мыши;
- выберите свою страну и нажмите «Далее»;
- держите окошко открытым и позвоните по телефону Майкрософт для вашего региона (звонок должен быть бесплатен);
- автоматическая система выдаст вам особый ID, который вам потребуется где-то записать;
- впишите выданный ID в пустую строчку все еще открытого окошка и нажмите «Активировать».
Мы надеемся, что данный материал помог вам избавиться от ошибки 0xC004F012 в Windows 10.
Try these fixes for 0xc004f012 Windows Activation error
by Henderson Jayden Harper
Passionate about technology, Crypto, software, Windows, and everything computer-related, he spends most of his time developing new skills and learning more about the tech world. He also enjoys… read more
Updated on
- The 0xc004f012 Windows activation error can appear on your PC due to a corrupt licensing repository.
- Running an SFC and a DISM scan may fix corrupt system files that cause the error.
- The Windows Activation troubleshooter can resolve the problem in no time.
XINSTALL BY CLICKING THE DOWNLOAD
FILE
Windows Activation verifies that the copy of Windows is genuine and still adheres to the Microsoft Software License Terms. However, users complain about encountering 0xc004f012 Windows activation error in the process.
Another error users report is the Windows Activation Error 0xc004f063, mainly on Windows 7 & 10.
What causes the 0xc004f012 Windows Activation error?
The 0xc004f012 Windows activation error can appear on your computer for many reasons. First, it indicates something wrong with your product key or any other issues with the Windows activation process.
Furthermore, some common factors that are likely to be responsible for the activation error include:
- Missing or corrupt Licensing repository – When the licensing repository is corrupted or missing, it can impede the activation process. For example, it causes the Windows activation to crash because the repository hosting its license is compromised.
- Corrupt system files – Corrupted system files can affect the Windows activation process. Corrupt files on the PC from third-party programs, update processes, etc., can alter the activation, resulting in activation error 0xc004f012 in Windows 11.
- Hardware replacements – Replacing major hardware like the motherboard can be a problem with Windows activation, resulting in the error 0xc004f012. It indicates that the hardware is new to Windows, and it requires licensing to activate it. So, you’re likely to run into a Windows activation error due to a hardware change.
- Issues with the Activation token – It’ll be impossible to pull through with an activation process without the time being intact. So, issues with the activation key or expired token can cause errors during Windows activation.
These factors may vary in different PCs. Nevertheless, we’ll take you through some general fixes to help get your Windows activated.
How we test, review and rate?
We have worked for the past 6 months on building a new review system on how we produce content. Using it, we have subsequently redone most of our articles to provide actual hands-on expertise on the guides we made.
For more details you can read how we test, review, and rate at WindowsReport.
How can I fix the 0xc004f012 Windows activation error?
Before proceeding with any advanced troubleshooting, try the following:
- Fix network congestion on your PC.
- Disable third-party apps that may interfere.
- Restart Windows in Safe Mode and check if the error persists.
If the error 0xc004f012 in Windows 11 persists, proceed with the solutions below.
1. Run an SFC and DISM scans
- Left-click the Start button, type the command prompt, and click Run as administrator.
- Click Yes on the User Account Control prompt.
- Type the following and press Enter:
sfc / scannow
- Copy and paste the commands below and press Enter:
dism.exe/online/cleanup-image/restorehealth
- Restart your PC and check if the error persists.
An SFC and DISM scan will detect and repair corrupt system files and clean up your disk space, fixing your PC’s health.
Check our article about what to do if nothing happens when you select run as administrator on Windows 11.
Moreover, you have more reliable software that repairs your PC by scanning the system and replacing corrupted files that generate the 0xc004f012 Windows activation error.
⇒ Get Fortect
2. Reset the Windows activation components
- Right-click the Start button, then click on Terminal (admin).
- Copy and paste the commands below and press Enter after each:
net stop wuauserv
net stop cryptSvc
net stop bits
ren C:\Windows\System32\SPP\Store\2.0\tokens.dat tokens.old
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 Catroot2.old
- Then, type the following and press Enter:
net start wuauserv
net start cryptSvc
net start bits
netsh winsock reset
- Restart your PC and try the Windows activation process to see if the error persists.
Restarting the Windows activation components will fix any issues preventing them from functioning correctly.
- DNS Server Failure 0x8007232A: 3 Methods to Fix It
- Security Settings Blocked Self-signed Application [Fix]
- 0xc004f015 Activation Error: How to Quickly Fix it
- Fix: Page Fault in Nonpaged Area on Windows 10
- Bindflt.sys Blue Screen: How to Fix It in 5 Steps
3. Run Windows Activation Troubleshooter
- Press Window + I to open the Settings app.
- Select the Update & Security option.
- Click on the Activation button, then click on the Troubleshoot link on the right pane of the screen.
Running the Windows Activation troubleshooter will find and repair issues with the Windows activation process. Likewise, it fixes hardware issues.
4. Replace and generate a new product key
- Left-click the Start button, type command prompt, and click Run as administrator.
- Type the following and press Enter to replace the product key:
slmgr -ipk <your current product key>
- Wait till you see a Windows Host Script prompt informing you that the product key has been activated successfully, then close the Command Prompt.
- Restart your PC.
After some hours, try the Activation process again with the new generic code.
Read our guide if the Windows server change product key does not work on your PC.
In conclusion, you can read about what to do if Windows 11 won’t activate after reinstalling your PC. Also, you can check for solutions if Windows cannot find the Microsoft license software terms on your PC.
If you have more questions or suggestions, kindly drop them in the comments section.
When activating Windows 10 or 11, you might face different challenges making the process fail. Windows Activation Error 0xC004F012 is such a problem several users complain about. If you are getting the same error then this post will provide working solutions. Using a legitimate product key is a must condition for the process but in this case, the server can not acknowledge it and generate the code.
0xC004F012 activation error commonly occurs because of hardware replacement, wrong version of Windows 10 or 11 installed corrupted system files, and logging in with a local account. Furthermore, invalid product key is the most found reason for the same so before proceeding with the steps make sure that your license is genuine. You will come across a message – “We can’t activate Windows on this device because you don’t have a valid digital license or product key. If you do have a valid license or key, select Troubleshoot below. Error code: 0xC004F012” when the fault occurs.
Here is how to fix Activation Error 0xC004F012 in Windows 10 or 11 –
Way-1: Use Troubleshooter
The default Fixit tool known as Windows troubleshooter is a recommended and working utility when error 0xC004F012 appears. Running this using only a few clicks will detect the root cause of the activation problem and solve or suggest you follow some steps. If you have a valid product key then the troubleshooter will simply fix it in most cases and when illegitimate it shows the error code again. Follow the steps –
For Windows 10 –
- Press – Winkey+I.
- Once the Settings app opens, select – Update & security.
- Click on – Activation.
- Go to the right pane and select – Troubleshoot.
- The Troubleshooter will start detecting the problem and display what is wrong with the activation.
- In case, the error is fixed then it’s good else see the recommendations and follow them accordingly.
For Windows 11 –
- Click on Start.
- Select – Settings.
- Once the app loads, click on – Activation.
- Next, select – Troubleshoot.
Way-2: Approach OEM or Retailer to fix error code 0xC004F012
Some people say that this problem appears on the pre-installed PCs or Laptops purchased from an OEM or retailer. What happens that sellers use to activate the operating system with the default product key which starts displaying Windows is not activated message after a restart or when internet is connected. However, you might come across the error code 0xC004F012 on the Activation settings but this may also appear after running the troubleshooter. If you see this error the first thing you need to do is to contact the original equipment manufacturer aka OEM or retailer. You can also approach him through the shop from where you have bought the device.
Way-3: Make sure the correct edition is installed
Each copy of Windows 10 or 11 has a distinctive product key to activate the operating system which you receive through mail or on the sticker of the packet in which the USB is placed. On multiple occasions, Windows is so damaged that you require to install a fresh copy. If you are installing through ISO file then there is a chance of an incorrect version being installed that does not recognize the existing product key. Therefore, check the edition and in case it is wrong install the correct version.
- Press Windows key.
- Type – cmd.
- Choose – Run as administrator.
- When User account control appears, click on – Yes.
- Now, type – slmgr.vbs /dlv.
- Press ‘Enter’.
- Windows Script Host prompts up.
- See what is the Name: of the Windows and make sure it is correct.
- In case, the edition is incorrect then you will have to install the correct version.
You can also check the edition by going through the post – How to Open Winver in Windows 11 or 10.
Way-4: Run System files checker aka SFC /scannow
Corruption in System Files is another reason to generate the Windows activation error 0xC004F012 in Windows 11 and 10. To get rid of this problem a built-in masterly command-line tool System File Checker is pretty capable. When it repairs the corruption the Server starts recognizing product key you have entered. Follow the method –
- Open Command prompt as administrator as following the method in Way-4.
- Type – SFC /Scannow.
- Hit Enter.
- Once the scanning task begins it will consume almost 5-10 minutes in normal conditions.
- Once the process gets over, restart your PC.
- See if the error persists or it is fixed now.
Way-5: Try activating using Command prompt
This activation error might come to end when you try to activate through a cmd command. When a question is about activation command prompt may help you as a guide till the end aka until the error is solved. This tool will disclose the error code and cause that may trigger this glitch helpful to find the exact solution to activation error 0xC004F012. Go ahead with the steps –
- Press Windows + S.
- Type – cmd.
- Hit – Ctrl+ Shift + Enter.
- On User account control dialog, click Yes.
- If having a license key type vbs /upk.
- Now, press – Enter.
- The existing product key will be removed using the command.
- Next, type – slmgr /ipk productkey. (Replace product key with the digits of the key)
- Hit – Enter.
- Windows will be activated now.
- In case, product key isn’t available type – vbs /ato.
- Press – Enter.
- The command will activate the key from the Microsoft server but when it fails to do so force the same using KMS.
- Normally the key should work and Windows 10 or 11 will be activated but in case it does not happen then you will see an error code on Windows Script Host pop up. Use the code to fix the problem. This will help you in this condition – All-in-One Fix: Windows 10 Activation Problems 2022.
Way-6: Reactivate after hardware replacement
Oftentimes the 0xC004F012 during activation happens to appear after hardware replacement, for example, motherboard change. Location of license key is motherboard therefore when you change it Windows fails to detect the key and triggers the error. If you want to save code you need to link the license with your Microsoft account before the replacement. In this case, the account will start showing an exceptional link in order to reactivate the copy of Windows 10 or 11. However, if you didn’t link the key then follow –
Windows 10 –
- Open Windows Settings (Windows+I).
- Select – Accounts.
- On the next Settings page make sure that you are logged in with an administrator account. If it is a local account then signin using the administrator account.
- Next, go to Settings > Update & Security > Activation and Troubleshoot the activation.
- In case of owning a product key click – Change Product Key.
- Finally, enter the key.
Windows 11 –
- Right-click on Start.
- Select – Settings.
- Click on – Accounts.
- Select – Your info.
- Within Accounts settings, you might notice – Sign in with a local account instead.
- If not showing, then click on the link there to log in using the administrator account.
- Still, the error exists then it means you need to troubleshoot with the help of Way-5.
Follow – 3 Proven Ways to Activate Windows 10.
Methods list:
Way-1: Use Troubleshooter
Way-2: Approach OEM or Retailer
Way-3: Make sure the correct edition is installed
Way-4: Run System files checker aka SFC /scannow
Way-5: Try activating using Command prompt
Way-6: Reactivate after hardware replacement
That’s all!!
Repair any Windows problems such as Blue/Black Screen, DLL, Exe, application, Regisrty error and quickly recover system from issues using Reimage.
FAQ / ЧаВо — Часто Задаваемые Вопросы
Покупка ключа активации лицензии Windows
Что делать если ранее был применён KMS/активатор/кряк?
Могу ли я выбрать обновить компьютер, что бы сохранить файлы и активировать Windows 10 ?
Два вопроса на которые ответ должен быть «нет«:
- редакция для одного языка?
- применялся ли ранее KMS или активаватор, кряк ит т.п.?
Если оба «нет», можете успешно обновлять и активировать без переустановки.
Смогу ли я перейти на Windows 10 Pro с Home c ключем активации Windows 10 Pro, если у меня уже стоит редакция Home?
Только с ключем для обновления. И если у Вас не для одного языка.
У меня Windows 10 Home Для одного языка (0x80041014). Могу ли я использовать ключ для активации обычной редакиции Home или обновиться до Pro?
Нет, такие ключи в отдельную цену по предзаказу. Уточняйте у менеджера через наши контакты (WhatsApp, Discord, Telegram)
Если у меня нет сейчас с собой флешки как мне сделать чистую установку?
в любом случае нужен установочный носитель:
- диск — если есть привод для него
- флешка, внешний накопитель («карман»)
- смартфон с OTG-кабелем
У меня сейчас Windows 7, могу ли я выбрать не «Создать установочный носитель» для другого компьютера, а обновить ПК, чтобы сохранить файлы?
в любом случае нужен установочный носитель c официальным образом Windows 10:
- диск — если есть привод для него
- флешка, внешний накопитель («карман»)
- смартфон с OTG-кабелем
Что делать если активация слетела после переустановки Windows?
На том устройстве, которое Вы уже активировали лицензия уже Ваша — просто сохраните ключ для этого устройства и если будете форматировать или менять Диск (хранилище, ssd/hdd) то укажите этот же ключ при активации. Лицензия прикрепляется к материнской плате. Если произошла ошибка «Превышено количество активаций Windows» — см. ст. Телефонная активация Windows
Купленный код при установке с флешки сразу вводить при первом требовании?
Срок гантии лицензии Windows
ключи после активации не нуждаются в гарантии, лицензия привязывается к материнской плате, достаточно ввести тот же ключ при переустановке или смене системного диска (хранилища, ssd/hdd)
Я ввожу ключ активации лицензии, активация проходит успешно, но программа показывает совсем другой ключ
Мы не рекомендуем использовать стороние программы. Если у Вас есть вопросы по работе такой программы — обратитесь к её разработчику.
The error code 0xC004F012 pops up when the users try to activate their Windows. The error code is accompanied by the statement, ‘We can’t activate windows on this device because you don’t have a valid digital license or product key.’
This error is typically caused due to a missing or corrupt licensing repository and sometimes can also pop up after major upgrades, which makes Windows lose its activation status. Below, we have discussed several troubleshooting methods that you can try to resolve this issue. Proceed with the one that fits your situation the best.
1. Run System Scans
The first thing that we suggest you do is to rule out any corruption issues in the system that might be causing the problem. For this, we will be using the SFC and DISM tools.
Microsoft developed both these utilities to scan the system for errors. SFC works by scanning the protected system and replacing the corrupt ones with healthier ones. On the other hand, the DISM tool is responsible for repairing a corrupt system image.
Follow, How to Run SFC Scan.
After that, you can follow, How to Run a DISM Repair in Windows.
Head over to this guide to run a system scan. In case that does not fix the issue, you can proceed with the next troubleshooting methods in this guide.
2. Rebuild Tokens
Rebuilding the Activation Token files or Token.dat files can also fix the issue at hand, as they might be corrupted or faulty.
Here is how you can try doing that as well:
- Launch File Explorer and navigate to the following location:
C:\Windows\System32\SPP\Store\2.0 directory
- Locate the tokens.dat file and right-click on it.
- Choose Rename from the context menu.
Rename the file - Rename the file to tokens.old.
Renamed tokens file - Once done, press the Win + R keys together to open Run.
- Type cmd in Run and click Ctrl + Shift + Enter to open Command Prompt with administrative rights.
- Alternatively, you can also type cmd in Windows search and click Open.
- Click Yes in the User Account Control prompt.
- Type the following command in the Command Prompt window and hit Enter to execute it:
net start sppsvc
Execute the mentioned command - Now, execute this command:
cscript.exe slmgr.vbs /rilc
Execute the mentioned command - Restart your device twice.
- Upon reboot, press the Win + I keys together to open the Settings app.
- Choose System > Activation.
Click on the Activation button - Expand the Activation state option and click on Troubleshoot. Wait for the activation troubleshooter to scan the system for issues and fix them.
Click on the Troubleshoot button
Hopefully, the activation error will be resolved once this is done.
3. Restart the Software Protection Service
System services and other similar components are vital in helping your system function as it is supposed to.
For your system to finish the activation process successfully, the Software Protection service must be running properly. If it is acting up, you are likely to face the issue. Fortunately, the fix is easy; in most cases, restarting the service should fix the problem.
Here is how you can do that:
- Press the Win + R keys together to open Run.
- Type services.msc in Run to hit Enter.
- In the Services window, locate the Software Protection service and right-click.
- Choose Properties from the context menu.
Click on the Properties button - Click on the Stop button in the Properties dialog.
- Wait for a few seconds and hit Start again.
Click on tthe Start button - Expand the dropdown for Startup type and choose Automatic.
- Click Apply > OK to save the changes.
Once done, check if the issue is resolved.
4. Use Command Prompt to Activate
Alternatively, you can also use the Command Prompt to activate Windows 11 as well.
Here is how you can try that as well:
- Type cmd in Windows search and click on Run as administrator.
- Click Yes in the User Account Prompt.
- Type the following command in cmd and hit Enter to execute it. Replace ‘Product key’ with your original key:
slmgr.vbs.ipk <product key>
Insert slmgr command in command prompt - Now, execute this command:
slmgr.vbs/ato
slmgr.vbs/ato command in Command Prompt - Once done, check if the issue is resolved.
5. Use Your Phone to Activate
You can also call Microsoft to activate your Windows.
Follow these steps to proceed:
- Press the Win + R keys together to open Run.
- Type Slui 4 in Run and click Enter.
- Expand the dropdown for Select your country or region and choose your country.
Choose your region - Click Next.
- Now, call the toll-free number for your country and note down the confirmation ID you are given.
- Then, click on Enter confirmation ID.
Click on Enter confirmation ID button - Type this ID in the dialog on your screen and click Activate Windows.
Click on the Activate Windows button
6. Clean Install Windows
If none of the methods have worked for you and you are still encountering the problem, then we suggest you move forward with a clean install.
When you clean install an operating system, you erase the entire hard drive and then install the operating system again. In a clean install, an operating system is put on a brand-new computer, and an old operating system is replaced or upgraded.
Head over to this guide to proceed with a clean install. Hopefully, it will resolve the issue for you.
Zainab Falak
Zainab Falak is a highly educated professional with a background in actuarial science and a strong passion for technology. Her expertise lies in the field of data analytics and she is a proficient programmer in languages such as Python and R. At Appuals, Zainab shares her extensive knowledge of Windows 8, 10, and 11, covering a broad range of topics related to these operating systems. Zainab’s ability to effectively communicate technical concepts in a clear and concise manner has earned her recognition and respect in the tech community. She is committed to staying up-to-date with the latest developments in the field and providing readers with insightful and informative content.