Hello.
If you previously purchased the retail product key, the product key can be transferred. However, if it's an OEM product key, it's associated with the physical server's hardware and can't be transferred.
Regarding how to reinstall the system, follow these steps:
Back up your important data.
Deactivate the product key on this system.
Open Command Prompt as Administrator
Type the following command and press Enter:
- slmgr.vbs /upk (This command will uninstall the product key from your computer)
- slmgr.vbs /cpky (This will clear the product key from the Windows registry)
You can check the activation status by going to Settings > Update & Security > Activation.
Download Windows Server corresponding to the product key from the official website.
For example, Windows server 2022 ISO file: https://www.microsoft.com/en-us/evalcenter/download-windows-server-2022?msockid=1c9999426ba069af2dd68dbb6aa168ec
Activate with the product key.
Best Regards,
Hania Lian
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.