28

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?

1
  • press windows key, enter "cmd", wait, press return, finish
    – john Smith
    Sep 10 '14 at 15:55
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.

1
  • 15
    If you've remoted into the machine use Ctrl + Alt + End instead of Ctrl + Alt + Del.
    – Jonathan
    Nov 14 '16 at 16:22
37

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

3
  • 3
    Why the down vote? The keyboard shortcut is correct.
    – jscott
    Feb 27 '15 at 10:43
  • 4
    THIS. This is what works if you are on remote desktop.
    – JoshDM
    Sep 28 '15 at 17:51
  • This is what works for me on Macbook 2020
    – Hafiz
    Sep 3 '20 at 11:32
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.

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)
-1

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

1
  • And how does one open ServerManager on core, when all other windows are closed? Oct 25 at 20:21

Not the answer you're looking for? Browse other questions tagged or ask your own question.