I got used to opening Command Line in a folder I have open in Windows Explorer by clicking File → Open command prompt. Recently this menu item has disappeared from my menus and there's only Open Windows Powershell in there, which is not what I am looking for. I think it was Creators Update that removed it.

How can I restore Open command prompt in Windows Explorer's File menu? (Not context menu)

Screenshot of Windows Explorer window with an arrow pointing between "Open new window" and "Open Windows PowerShell", where the missing menu item is supposed to be.

I am not asking for workarounds or alternatives. I know that I can type cmd in the address bar, Shift-right-click folders and add custom context menu items etc. but I'm asking if it's possible to get that specific menu item back. I'm also not asking about the item in folder's context menu, it's independent from this setting.

I'm looking for an answer to the question asked or an official statement that it's not possible.

  • apply the .reg file from my answer here and do a rightclick on the folder to open command prompt (as admin). The option you look for is removed in v1703. May 5, 2017 at 16:09
  • 8
    Note, you can also click on the addressbar, and type cmd then press enter. A command prompt in that location will be opened. Any doscommand can be used there as well, where the current path can be used by a . For example subst j: . will create a drive letter J: and link it to the current folder.
    – LPChip
    May 5, 2017 at 17:08
  • 1
    @YisroelTech - They only work if they are also PowerShell commands. I determine that recently when I needed to copy several files into a single file, PowerShell would give me an error and when I ended up using the correct command generated an invalid binary file, compared to the text file copy within a command file generated.
    – Ramhound
    May 5, 2017 at 19:01
  • 6
    I completely agree with @gronostaj. His question has been answered nowhere because he is asking for the file menu; not just for the right-click context menu. I would also really like the file menu entry back because it allowed me to put it as extra icons into the "quick access toolbar".
    – Linus
    Jun 26, 2017 at 15:51
  • 2
    @dlf unfortunately no. The cmd process that spawns from typing in any command in the explorer addressbar will not be launched with administrative privileges. The only method you can use that works is by clicking int he addressbar, and instead of starting typing, copy the address. Then hit the win key, type cmd and then press shift-enter to start cmd in administrative mode. now type cd /d and hit ctrl-v to paste the address in.
    – LPChip
    Feb 15, 2018 at 18:38

5 Answers 5


It's not possible.


I know, the comments told alternatives already and you don't asked for them, but it might be good for others that come across this.

Cmd - address bar trick

Use Alt + D to focus the address bar, type cmd and hit enter. However you will discover it opens cmd without admin rights.

Get used to PowerShell

Microsoft wants to replace Command Prompt with PowerShell as stated here: https://support.microsoft.com/en-us/help/4027690/windows-powershell-is-replacing-command-prompt, so for especially for the future it might be simply useful to get used to PowerShell commands.

  • Really - a vote down? Because I simply said what @gronostaj expected? Maybe use another file explorer instead: alternativeto.net/software/windows-explorer
    – leun4m
    Mar 1, 2018 at 13:05
  • 1
    I downvoted because your answer doesn't contain anything that I haven't already started in the question or comments, so it doesn't add any value.
    – gronostaj
    Mar 2, 2018 at 6:28
  • It is apparently possible because my work PC has both menus. Powershell broke one of my most used commands: `dir /b'. Powershell thinks "/b" is a folder reference.
    – Ishmael
    Feb 9, 2019 at 18:39

I built a tool that can do this. I was not able to find a way to have both Powershell and the Command Prompt, but this tool will swap out powershell for the command prompt in the windows 10 explorer folder file menu.

Have a look here: https://shulerent.com/2018/08/26/restore-open-command-window-here-to-windows-10/


I know you didn't ask for a workaround, but automating might still help.

You could work around this by adding


at the end of your Microsoft.PowerShell_profile.ps1

Then just open Powershell and PowerShell will open your cmd prompt.

The experience will just be the same.

  • cmd starts in 0.1s, Powershell takes waaay more than that.
    – gronostaj
    Mar 2, 2018 at 11:07
  • Open:
    • Settings > Personalization > Taskbar
  • or:
    • Win-X > Control Panel > Personalization > Taskbar and Navigation
  • or:
    • Right-Click Date areas > Settings, search Taskbar > Taskbar Settings

uncheck / turn off [replace Command Prompt with Windows PowerShell ...]

  • "Replace Command Prompt with Windows PowerShell in the menu when I right-click the start button or press Windows+X" - that's not what I'm asking for.
    – gronostaj
    Mar 11, 2018 at 8:36

If you type: cmd.exe in the powershell window cmd.exe runs and works as expected. If you need administrator privilege then start powershell with administrator privilege.

  • 5
    Welcome to Super User! Please note OP specifically said "I am not asking for workarounds or alternatives... I'm asking if it's possible to get that specific menu item back"
    – bertieb
    Sep 17, 2018 at 22:00
  • Hi Robert. As bertieb noted, this does not answer my question. I have also explained in comments that I dislike PowerShell because it starts slowly and your solution doesn't help with this issue.
    – gronostaj
    Sep 18, 2018 at 6:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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