Windows 2012 only loads command prompt
search cancel

Windows 2012 only loads command prompt

book

Article ID: 38319

calendar_today

Updated On:

Products

CA Network Flow Analysis (NetQos / NFA)

Issue/Introduction

Issue:

If you remove the Microsoft .NET framework 4.5 feature from a Windows Server 2012 server, once you reboot the server the desktop will not load and you will only get a command prompt.

 

Environment:  

Windows Server 2012

Any Product

 

Cause: 

When removing Windows .NET Framework 4.5 it removes necessary files that the desktop shell requires to function properly. This is why we are left with just the core terminal.

 

Workaround:

We will need to reinstall .NET Framework 4.5 and PowerShell to reinstall the the shell. 

  1. In CMD type: DISM.exe /online /enable-feature /all /featurename:NetFx4
  2. In CMD type: DISM.exe /online /enable-feature /all /featurename:MicrosoftWindowsPowerShell
  3. In CMD type: cd C:\Windows\system32\Windowspowershell\v1.0
  4. In CMD type: powershell.exe
  5. In PowerShell type: Install-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra
  6. In PowerShell type: exit
  7. In CMD type: shutdown -r

 

Environment

Release:
Component: NQRPTA