help!!!

Copper Contributor
When I installed Windows Server 2022, I chose the wrong version. Now I only have CMD window when I start up. How to solve this problem
2 Replies
@Smithli open powershell as admin and run the below command to switch the core version to gui version and you should be ok.
Install-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra –Restart

Switching between Server Core and Desktop Experience is only possible with Windows Server 2012/2012 R2. Windows Server 2016 or later cannot be switched after installation. You will need to do a new(re) install and select "Desktop Experience" installation option.