30

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?

Daniel
  • 103
  • 2
CSG
  • 707
  • 1
  • 11
  • 18

5 Answers5

40

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
  • 559
  • 5
  • 15
30

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
  • 822
  • 1
  • 12
  • 20
  • 16
    If you've remoted into the machine use Ctrl + Alt + End instead of Ctrl + Alt + Del. – Jonathan Nov 14 '16 at 16:22
  • 1
    And if you remoted into machine 1 and *from there* remoted into the Server Core machine 2, use the on-screen-keyboard on machine 1 to press Ctrl + Alt +End. – Heinzi Apr 19 '22 at 14:40
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
  • 9,145
  • 2
  • 40
  • 44
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....