1. Launch a PowerShell as an Administrator
  2. Type dism /online /get-currentedition and press ENTER
  3. Type dism /online /get-targeteditions and press ENTER
  4. Type dism /online /set-edition:serverstandard /productkey:<KEY-KEY-KEY-KEY-KEY> /accepteula and press ENTER