29

On my new test server, which is a Windows Server 2012 core server, I've closed the only open cmd console with the exit command.

How do I open another prompt now? Am I going to be forced to reboot the machine?

Desperatuss0ccus
  • 252
  • 1
  • 4
  • 9
CSG
  • 697
  • 1
  • 11
  • 18

5 Answers5

38

You can also press the following keys simultaneously to bring up the Task Manager - Ctrl + Shift + Esc Then, as xstnc said, File -> Run New Task -> cmd/powershell

Santa
  • 539
  • 5
  • 15
27

From the Technet article titled Manage a Server Core Server:

If you close all command prompt windows and want to open a new Command Prompt window, press CTRL+ALT+DELETE, click Start Task Manager, click More Details, click File, click Run, and then type cmd.exe. Alternatively, you can log off and log back on.

Desperatuss0ccus
  • 252
  • 1
  • 4
  • 9
xstnc
  • 792
  • 1
  • 11
  • 20
8

Wanted to do this as a comment, because this is mostly a straight up copy and paste. But I'm a n00b so must post as an answer. I just added a hint for those doing RDP

If you close all command prompt windows and want to open a new Command Prompt window, press CTRL+ALT+DELETE.

If you are using RDP to connect remotely, use CTRL+ALT+END.

Next click Start Task Manager, click More Details, click File, click Run, and then type cmd.exe. Alternatively, you can log off and log back on.

Desperatuss0ccus
  • 252
  • 1
  • 4
  • 9
slaterj
  • 81
  • 1
  • 3
3

I was just in that situation to get that prompt over RDP and using a boot camp MacbookAir with reduced keyboard and want to share.

in this case it is:

fn+ctrl+alt + (->) (Arrow right key)
Jakuje
  • 8,889
  • 2
  • 36
  • 41
Falco Alexander
  • 235
  • 1
  • 5
-1

You should be able to open the ServerManager, click on Tools and then select Windows PowerShell, type cmd and there you go....