REGEDIT

HKLM\SOFTWARE\Microsoft\Windows NT\Currentversion

REG DWORD ‘Edition ID’ value = Windows 10 Professional

change Key

CMD (admin)

setup.exe /auto upgrade /pkey %productkey%