- PowerShell issues are part of the Windows 10 errors that users experience day by day.
- If Windows PowerShell has stopped working, chances are your computer contains hidden software, like a virus.
- Be sure to run a scan with your security software or initiate a clean boot.
- For more Windows PowerShell errors and how to solve them, check out our dedicated guides.
Experiencing Windows PowerShell errors is not a pleasant situation, so you need to take action when receiving the Windows PowerShell has stopped working message.
Why is PowerShell not working? In some situations, a malware attack might be the reason why Windows PowerShell is not functioning properly.
This error is quite annoying as it will stop the processes that are running on your Windows 10 system. Moreover, you will get the error message with no further details, thus you cannot tell what exactly caused this issue.
Anyway, you shouldn’t panic. As always, there are different troubleshooting solutions that can be applied to fix the Windows PowerShell has stopped working error.
How do I fix Windows PowerShell has stopped working?
1. Initiate a full system scan
In some situations, a malware attack might be the reason why Windows PowerShell is not working properly. So, the first thing to do is to initiate a security scan.
Chances are you got infected with Poweliks, a malware that interferes with PowerShell. The file associated with this virus are dllhost.exe *32 or dllhst3g.exe *32 and can be usually stopped from Task Manager.
Now, in this case, you need to use an antivirus tool and scan your Windows 10 system for possible infected files. The security program should find and remove the malware automatically.
It’s recommended to run the security scan from Safe Mode – that’s when third-party apps and processes are disabled by the Windows 10 platform.
2. Initiate a clean boot
- Press the Win+R keyboard hotkeys in order to launch the run box.
- There, type msconfig and press Enter.
- From System Configuration, go to the General tab.
- From there, under Selective Startup uncheck the lload startup items field.
- Next, switch to the Services tab.
- Click on the hide all Microsoft services checkbox and afterward click on Disable all.
- Now, switch to the Startup tab and click on the Open task manager link.
- From Task Manager disable all Startup programs.
- Save your changes and close these windows.
- Restart your Windows 10 system.
You can see if a software conflict is causing Windows PowerShell malfunctions by initiating a clean boot. In this way, you can start the Windows 10 system only with default features.
If the Windows PowerShell has stopped working error is not displayed after the clean boot is performed it means that there is a software conflict, so you need to remove the program that stands behind this issue.
3. Disable and re-enable Windows PowerShell
- Press on Win+X hotkeys and select Control Panel.
- From Control Panel switch to category.
- From the list that’s displayed, it’s time to choose Uninstall – located under Programs.
- From the left panel of the main window click on Turn Windows features on or off.
- Scroll down and locate the Windows PowerShell entry.
- Uncheck the PowerShell feature.
- Save and apply your changes.
- Restart your Windows 10 computer.
- Afterward, repeat the steps from above and re-enable the Windows PowerShell feature.
4. Create a new Microsoft account
- Click on the Windows start icon.
- Choose Settings and then navigate towards Accounts.
- From there select Family & other users.
- Click on Add someone else to this PC.
- Just follow on-screen prompts for resuming this process.
Note: Remember to backup your data before completing this process – you might have to import your personal files and app under the new account.
Your account might be corrupted (due to various reasons) and that’s why you still get the Windows PowerShell has stopped working error. So, try to create a new account and then verify if the problem still occurs or not.
Hopefully, the error message is gone now. If you have questions related to the troubleshooting solutions from above, contact our team. You can get in touch with us easily by using the comments field from below.
Also, if you come across other solutions to fix this error, list the troubleshooting steps in the comments and we’ll update this guide accordingly.
Editor’s Note: This post was originally published in October 2017 and has been since revamped and updated in March 2020 for freshness, accuracy, and comprehensiveness.