Hi, I'm Robinson, and I’m happy to help you today.
I know how frustrating this may be for you but I'll do my very best to help you.
The error 0xc004f012 is typically caused by corrupt license repositories, you can use this procedure to reactivate your Windows.
Step 1: Reset the Windows activation components
1-Right-Click on Start then click on Windows PowerShell(admin)
2-Type these commands:
net stop wuauserv and press [Enter]
net stop cryptSvc and press [Enter]
net stop bits and press [Enter]
ren C:\Windows\System32\SPP\Store\2.0\tokens.dat tokens.old and press [Enter]
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old and press [Enter]
ren C:\Windows\System32\catroot2 Catroot2.old and press [Enter]
net start wuauserv and press [Enter]
net start cryptSvc and press [Enter]
net start bits and press [Enter]
netsh winsock reset
3-Reboot your PC
Step 2: Run the activation troubleshooter
1-Select the Start button, then select Settings > Update & Security > Activation > Troubleshoot . The troubleshooter will show Windows can’t be activated on your device.
2-Select "I changed hardware on this device recently", then select Next.
3-Enter your connected Microsoft account and password, then select Sign in. The troubleshooter will only work with the connected Microsoft account.
4-From the list of devices that are linked to your Microsoft account, select the check box next to This is the device I’m using right now.
5-Select Activate.