
Open Command Prompt as Administrator:
Press Win + X and select Command Prompt (Admin).
Run the Activation Command:
Type the following command and press Enter:
slmgr.vbs /ato
Check for Activation:
Go to Settings > Update & Security > Activation and check if Windows is activated.