Converting Windows Server 2022 Evaluation to a full Standard edition using DISM is an in-place edition change and is not designed to delete installed applications or user data. The procedure changes the edition and licensing of the existing installation; it is not a clean install.
The documented flow is:
- Confirm current edition:
DISM /online /Get-CurrentEdition - Check which editions you can convert to:
DISM /online /Get-TargetEditions - (Optional) Save the license terms:
DISM /online /Set-Edition:<target edition> /GetEula:C:\license.rtf - Perform the conversion with your product key:
DISM /online /Set-Edition:<target edition> /ProductKey:<product key> /AcceptEula
However, any operation that changes the OS edition carries some risk (for example, if there is a power loss or existing corruption), so a full system and data backup is strongly recommended before running the DISM Set-Edition command.
References: