Question
Issue: How to fix "Windows cannot find Powershell.exe" error?
Hello. I tried to open Windows PowerShell but I received the “Windows cannot find Powershell.exe” error. How could this be? Any tips would be appreciated.
Solved Answer
The “Windows cannot find Powershell.exe” error is an issue that can affect some Windows users. This error occurs when the system is unable to locate the PowerShell executable file (powershell.exe) needed to launch the program. This can prevent users from being able to open PowerShell or run any PowerShell commands.[1]
This issue can be frustrating for users as PowerShell is a powerful command-line tool that allows users to automate tasks, manage Windows systems, and perform various administrative tasks. It is also a valuable tool for developers and system administrators as it offers a wide range of features for managing and automating tasks.
There are several possible solutions to this issue. Some possible solutions include updating the PowerShell version or creating a shortcut for PowerShell on the desktop. In some cases, using System Restore or resetting Windows might solve the problem.
In this guide, you will find 7 steps that should help you fix “Windows cannot find Powershell.exe” error. Keep in mind that you may be experiencing this error because of underlying system issues. You can use a maintenance tool like RestoroMac Washing Machine X9 that can automatically fix most system errors, BSODs,[2] corrupted files, and registry[3] issues. Otherwise, follow the step-by-step instructions below.
Solution 1. Fix Corrupted System Files
Use Command Prompt commands to repair system file corruption:
- Open Command Prompt as administrator
- Use the following command and press Enter:
sfc /scannow
- Reboot your system
- If SFC returned an error, then use the following command lines, pressing Enter after each:
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
Solution 2. Enable PowerShell
- Press the Windows key
- Type Control Panel and press Enter
- Click the drop-down menu in the top right corner of the screen and select Large icons
- Click on Programs and Features
- Click on the Turn Windows features on or off option from the left pane
- In the Windows Features screen, verify that the Windows PowerShell (it can be suffixed with 2.0 depending on the version) checkbox is checked or not
- If it is unchecked, check the box and press the OK button
Solution 3. Use the Run box or File Explorer
If having trouble opening PowerShell using the Search menu, try one of these alternatives:
Run a command:
- Click the Windows key + R to open the Run dialog box
- Type PowerShell
- Press Ctrl + Shift + Enter to run PowerShell as admin
- Click Enter to open it
Use File Explorer:
- Click the Windows key + E
- Type PowerShell
- Click Enter
Solution 4. Make PowerShell Shortcut on Desktop
- Right-click on the desktop and select New
- Select Shortcut
- Click on the Browse button
- Scroll down the list and expand This PC
- Click on C Drive > Windows folder > expand SysWOW64
- Expand the WindowsPowerShell folder
- Select the powershell.exe file
- Click on OK > Next > Finish to create the shortcut
Solution 5. Update Windows PowerShell
- Press the Windows key + X to open the Power User menu
- Select Terminal (Admin) from the list and click on Yes
- Type the following command and press Enter:
Winget install –id Microsoft.Powershell –source Winget
- Wait for a few seconds for the latest version of PowerShell to download and install
- Hopefully, after updating PowerShell, the error will be resolved
Solution 6. Use System Restore
System Restore is a feature in Microsoft Windows that allows users to revert their computer's state to a previous point in time. This can be helpful if you have made changes to your system that are causing problems.
- Go to the Start menu, type restore, and click on Create a restore point
- Click System Restore, then follow the prompts until you can select a restore point
- Select the one you want (ideally before the issue started occurring) and go ahead with the process
Solution 7. Reset Windows
The reset option in Windows will reinstall the operating system but will keep your personal files. However, any apps or drivers that you have installed will be removed, as well as any changes you have made to the settings. The reset option is intended to be used as a last resort when other methods of troubleshooting and repair have failed.
- Click Start and select Settings
- Select Recovery on the System tab
- Next, press the Reset PC button
- Select Keep my files in the Reset this PC window
- Choose either the Cloud download or Local reinstall option
- Select the Reset option
- Wait for the process to finish and check if the issue is resolved
Repair your Errors automatically
ugetfix.com team is trying to do its best to help users find the best solutions for eliminating their errors. If you don't want to struggle with manual repair techniques, please use the automatic software. All recommended products have been tested and approved by our professionals. Tools that you can use to fix your error are listed bellow:
Prevent websites, ISP, and other parties from tracking you
To stay completely anonymous and prevent the ISP and the government from spying on you, you should employ Private Internet Access VPN. It will allow you to connect to the internet while being completely anonymous by encrypting all information, prevent trackers, ads, as well as malicious content. Most importantly, you will stop the illegal surveillance activities that NSA and other governmental institutions are performing behind your back.
Recover your lost files quickly
Unforeseen circumstances can happen at any time while using the computer: it can turn off due to a power cut, a Blue Screen of Death (BSoD) can occur, or random Windows updates can the machine when you went away for a few minutes. As a result, your schoolwork, important documents, and other data might be lost. To recover lost files, you can use Data Recovery Pro – it searches through copies of files that are still available on your hard drive and retrieves them quickly.
- ^ Brien Posey. What Are the Basic PowerShell Commands?. Itprotoday. Technical Explainer.
- ^ Chris Hoffman. Everything You Need To Know About the Blue Screen of Death. Howtogeek. Tech Insight Magazine.
- ^ Tim Fisher. What Is the Windows Registry?. Lifewire. Software and Apps.