Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Windows 10 does not offer direct options to open Powershell in a folder. However, there are simple tricks to overcome this limitation.

The first two methods work on Windows 10. On the other hand, if you still use Windows 7, you can use the third method to make minor registry changes but after that, you will have “Open Powershell here” with Shift + right-click on any folder.

Method 1: Shift + Right-Click

The quickest way to open Windows PowerShell in a folder is the Shift + Right-Click method. Follow the steps below to use this method to open PowerShell:

  1. Open the folder that contains the folder you want to open PowerShell from. In this example, I want to open PowerShell from the folder called “Plugins”. This folder is within the www.itechguides.com folder.
How To Open Windows Powershell In a Folder In Windows 10: Shift + Right-Click Method
  1. Then, hold the Shift key on your keyboard and right-click the folder. When you right-click the folder while pressing the Shift key, the context menu will display Open PowerShell window here – click it.

Windows PowerShell will open in the folder…

Method 2: File Explorer “File Menu”

Windows 10 File Explorer “File Menu” offers another option to overcome this limitation. Follow the steps below to open PowerShell:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Open the folder you want to Open PowerShell in. In this example, I want to open PowerShell from “Plugins”. I will open the folder.
How To Open Windows Powershell In a Folder In Windows 10: File Explorer "File Menu" Method
  1. Then, on the top left, click the File menu. When you click File, one of the options displayed will be “Open Windows PowerShell” – you can click it to open PowerShell without admin privileges. However, if you want to open PowerShell as administrator, see the next step…
How To Open Windows Powershell In a Folder In Windows 10: File Explorer "File Menu" Method
  1. To open Windows PowerShell in a folder as administrator – hover your mouse over “Open Windows PowerShell”. Then, click Open Windows PowerShell as administrator.

Method 3: Add “Open Windows Powershell here” to File Explorer Context Menu

This method is courtesy of some of the contributions on this stackoverflow.com page. The solutions are great – as you will see below. However, I have simplified it and made it easy to apply.

As I hinted in the introduction to this guide, the first two methods work on Windows 10 but not on Windows 7. However, if you still use Windows 7, use this method to add the “Open Windows Powershell here” option with Shift + right-click for any folder.

How to Add “Open Windows Powershell here” from Registry

To add this option, follow the steps below:

  1. Enter registry in the search box. The Registry Editor should be highlighted in the search result. On the right-pane, click Run as administrator.
Add "Open Windows Powershell here" To File Explorer Context Menu
  1. Then, navigate to the registry key below.
Computer\HKEY_CLASSES_ROOT\Directory\shell\Powershell

Alternatively, you can copy the path above, paste it in the Address Bar – see the arrow in the screenshot below – then, press the enter key on your keyboard.

Add "Open Windows Powershell here" To File Explorer Context Menu

When you press the Enter, you will be navigated to the PowerShell key – proceed with the next step…

Also popular on Amazon
Sale
Logitech K120 Full Size Wired Keyboard USB Plug-and-Play Windows - Black | Full-size keyboard, spill-resistant, curved space bar, Windows PC and laptops compatible
  • All-day Comfort: The design of this standard keyboard creates a comfortable typing experience thanks to the deep-profile keys and full-size standard layout with F-keys and number pad
  • Easy to Set-up and Use: Set-up couldn't be easier, you simply plug in this corded keyboard via USB on your desktop or laptop and start using right away without any software installation
  • Compatibility: This full-size keyboard is compatible with Windows 7, 8, 10 or later, plus it's a reliable and durable partner for your desk at home, or at work
  • Spill-proof: This durable keyboard features a spill-resistant design (1), anti-fade keys and sturdy tilt legs with adjustable height, meaning this keyboard is built to last
  • Plastic parts in K120 include 51% certified post-consumer recycled plastic*
Add "Open Windows Powershell here" To File Explorer Context Menu
  1. Once you get to the PowerShell registry sub-key, left-click the key. Then, on the right-pane, double-click Default.
Add "Open Windows Powershell here" To File Explorer Context Menu
  1. On the Edit String pop-up window, replace the Value data with the text below – then, click OK – see the second screenshot below:
If you receive the “Cannot Edit” error message, see the next sub-section – How To Fix “Cannot Edit” Registry Error Message.
Open Windows Powershell here
Add "Open Windows Powershell here" To File Explorer Context Menu
  1. Now if you press and hold the Shift key on your keyboard and right-click any folder, one of the displayed options will be “Open Windows Powershell here”.

How to Fix “Cannot Edit” Registry Error Message

You only need to go through the steps in this sub-section if you received the “Cannot Edit: error writing the value’s new content” error message in the last sub-section.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. If you receive the “Cannot Edit” error message, it means that you DO NOT have the permission to edit the PowerShell registry sub-key. Click OK.
  1. Then, right-click PowerShell and select Permissions.
  1. When the registry key’s permission window opens, click Advanced.
  1. Then, on the Advanced window, beside the current owner, click Change.
  1. On the Select User or Group window, enter administrators and click Check Names. The administrators group will be resolved – click OK.
  1. Then, back on the Advanced screen, click OK.
  1. Finally, back on the PowerShell key permissions – select Administrators, then check Full Control, Allow and click OK.

When you complete the steps in this sub-section, return to the last sub-section and complete the task that will add “Open Windows PowerShell here” when you press Shift and right-click any folder in Windows 7.

Also popular on Amazon
Sale
Lenovo 300 USB Keyboard, Wired, Adjustable Tilt, Ergonomic, Windows 7/8/10, GX30M39655, Black
  • The Lenovo 300 USB keyboard offers an intuitive and comfortable island key design with 2 5 zone layout including separate number pad
  • This full-size keyboard includes concaved key caps fitted for your fingertips
  • Spill resistant keys with a board drain help keep your PC keyboard protected and keep you productive
  • The complete ergonomic design includes an adjustable tilt to improve your typing comfort
  • OS independent – This convenient computer keyboard works with laptops desktops and any computer with a USB port

I hope you found the methods to open Windows PowerShell in a folder discussed in this guide helpful.

If you found it helpful, kindly spare a munites or two to share your views with our community using the comments form below.

Also popular on Amazon
Sale
Incase Wired Keyboard 600 – Designed by Microsoft – Spill Resistant, Quiet Touch Keys, Plug and Play, 4 Hotkeys, Windows Start Key – Black
  • Efficient Media Controls: The Wired Keyboard 600, designed by Microsoft, features a Media Center with four hot keys for easy control of play/pause, volume up, volume down, and mute functions.
  • Quiet and Responsive Keys: Enjoy a comfortable typing experience with quiet, thin-profile keys that are both responsive and efficient.
  • Convenient Shortcuts: Quickly access common tasks with dedicated shortcut keys, including a calculator hot key and a Windows start screen key.
  • Spill-Resistant Design: Work confidently with a spill-resistant design that protects your keyboard from accidental messes.
  • Plug-and-Play Simplicity: No software needed—just connect the keyboard to your PC and start using it right away, with a full number pad for efficient data entry.
However, if none of the methods worked for you or you needed something other than the discussed methods, click No to the “Was this post Helpful” question below. Then, kindly provide us additional details. We review our reader’s feedback and update our guides to constantly meet your needs.

Alternatively, simply respond to the “Was this page helpful” question below and provide us with your feedback.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Finally, for more PowerShell tech Itechguides, visit our Windows PowerShell How-To guide page. You may also find our Work from Home page very helpful.

Quick Recap

SaleBestseller No. 2
Logitech K120 Full Size Wired Keyboard USB Plug-and-Play Windows - Black | Full-size keyboard, spill-resistant, curved space bar, Windows PC and laptops compatible
Logitech K120 Full Size Wired Keyboard USB Plug-and-Play Windows - Black | Full-size keyboard, spill-resistant, curved space bar, Windows PC and laptops compatible
Plastic parts in K120 include 51% certified post-consumer recycled plastic*; Product carbon footprint: 4.02 kg CO2e
$12.39
SaleBestseller No. 3
Lenovo 300 USB Keyboard, Wired, Adjustable Tilt, Ergonomic, Windows 7/8/10, GX30M39655, Black
Lenovo 300 USB Keyboard, Wired, Adjustable Tilt, Ergonomic, Windows 7/8/10, GX30M39655, Black
This full-size keyboard includes concaved key caps fitted for your fingertips; The complete ergonomic design includes an adjustable tilt to improve your typing comfort
$12.79

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi