This tutorial is pulled from #convert-eval-to-full in the Windows Modding Discord

This tutorial will teach you how to upgrade an evaluation version of Windows to its corresponding full version of Windows.‬

Step 1: Seeing what edition(s) you can upgrade to

To start, open command prompt as Administrator, then type in this command:
DISM /online /Get-TargetEditions
(note that you must be connected to the internet for it to work)

Step 2: Upgrading

Now, for the actual upgrade command:
DISM /online /Set-Edition:(edition) /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula
Replace (edition) with your desired edition, and replace XXXXX-XXXXX-XXXXX-XXXXX-XXXXX with your product key. It'll take a few minutes to complete the upgrade process.
When it's done, input Y to restart
Once it's rebooted, congratulations, you have just upgraded your version of Windows!

If you still need support with this process, create a post with the "Question/Help" flair or join the Windows Modding Discord.