Windows activation error 0xC004F074 means Windows couldn't reach the Key Management Service to activate. Here's what causes it and how to resolve it.
Windows can't reach Microsoft's activation servers, or the product key is wrong.
Next step: Make sure you're connected to the internet. Open Command Prompt as administrator and run: slmgr /ato — to force online activation.
Your license was tied to the old hardware configuration.
Next step: Sign in to account.microsoft.com/devices with your Microsoft account. Find this PC and use the 'Troubleshoot' option to transfer the license to the new hardware.
Your organization uses volume licensing managed by a KMS server.
Next step: Contact your IT department — they need to point your PC at the organization's KMS server or provide a MAK key. This is not something you can fix yourself.