
Just FYI...(this happened to me {inlab}, so just in case)
Scenario -
Server 2012R2. YOU CONVERT A GUI-SERVER TO COREand want to convert it back to GUI...
Problem -
After rebooting, somehow you lose PowerShell which is needed to convert it back to GUI !!
Solution -
GET PS BACK:
- open command prompt in core.
- type this command:
- type this command:
dism.exe /online /enable-feature /featurename:MicrosoftWindowsPowerShell /all
- After completing 100%. Restart server (even if doesn't ask, MUST reboot).
CORE TO GUI:
- Post reboot, type this in command prompt:
Add-WindowsFeature Server-Gui-Shell
- After completing 100%. Restart server (this time it'llask). [FYI, to get config box back, type - sconfig in cmd prompt]
- Done.