33

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
    Commented Sep 10, 2014 at 15:55

5 Answers 5

34

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.

3
  • 18
    If you've remoted into the machine use Ctrl + Alt + End instead of Ctrl + Alt + Del.
    – Jonathan
    Commented Nov 14, 2016 at 16:22
  • 3
    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
    Commented Apr 19, 2022 at 14:40
  • @Heinzi gave a very good answer too as, in some conditions, we bounce from one machine to another.
    – Nick.T
    Commented Oct 11, 2022 at 13:29
42

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
    Commented Feb 27, 2015 at 10:43
  • 5
    THIS. This is what works if you are on remote desktop.
    – JoshDM
    Commented Sep 28, 2015 at 17:51
  • This is what works for me on Macbook 2020
    – Hafiz
    Commented Sep 3, 2020 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.

4

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? Commented Oct 25, 2021 at 20:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .