Windows PowerShell has stopped working [4 Steps to fix it]

Andrew Wafer
by Andrew Wafer
Download PDF
Affiliate Disclosure

  • 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.
Solve Windows PowerShell has stopped working error

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

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.

Windows 10 Safe Mode is not working? Check this useful guide and set things right once again.

2. Initiate a clean boot

  1. Press the Win+R keyboard hotkeys in order to launch the run box.
  2. There, type msconfig and press Enter.msconfig windows 10
  3. From System Configuration, go to the General tab.
  4. From there, under Selective Startup uncheck the lload startup items field.
  5. Next, switch to the Services tab.
  6. Click on the hide all Microsoft services checkbox and afterward click on Disable all.clean boot windows 10
  7. Now, switch to the Startup tab and click on the Open task manager on the Open task manager link
  8. From Task Manager disable all Startup programs.
  9. Save your changes and close these windows.
  10. 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

  1. Press on Win+X hotkeys and select Control Panel.
  2. From Control Panel switch to category.
  3. From the list that’s displayed, it’s time to choose Uninstall – located under Programs.Uninstall option
  4. From the left panel of the main window click on Turn Windows features on or off.
  5. Scroll down and locate the Windows PowerShell entry.
  6. Uncheck the PowerShell feature.
  7. Save and apply your changes.
  8. Restart your Windows 10 computer.
  9. Afterward, repeat the steps from above and re-enable the Windows PowerShell feature.

You can’t open Control Panel? Take a look at this step-by-step guide to find a solution.

4. Create a new Microsoft account

  1. Click on the Windows start icon.
  2. Choose Settings and then navigate towards Accounts.
  3. From there select Family & other users.powershell fix Family & other users
  4. Click on Add someone else to this PC.
  5. 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.

Was this page helpful?
Thanks for letting us know! You can also help us by leaving a review on MyWOT or Trustpillot.
Get the most from your tech with our daily tips
Tell us why!