Sorry my bad this server is not domain controller but is connected in domain.
Ive tried this but it keeps it in eval after restart
Dism /online /Set-Edition:ServerStandard /ProductKey:VDYBN-27WPP-V4HQT-9VMD4-VMK7H /AcceptEula
installed featurers
PS C:\Users\Administrator.DC> Get-WindowsFeature | Where-Object {$_. installstate -eq "installed"}
Display Name Name Install State
------------ ---- -------------
[X] Active Directory Domain Services AD-Domain-Services Installed
[X] DNS Server DNS Installed
[X] File and Storage Services FileAndStorage-Services Installed
[X] File and iSCSI Services File-Services Installed
[X] File Server FS-FileServer Installed
[X] Storage Services Storage-Services Installed
[X] Remote Desktop Services Remote-Desktop-Services Installed
[X] Remote Desktop Session Host RDS-RD-Server Installed
[X] .NET Framework 4.8 Features NET-Framework-45-Fea... Installed
[X] .NET Framework 4.8 NET-Framework-45-Core Installed
[X] WCF Services NET-WCF-Services45 Installed
[X] TCP Port Sharing NET-WCF-TCP-PortShar... Installed
[X] BitLocker Drive Encryption BitLocker Installed
[X] Enhanced Storage EnhancedStorage Installed
[X] Group Policy Management GPMC Installed
[X] Microsoft Defender Antivirus Windows-Defender Installed
[X] Remote Server Administration Tools RSAT Installed
[X] Feature Administration Tools RSAT-Feature-Tools Installed
[X] BitLocker Drive Encryption Administratio... RSAT-Feature-Tools-B... Installed
[X] BitLocker Drive Encryption Tools RSAT-Feature-Tools-B... Installed
[X] BitLocker Recovery Password Viewer RSAT-Feature-Tools-B... Installed
[X] Role Administration Tools RSAT-Role-Tools Installed
[X] AD DS and AD LDS Tools RSAT-AD-Tools Installed
[X] Active Directory module for Windows ... RSAT-AD-PowerShell Installed
[X] AD DS Tools RSAT-ADDS Installed
[X] Active Directory Administrative ... RSAT-AD-AdminCenter Installed
[X] AD DS Snap-Ins and Command-Line ... RSAT-ADDS-Tools Installed
[X] DNS Server Tools RSAT-DNS-Server Installed
[X] System Data Archiver System-DataArchiver Installed
[X] Windows PowerShell PowerShellRoot Installed
[X] Windows PowerShell 5.1 PowerShell Installed
[X] WoW64 Support WoW64-Support Installed
[X] XPS Viewer XPS-Viewer Installed
PS C:\Users\Administrator.DC> Dism /Online /Get-TargetEditions
Deployment Image Servicing and Management tool
Version: 10.0.20348.1
Image Version: 10.0.20348.587
Editions that can be upgraded to:
Blokovací operace byla přerušena voláním WSACancelBlockingCall.
: ServerStandard
Blokovací operace byla přerušena voláním WSACancelBlockingCall.
: ServerDatacenter
The operation completed successfully.
PS C:\Users\Administrator.DC>