Solutions for Non-Existent PowerShell in Windows OS
Solutions for Non-Existent PowerShell in Windows OS
PowerShell is a handy tool that lets you automate tasks, troubleshoot various errors, and manage a variety of Windows settings. But what if it suddenly goes missing from your computer?
If you use PowerShell frequently, it can be aggravating when Windows cannot find it. Thankfully, it’s possible to restore the missing PowerShell with a few troubleshooting tips. In this post, we’ll walk you through all of them.
Disclaimer: This post includes affiliate links
If you click on a link and make a purchase, I may receive a commission at no extra cost to you.
1. Make Sure Windows PowerShell Is Enabled
On Windows, you can enable or disable optional features and programs from the Control Panel. To start, you need to ensure that PowerShell isn’t disabled on your computer. Here’s how to check.
- PressWin + R to open the Run dialog.
- Typecontrol in the box and pressEnter to open Control Panel.
- Click the drop-down menu in the top right corner to selectLarge icons .
- Go toPrograms and Features .
- Click theTurn Windows features on or off link from the left pane.
- When the User Account Control (UAC) prompt appears, selectYes to continue.
- In the Windows Features dialog, locateWindows PowerShell and select its checkbox.
- ClickOK to save the changes.
Restart your computer after this (seehow to restart a Windows computer ) and then try to launch PowerShell using the search menu.
2. Launch PowerShell Using Run Command or File Explorer
If you are unable to open PowerShell via the search menu, you can try using the Run dialog box. PressWin + R to open the Run dialog. Typepowershell in the box and pressEnter . If you want to launch PowerShell with admin rights, pressCtrl + Shift + Enter instead.
You can also open PowerShell from the File Explorer address bar. To do so, pressWin + E to open File Explorer. TypePowerShell in the address bar and pressEnter .
3. Create a Desktop Shortcut for PowerShell
Windows may fail to open PowerShell if it does not know the exact file path to the PowerShell executable file. If that’s the case, you can manually locate the PowerShell executable file on your computer and create a desktop shortcut for it. Here are the steps for doing the same.
- Right-click on theStart icon to open the Power User menu and selectFile Explorer from the list.
- Navigate toThis PC .
- Head over toC: > Windows > SysWOW64 and locateWindowsPowerShell folder.
- Open the WindowsPowerShell folder and go to thev1.0 folder.
- Double-click on the PowerShell executable file and see if it works. If it does, right-click on it and selectSend to > Desktop (create shortcut) .
You can then use the newly created desktop shortcut to launch PowerShell. For added convenience, you can assign a keyboard shortcut to PowerShell. To learn more about this, check our guide onhow to assign keyboard shortcuts to programs in Windows .
4. Scan Your Computer for Corrupted System Files
Damaged or corrupted system files can also interfere with Windows operations and prevent PowerShell from launching. Fortunately, your Windows PC comes with a few built-in tools, such as SFC (System File Checker) and DISM (or Deployment Image Servicing and Management) that can help you with such issues. If Windows suffers from system file corruption, running these tools will fix the problem.
To run the SFC scan on Windows:
- Click the magnifying glass icon on the taskbar or pressWin + S to open the search menu.
- Typecommand prompt in the search box and selectRun as administrator from the right panel.
- SelectYes when the User Account Control (UAC) prompt appears.
- TypeSFC /scannow in the console and pressEnter .
The SFC scan will start verifying the integrity of your system files and fix any issues with them. The scan might take a while, so be patient.
Next, you need to run the DISM scan. This is another diagnostic tool that Windows offers. It can automatically detect any issues with the system image and fix them. If you want to learn more about them, check out our guide on thedifferences between CHKDSK, SFC, and DISM .
To run DISM,open Command Prompt with admin rights again. Paste the following command in the console and pressEnter .
DISM.exe /Online /Cleanup-image /Restorehealth
Wait for the command to execute successfully, and then restart your PC. Following that, see if Windows can find PowerShell on your computer.
5. Update Windows PowerShell
If Windows still can’t find PowerShell at this point, there could be a problem with the PowerShell app itself. You can try updating the PowerShell app to see if that makes any difference.
To update PowerShell on Windows:
- PressWin + X to open the Power User menu.
- SelectTerminal (Admin) from the list.
- When the User Account Control (UAC) prompt shows up, selectYes .
- Type the following command and pressEnter .
winget install --id Microsoft.Powershell --source winget
Windows will download and install the most recent version of PowerShell. Following that, you should be able to access PowerShell.
Using Command Prompt isn’t the only way to update PowerShell on Windows. If you want to learn other methods, check our guide onhow to install or update PowerShell on Windows .
6. Create a New User Account
It’s possible that the PowerShell not opening problem is limited to your current user account. In that case, you can create and switch to a new user account and see if that works.
To create a new user account on Windows, use these steps.
- Open the start menu and click thegear icon to open the Settings app.
- Navigate toAccounts .
- SelectOther users .
- Click theAdd account button.
- Click on I don’t have this person’s sign-in information and follow the on-screen prompts to create a new user account.
Sign in with your newly created account, and see if Windows can find PowerShell now.
Access Windows PowerShell Again
Hopefully, one of the above fixes has proven useful, and you’re able to access PowerShell once again. If not, you may have to consider resetting your Windows computer as a last resort.
PowerShell isn’t the only command-line tool available on Windows. You can also use the Command Prompt to communicate with your system.
Also read:
- [New] In 2024, Top Ten Cyber Shops Where Every Gift Tells a Story
- [Updated] 2024 Approved Professional MacBook Webcam Capture Techniques Guide
- [Updated] In 2024, Aerial Cinematography Secrets Unveiled
- 2024年度人気動画編集ツールベスト8!無料でダウンロード可能
- A Comprehensive Guide to Installing Titanium Kodi Skin Across Various Kodi Editions
- Bypass YouTube's Limits: Tips to Fix Stalled Video Encoding at Critical Percentages
- Canva Tutorial: Mastering Video Sound Adjustments - Eliminating or Incorporating Audio Seamlessly
- Mastering the Art of YouTube Video Extraction: Dumpert.nl's Top 4 Strategies Unveiled!
- Revitalize Your Smart TV Experience with These Essential Chromecast Updating Tips
- Step-by-Step Guide: Transferring Data From Your PC to Xbox One with an External Hard Drive
- Step-by-Step Guide: Video Editing in Windows 10 (Updated)
- Stop Unwanted Emergency Alerts on Android: Tutorial for Turning Off AMBER Notifications
- The Ultimate Guide to Get the Rare Candy on Pokemon Go Fire Red On Oppo Find N3 Flip | Dr.fone
- Top-Rated Audio Amplifier: A User-Friendly Guide to Boosting Sound Clarity
- Watch Copa America 2021 for Free - Best Legal Online Streaming Options
- Title: Solutions for Non-Existent PowerShell in Windows OS
- Author: David
- Created at : 2024-11-03 18:46:47
- Updated at : 2024-11-07 17:06:21
- Link: https://win11.techidaily.com/solutions-for-non-existent-powershell-in-windows-os/
- License: This work is licensed under CC BY-NC-SA 4.0.