5 Ways to Fix It When Windows Cannot Find PowerShell.exe

5 Ways To Fix Windows Cannot Find Powershell.exe

Windows PowerShell is a scripting and automation tool that allows you to use commands to manage your computer. While this command-line console is preinstalled on Windows, your PC might fail to find the PowerShell.exe file. This could be due to changes in your OS files or their location. This guide shows you five ways to fix it when Windows cannot find PowerShell.exe.

Preliminary Fixes

There are a few things you can quickly try before moving on to the more targeted fixes.

  • Run SFC and DISM commands: System File Checker and DISM are two of the most useful utilities you can deploy to identify damaged or corrupted system files. They also automatically resolve any problems they find.
  • Reboot your PC: restarting your PC is the classic way of solving issues and may help you find PowerShell.exe on your system again.
  • Create a new user account: if your current user account has problems, we advise you to create a new account. If there are multiple accounts on your PC, switch to a new one and see if the problem persists.

1. Ensure that Windows PowerShell Is Enabled

The easiest way to ensure PowerShell is enabled is to go to Windows Features under Control Panel and look for the PowerShell entry. If the checkbox before the file is not marked, the option is disabled. Follow the steps below to enable it..

  1. Press the Win + R keys to fire up the Run app.
  2. Type in appwiz.cpl and press Enter.
Typing "appwiz.cpl" in Run window.
  1. Select “Turn Windows features on or off” on the left panel in the newly opened window.
"Turn Windows feature on or off" in Control Panel.
  1. In the list of entries, find “Windows PowerShell” and click on the check box to enable it.
Enabling Windows PowerShell in Windows.
  1. If the feature was already enabled, disable it and restart your PC. After the reboot, follow the steps again to re-enable the entry to restart the service.

Tip: learn how to open files using just Command Prompt in Windows.

2. Launch PowerShell via File Explorer or Run

You can directly access the .EXE file of any Windows application via File Explorer. Run commands are another way to launch Windows apps without clicking on the executable file. Use these two methods to access the PowerShell.exe file and see if they work.

  1. Press Win + R to fire up the Run app.
  2. Type in PowerShell and press Enter.
Typing "PowerShell" in Run window.
  1. Alternatively, use File Explorer. Right-click on the Start menu and click on the app.
Opening up File Explorer from Start menu.
  1. Navigate to this folder by using the address bar at the top: “C:\Windows\System32\WindowsPowerShell\v1.0.”
Navigating to PoweShell.exe location via File Explorer.
  1. Find the executable file in the location and double-click it.
Executing the PowerShell file.

Tip: Powershell keeps popping up at startup? Learn what to do if that’s happening on your Windows PC.

3. Create a PowerShell Shortcut

If you have relocated the PowerShell.exe file recently from its original folder, then Windows cannot open the file, as it doesn’t know its exact location. Even if you haven’t moved the file, it is still a good idea to recreate a shortcut for the executable file.

  1. Open File Explorer and navigate to the folder where you moved the PowerShell.exe file.
  1. Right-click on “powershell” and select “Show more options.”
Right-clicking PowerShell.exe to reveal context menu.
  1. Choose “Send to -> Desktop (create shortcut).”
"Send to" options in file context menu.
  1. Exit File Explorer and open the “PowerShell.exe” shortcut on your desktop.

4. Launch PowerShell Using Command Prompt

You can use Command Prompt instead of Windows PowerShell, as most of their functionalities are the same. But if you insist on using PowerShell, you can launch it with the help of Command Prompt.

  1. Type “Command Prompt” in Windows Search, right-click the best result, and select “Run as Administrator.”
Typing "Command prompt" in Windows Search.
  1. In “Command Prompt,” type start powershell and press Enter to launch it..
Starting PowerShell via Command Prompt.

5. Update Windows PowerShell

Windows should automatically update PowerShell, but it’s possible that the update wasn’t finalized due to a glitch or slow Internet connection. As a result, it’s a good idea to manually update Windows PowerShell to see if that fixes the problem.

  1. Click on Search in the taskbar, type in “Microsoft store,” and click the best match.
Typing "Microsoft Store" in Windows Search.
  1. On the top of the screen, use the search feature to look for PowerShell.
  2. Select “Update” or “Get” on the first application that pops up. Wait for it to download and install.
Searching for PowerShell in Microsoft Store.
  1. Try opening “PowerShell.exe” after the installation or update process.

If none of these fixes solved the issue for you, and you still can’t access Powershell.exe, then perhaps it’s time to do a System Restore. Doing this will take your PC to an earlier state when everything worked well, undoing any changes to the registry or the Windows apps.

To use this feature, you must first create a restore point or enable system protection so that your system creates automatic restore points that you can use to undo changes.

Tip: don’t want to see updates on your Windows PC? Learn how to hide them using PowerShell.

Frequently Asked Questions

Can I download PowerShell if I don't have it?

Yes. You will find the PowerShell 7.3 or later releases on the Microsoft Store site or in the Store application in Windows.

Would my PC be fine without PowerShell?

If you disable PowerShell, your PC will use Command Prompt instead to communicate with the system. PowerShell is a better option (in some cases) to run commands, but your PC will be fine without it.

Image credit: Pexels. All screenshots by Farhad Pashaei.

Is this post useful?
Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Farhad Pashaei

As a technophile, Farhad has spent the last decade getting hands-on experience with a variety of electronic devices, including smartphones, laptops, accessories, wearables, printers, and so on. When he isn’t writing, you can bet he’s devouring information on products making their market foray, demonstrating his unquenchable thirst for technology.