![Addressing Missing PowerShell From Windows Command Prompt](https://thmb.techidaily.com/e7857315bad256fdc5741086fa363d0007b6f6fca6b50e61093052da5a00ac70.jpg)
Addressing Missing PowerShell From Windows Command Prompt
![](/images/site-logo.png)
Addressing Missing PowerShell From Windows Command Prompt
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.
It will help you to write dynamic data reports easily, to construct intuitive dashboards or to build a whole business intelligence cockpit.
KoolReport Pro package goes with Full Source Code, Royal Free, ONE (1) Year Priority Support, ONE (1) Year Free Upgrade and 30-Days Money Back Guarantee.
Developer License allows Single Developer to create Unlimited Reports, deploy on Unlimited Servers and able deliver the work to Unlimited Clients.
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 (see how 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 on how 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 the differences 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 on how 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] Decipher High-Impact Content Selecting Premier Rank Trackers for YouTubers
- [New] State-of-the-Art Gametime Documentation Tools
- 2024 Approved Become a Viral Sensation Crafting Impressive Unboxing Videos
- 2024 Approved GiggleGridsGuild FunnyFrameFactory
- 2024 Approved Hit Parade The Top 10 Songs on Spotify
- 2024 Approved The Role of Workspace Dynamics in Employee Output
- 7 Game-Changing Windows 11 Additions in Moment #22H2
- 7 Windows Utilities To Update File Timestamps
- Addressing and Fixing Device Disabled (Error Code 22) on Windows 11
- Changing File Formats on Windows OS
- Combat Common Instagram Video Snags Here
- Disabling Windows System Update Warnings
- Eliminating the Voice Typing Hiccup with Window's Error Code X80049DD3 Solution
- Fixing Non-Operational Intel Wi-Fi AX201 on PCs
- Full Guide to Bypass Samsung Galaxy M54 5G FRP
- Mastering Windows 11: Integrating Dynamic Desktop Backgrounds
- Mastery Over Warhammer 40K Boltgun: Stopping Stutter Issues on PC
- Maximize Mouse Precision and Reduce System Lag
- Nine No-Go Areas for Novice Windows 11 Users
- Optimize Your Legacy Computer for Windows 11 via To Go & Rufus
- Rectifying Windows Marketplace Colour Glitches
- Resolving Failures: Restoring Java on Windows Devices
- Secure & Efficient Storage: Controlling NTFS Compression in Win11
- Secure Uninterrupted Usage in Your Windows Dashboard
- Short Film Producer YT for 2024
- Simple Steps to Wireless Gaming: Setup DualShock on PC
- Step-By-Step Instructions: Fully Removing WSL
- Steps to Overcome Windows 11: Cannot Open For Writing
- Tech Renaissance: AtlasOS for Obsolete Systems
- The Ultimate Guide to Unlocking Your Apple iPhone X on MetroPCS
- Transforming Forgotten DirectX Apps with DXVK Support
- Troubleshooting Windows 10/11'S Aural Output, via Audacity
- Turn Off Recommended Games on Windows 11 Screen
- Unclouding Your Display: Secrets to a Sharp Windows 11 Screen
- Unmatched Assistance: Best Free Tools for a Win11 Revamp
- Unveiling the Workings of Windows Component Services
- Win11/10 NAT Transition: Altering Type Effectively
- Title: Addressing Missing PowerShell From Windows Command Prompt
- Author: David
- Created at : 2024-08-08 13:12:53
- Updated at : 2024-08-09 13:12:53
- Link: https://win11.techidaily.com/addressing-missing-powershell-from-windows-command-prompt/
- License: This work is licensed under CC BY-NC-SA 4.0.