Unsolved After reboot, windows server 2012r2 VM shows only command prompt
-
Yes using Sconfig, but do have any opitions for enable GUI. I attached screenshot.
-
@Ghani Hmmm...
So PowerShell can't be started at all? If it can, try this...
Add-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra
Then
Shutdown –r -t 0 -
-
Try also servermanager from the command prompt...
-
So you had the full GUI, and then you install .net and rebooted and it converted itself to core? that seems so odd that I'd personally start over. If it's possible that you clicked an extra button that removed the GUI when you installed .net, then you can probably skip the rebuild and just re-add/enable it.
-
your commands run on command prompt or powershell ?
-
@Ghani said in After reboot, windows server 2012r2 VM shows only command prompt:
your commands run on command prompt or powershell ?
PowerShell. I don't think Command will work.
-
I am unable to launch powershell using command prompt. I think powershell file removed from system.
-
I'm with dash. Something is really wrong. What was this server being used for before?
-
@Ghani said in After reboot, windows server 2012r2 VM shows only command prompt:
I am unable to launch powershell using command prompt. I think powershell file removed from system.
Is this a VM? Can you abandon this machine?
-
@scottalanmiller said in After reboot, windows server 2012r2 VM shows only command prompt:
abandon
It is application server. Based on client decision, because they do not have any snapshot of VM.
-
i will try ur links
-
@Ghani said in After reboot, windows server 2012r2 VM shows only command prompt:
@scottalanmiller said in After reboot, windows server 2012r2 VM shows only command prompt:
abandon
It is application server. Based on client decision, because they do not have any snapshot of VM.
No backups? This is in really bad shape. Really bad.
-
yes
-
Best bet might be to take a backup now of the data so that you have a copy of it and reinstall Windows. Windows is not meant to be able to move to GUI without PowerShell.
Have you attempting PowerShell remoting to the box? How are you connecting now, RDP?
-
@scottalanmiller said in After reboot, windows server 2012r2 VM shows only command prompt:
reinstall
ok i did not check RDP session. Customer not in office right now, I am waiting for remote session. What is remote PowerShell box ?
-
@Ghani said in After reboot, windows server 2012r2 VM shows only command prompt:
@scottalanmiller said in After reboot, windows server 2012r2 VM shows only command prompt:
reinstall
ok i did not check RDP session. Customer not in office right now, I am waiting for remote session. What is remote PowerShell box ?
https://technet.microsoft.com/en-us/library/ff700227.aspx
https://msdn.microsoft.com/en-us/powershell/scripting/core-powershell/running-remote-commands
-
Are you just accessing the machine from the console session on the hypervisor right now?
-
If there is no GUI and no PowerShell from the command prompt on the main console, I think that you are screwed.
-
Can you see that the application files are still there?