Step 1: Type CMD in the Start screen to open elevated Command Prompt and choose "Run as administrator"
Step 2: In the Command Prompt, please execute the following commands:
DISM /Online /Set-Edition:ServerStandard /ProductKey:xxxxx-xxxxx-xxxxxx-xxxxxx /AcceptEula
Step 3: Enter
Step 4: Wait for a moment to process activation