Here are a few very simple steps you can take to fix the problem
Error: 0xC004f050
1. Activate the “Airplane mode” on your computer or switch the internet off.


2. Once you’re offline, go to the Start menu and click the “Settings” option to enter the “Settings” window. 



3. In the “Settings” window, choose the “Update & Security” option. 




4. In the “Update & Security” window, please go to the “Activation” option from the side options. 



5. This will take you to the “Activation” window. From here, click on the “Change product key” option. 



6. This will open the “Product key” window. So, you’ll see the following window: 



7. Now, you’ll enter the generic product key:
Note: These are generic product keys, not actual ones. These are freely available on Microsoft’s official website.
Windows-10 Pro edition: VK7JG-NPHTM-C97JM-9MPGT-3V66T
8. Once you’ve inserted the key and clicked the ‘Next’ button, the system will change your operating system edition to the inputted key edition. But keep in mind that these keys are only for evaluation purposes.
9. Now, you’ll reboot your system by going to the ‘Start menu < Power < Restart’ options.


10. After the system restarts, you will enter the legitimate product key of the Windows you´ve purchased by following steps 3 to 6.