Hello
Thank you for your question and reaching out.
Please run the below command to install the product key.
slmgr.vbs –ipk <Product key>
After that, again run the below command in the same Command Prompt window to activate the copy of your Windows.
slmgr.vbs –ato
--If the reply is helpful, please Upvote and Accept as answer--