How to Fix PowerShell or Terminal Not Opening on Windows
PowerShell won't launch, Windows Terminal closes immediately, or Command Prompt not opening? Fix shell execution errors, missing profiles, and corrupted PowerShell installations.
Symptoms
You might be experiencing this problem if you notice:
- •PowerShell window opens and immediately closes
- •Windows Terminal shows a blank window or crashes
- •Right-click "Open in Terminal" does nothing
- •"powershell.exe is not recognized" error
- •PowerShell opens but shows red error text on startup
- •Admin PowerShell won't launch via Start menu
Common Causes
- âš Corrupted PowerShell profile script running on startup
- âš Windows Terminal app corrupted or misconfigured
- âš Execution policy blocking profile scripts
- âš Antivirus blocking PowerShell (common security setting)
- âš System PATH variable missing PowerShell directory
- âš .NET framework corruption affecting PowerShell
Solutions
Solution 1: Bypass Profile and Test PowerShell
- 1Press Win + R to open Run dialog
- 2Type: powershell -NoProfile -ExecutionPolicy Bypass
- 3If this opens successfully: your PowerShell profile has an error
- 4Check profile: type $PROFILE to see the path
- 5Open that file in Notepad and look for errors or remove it temporarily
- 6If PowerShell still won't open: try cmd.exe first to diagnose
Solution 2: Repair Windows Terminal
- 1Open Settings > Apps > Installed apps
- 2Search for "Windows Terminal"
- 3Click three dots > Advanced options > Repair
- 4If Repair doesn't work: click Reset
- 5If still broken: Uninstall and reinstall from Microsoft Store
- 6Alternative: use powershell.exe directly from Win + R until Terminal is fixed
Solution 3: Fix PowerShell Path and Registration
- 1If "powershell.exe is not recognized":
- 2Check that C:\Windows\System32\WindowsPowerShell\v1.0 is in your PATH
- 3Open System Properties > Advanced > Environment Variables > System variables > Path > Edit
- 4Add the PowerShell path if missing
- 5For PowerShell 7: check C:\Program Files\PowerShell\7
- 6Run: sfc /scannow in an Admin Command Prompt to repair system files
FIXES THIS IN 5 MINUTES
Fix PowerShell or Terminal Not Opening Automatically
RescuePC Toolkit includes 109+ automated repairs that fix this problem with one click. No command line knowledge required.
Download Now - Free TrialNo credit card required • Works on Windows 10 & 11