Hello,
Thank you for posting in Microsoft Community forum.
Based on the description, I understand your question is related to upgrade.
To do in place upgrade keeping files and data, machine need to follow the in place upgrade options.
Upgrade and conversion options for Windows Server | Microsoft Learn
The following general guidelines are for in-place upgrade paths where Windows Server is already licensed, that is, not evaluation:
- Upgrades from 32-bit to 64-bit architectures aren't supported. All releases of Windows Server since Windows Server 2008 R2 are 64-bit only.
- Upgrades from one language to another aren't supported.
- If the server is an Active Directory domain controller, you can't convert it to a retail version. See Upgrade Domain Controllers to Windows Server for important information.
- Upgrades from prerelease versions (previews) of Windows Server aren't supported. Perform a clean installation of Windows Server.
- Upgrades that switch from a Server Core installation to a Server with Desktop Experience installation or vice versa aren't supported.
- Upgrades from a previous Windows Server installation to an evaluation copy of Windows Server aren't supported. Evaluation versions should be installed as clean installations.
- When you upgrade from a previous version to a new version, the default is to retain the existing operating system edition. For example, the default is to upgrade from Standard (previous version) to Standard (new version), from Datacenter (previous version) to Datacenter (new version), or from Datacenter: Azure Edition (previous version) to Datacenter: Azure Edition (new version).
- Alternatively, you can change to certain other editions when upgrading. You can change from Standard to Datacenter or to Datacenter: Azure Edition, or change from Datacenter to Datacenter: Azure Edition. You can't change from Datacenter to Standard edition or from Datacenter: Azure Edition to either Standard or Datacenter editions when upgrading.
Have a nice day.
Best Regards,
Molly