Hello,
You need to be online to convert the Windows evaluation to production.
And you need to have a legitimate product key to activate Windows.
For more information on how to convert the evaluation version to production, please refer to this link:
https://learn.microsoft.com/en-us/windows-server/get-started/upgrade-conversion-options
Best Regards,
Hania Lian
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.