Search code examples
windowspowershellcmdterminal

No option of open cmd here or open Powershell window here on right click


My problem basically is that after I have installed git bash on my system, the option Open command window here and Open PowerShell window here does not appear.

enter image description here

So from somewhere, I got to know that shift+ right-click should show me an option to open Powershell, and it really worked, but now I want to run this Powershell as an administrator, and now I have no option like that even after doing shift + right-click.

Here a screen shot of that

enter image description here

So here is what I want:

  1. I should get an option to open cmd and PowerShell only by doing a right click as it used to happen before I downloaded git.
  2. I should also get an option to run them as an administrator only by doing a right-click.

It would be great if anybody could help me to overcome this problem as fast as possible.

Thanks in advance.


Solution

  • A possible way is by adding registry entries manually. Here is a link for a detailed tutorials:

    Add or Remove 'Open PowerShell window here' context menu

    Open command window here

    Open command window here as administrator

    Open PowerShell window here as administrator

    these links include solution for both right click or shift + right click

    If you find this helpful please rate up so I get some +rep (because I am new)