Before we start: It's highly suggested to make a full and bootable clone for your system with Donemax Disk Clone. If there are issues happened and cannot be fixed in any way, you can use the cloned drive to replace the system drive to avoid the issue completely.
PAGE CONTENT:
Windows PowerShell is a powerful command-line tool designed to help IT professionals, developers, and even regular users automate tasks, manage configurations, and run administrative scripts. However, like any system component, PowerShell is not immune to errors. One of the most frustrating problems Windows users face is the dreaded PowerShell has stopped working message.

This guide walks you through the potential causes behind this issue and offers tested, step-by-step solutions to help restore PowerShell functionality on your computer.
Understanding the "PowerShell Has Stopped Working" Error
When this error appears, it often means that PowerShell is crashing unexpectedly. In many cases, the program stops working before a script or command can be executed. You might see a message like:
"Windows PowerShell has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available."

This issue prevents users from executing essential administrative commands, running scripts, or performing automation tasks, making it critical to resolve.
Common Causes of PowerShell Stopping Working
Understanding the root cause is essential before jumping into troubleshooting. Here are the most common reasons:
- Corrupted System Files: Damage to essential system components can crash PowerShell.
- Malware or Virus Infection: Malicious software can target system utilities like PowerShell.
- Conflicting Third-Party Applications: Recently installed apps may interfere with PowerShell processes.
- Corrupted User Profile: User-specific settings might be corrupted, affecting PowerShell functionality.
- Outdated or Corrupted PowerShell Installation: Older or incomplete installations may cause crashes.
- Incorrect System Environment Variables: Misconfigured system variables can disrupt PowerShell execution.
Solutions to Fix PowerShell Has Stopped Working
Method 1. Preliminary Checks
Before diving into complex troubleshooting, perform these basic checks:
- Start Your Computer Again: Simple reboots often resolve temporary glitches.
- Run PowerShell as Administrator: Right-click the PowerShell icon and select "Run as Administrator" to bypass permission issues.
- Check in Safe Mode: Booting into Safe Mode can help determine if third-party apps are causing conflicts.
If PowerShell still crashes after these checks, proceed with the solutions below.
Method 2. Run System File Checker (SFC) and DISM
One of the most common causes of "PowerShell has stopped working" is corruption in critical system files. Over time, improper shutdowns, failed Windows updates, malware infections, or disk errors can damage these files, causing built-in tools like PowerShell to malfunction or crash entirely.
Windows provides two powerful utilities to address this:
- SFC (System File Checker): Scans your system for corrupted or missing files and replaces them with known good versions from a cached copy.
- DISM (Deployment Imaging Servicing and Management): Repairs deeper issues within the Windows image, ensuring that even system files used by SFC are intact.
Together, these tools can resolve most system-level file integrity problems.
- Type cmd into the Command Prompt by pressing Win + S. Then, right-click on it and choose "Run as Administrator."
- Type the below command and hit Enter:
sfc /scannow
- Wait for the scan to complete. If SFC finds and repairs issues, restart your PC.
If the problem persists, run DISM:
DISM /Online /Cleanup-Image /RestoreHealth
This command repairs the Windows system image, which may resolve deeper corruption.
Method 3. Check for Malware or Virus Infections
Malware can disable or corrupt system utilities, including PowerShell. Run a full system scan using:
Windows Security (Defender):
- To access Privacy & Security > Windows Security > Virus & Threat Protection, press Win + I.
![fix PowerShell has stopped working]()
- Click Quick Scan or choose Full Scan for a thorough check.
![fix PowerShell has stopped working]()
Third-Party Antivirus Tools:
Use reputable programs like Malwarebytes or Bitdefender for deep system scans.
If infections are found, quarantine or remove them, then restart your PC and test PowerShell.
Method 4. Disable Conflicting Startup Programs
Third-party apps launching at startup might interfere with PowerShell. Perform a Clean Boot to isolate the issue.
- Type msconfig using Win + R, then hit Enter.
- Click Disable all after selecting Hide all Microsoft services under the Services menu.
![fix PowerShell has stopped working]()
- Click Open Task Manager under the Startup tab, then turn off every startup item.
![fix PowerShell has stopped working]()
- Start your PC and check if PowerShell works.
If it functions normally, gradually re-enable services to identify the problematic application.
Method 5. Create a New User Profile
A corrupted user profile can prevent PowerShell from operating correctly.
Steps to Create a New Profile:
- To access Settings, press Win + I.
- Select Accounts > Other Users > Add account.
- Follow prompts to create a new local or Microsoft account.
- Sign in with the new account and test PowerShell.

If PowerShell works in the new account, the original profile may be corrupted. You can transfer data and continue using the new profile.
Method 6. Re-register PowerShell
Sometimes, re-registering PowerShell fixes issues with corrupted components.
- Launch Command Prompt in Administrator mode.
- Run the below mentioned command to re-register PowerShell for all users:
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
- Restart your computer.
This process restores default PowerShell configurations and may resolve crashes.
Method 7. Update Windows and PowerShell
An outdated Windows version or PowerShell build can cause compatibility issues.
Steps to Update Windows:
- Click Check for Updates after selecting Windows Update by pressing Win + I.
- Install all pending updates and restart your PC.

To Update PowerShell (Standalone Installations):
- Visit the official Microsoft PowerShell download page:
- Download the latest version suitable for your system.
- Install it following on-screen instructions.
Updated versions often include bug fixes and stability improvements.
Method 8. Reset Environment Variables
Incorrect or missing environment variables can cause PowerShell to malfunction.
Steps to Reset Variables:
- Press Win + S, search Environment Variables, and open Edit the system environment variables.
![fix PowerShell has stopped working]()
- Under System Properties, change to Advanced tab, click Environment Variables.
![fix PowerShell has stopped working]()
- Ensure essential variables like Path contain necessary entries:
C:\Windows\System32\WindowsPowerShell\v1.0\
- If entries are missing, add them manually, then restart your PC.
![fix PowerShell has stopped working]()
Method 9. Advanced Troubleshooting Options
If basic fixes don't work, consider these advanced steps:
1. Analyze Event Viewer Logs
- Choose Event Viewer by pressing Win + X.
- Go to Windows Logs > Application and search for PowerShell-related error reports.
- Review the logs to identify specific faulting modules or patterns.

Logs can reveal clues about underlying system conflicts.
2. Check System Reliability Report
- Type perfmon /rel using Win + R, then hit Enter.
- System failures and mistakes are displayed over time via the Reliability Monitor.
- Locate PowerShell crashes and review associated details.

3. Reinstall PowerShell (Advanced Users)
On modern Windows versions, PowerShell can be reinstalled separately.
- Uninstall PowerShell via Apps & Features if installed as a standalone.
- Download the latest installer from the official PowerShell GitHub page.
- Install the latest stable version.
💡 Note: For built-in PowerShell tied to Windows core components, reinstalling the entire system may be required if severe corruption exists.
What to Do If Cannot Fix PowerShell Has Stopped Working
If you've exhausted all solutions and PowerShell remains non-functional:
Option 1. System Restore
Run System Restore to revert your system to an earlier working state:
- Press Win + S, type Create a restore point, and open it.
- Under System Protection, click System Restore.
- Follow the wizard to restore your system.

This reverts system settings and files without affecting personal data. Also, you need to make a restore point before. Otherwise, you cannot restore system in this way.
Option 2. Windows Repair Install (Last Resort)
A repair install reinstalls Windows while keeping personal files and most applications:
- Download the latest Windows ISO from Microsoft's official site.
- Run the setup and choose to install Windows and keep your personal files and apps.
- Follow prompts to perform a repair installation.

This method refreshes system files and can fix persistent PowerShell errors.
Preventive Tips to Avoid PowerShell Crashes
- Regularly Update Windows: Keeps your system stable with security patches and bug fixes.
- Use Reliable Antivirus: Prevents malware from corrupting system tools.
- Avoid Untrusted Scripts: Only run scripts from trusted sources to avoid damaging configurations.
- Backup System Settings: Use System Restore points and backup tools regularly.
- Monitor System Health: Check for disk errors and system integrity periodically.
Conclusion
The "PowerShell has stopped working" error can severely hinder your ability to manage, automate, and troubleshoot your Windows system. Fortunately, most issues stem from fixable causes like system file corruption, conflicting apps, or outdated installations.
This guide has provided multiple solutions ranging from basic system checks to advanced troubleshooting methods. Start with simpler fixes like SFC scans and user profile tests, progressing to advanced steps only if needed.
If PowerShell continues to fail despite these efforts, seeking professional technical support is advisable to prevent further complications.
By following these steps and practicing preventive measures, you can restore and maintain PowerShell's functionality, ensuring your system remains productive and reliable.

Donemax Disk Clone
An award-winning disk cloning program to help Windows users and Mac users clone HDD/SSD/external device. It also can create full bootable clone backup for Windows PCs and Macs.
Related Articles
- Jan 02, 20255 Methods to Fix APFS Snapshot Invalid or APFS Snapshot Metadata Tree Is Invalid on Mac
- Dec 17, 2024Can't Delete Files from USB Drive or SD Card on Mac? Fix It Now
- Jan 22, 2024New SSD Not Recognized By Disk Utility on Mac, Fix It Now
- Jan 12, 20257 Solutions to Solve The 'WD Drive Unlock Will Damage Your Computer' Error
- Dec 25, 20248 Solutions to Fix The Disk Couldn't Be Ejected Because the Finder Is Using It
- Jun 03, 2025Fix Crucial P3 SSD Not Showing Up
Coco Lin
Coco has been a writer and a chief programmer at Donemax software since 2018. Over 10 years of experience of writing troubleshooting articles in the software industry, she is passionate about programming and loves to providing solutions to Windows and Mac users. Also she enjoys music and palying tennis in her free time.
Gerhard Chou
In order to effectively solve the problems for our customers, every article and troubleshooting solution published on our website has been strictly tested and practiced. Our editors love researching and using computers and testing software, and are willing to help computer users with their problems
Hot Donemax Products
Clone hard drive with advanced clone technology or create bootable clone for Windows/Mac OS.
Completely and easily recover deleted, formatted, hidden or lost files from hard drive and external storage device.
Certified data erasure software - permanently erase data before selling or donating your disk or any digital device.






