From elevated Command Prompt…
Check Current Version:
DISM /online /Get-CurrentEdition
Check Availbe License Paths:
DISM /online /Get-TargetEditions
Set Proper Edition and License it:
DISM /online /Set-Edition:ServerStandard /AcceptEula /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX