How to Fix PowerShell Not Working in Windows 11

Windows PowerShell is a powerful command-line shell and scripting environment used for system administration, automation, and troubleshooting. In Windows 11, PowerShell is tightly integrated with system components and management tools, making it essential for both everyday users and IT professionals.

However, some users encounter issues where PowerShell does not open, closes immediately, shows errors, fails to run commands, or does not launch with administrator privileges. These problems are usually caused by corrupted system files, disabled execution policies, broken app packages, permission restrictions, or conflicts introduced after Windows updates.

Fixing PowerShell not working in Windows 11 involves checking system integrity, repairing app components, verifying policies, and resetting configuration settings. The steps below explain all reliable solutions in detail.

How to Fix PowerShell Not Working in Windows 11

Follow the methods in order and test PowerShell after each step.

1. Restart Windows and Try Opening PowerShell Again

Temporary system glitches can prevent PowerShell from launching.

  1. Save all open work.
  2. Restart Windows 11.
  3. Open the Start menu.
  4. Search for Windows PowerShell.
  5. Try launching it normally and as administrator.

A restart often restores blocked system processes.

2. Run PowerShell as Administrator

Permission issues can stop PowerShell from executing commands.

  1. Open the Start menu.
  2. Search for PowerShell.
  3. Right-click Windows PowerShell.
  4. Select Run as administrator.
  5. Approve the User Account Control prompt.

Many system commands require elevated privileges.

3. Launch PowerShell Using Run Dialog

If the Start menu shortcut is broken, use Run.

  1. Press Windows + R.
  2. Type powershell.
  3. Press Enter.
  4. To run as admin, press Ctrl + Shift + Enter.

This bypasses Start menu shortcut issues.

4. Check Execution Policy Settings

Restricted execution policies can block scripts and commands.

  1. Open PowerShell as administrator.
  2. Run the following command: Get-ExecutionPolicy
  3. If it shows Restricted, change it by running: Set-ExecutionPolicy RemoteSigned
  4. Type Y to confirm.

This allows trusted scripts to run without disabling security.

5. Repair Corrupted System Files Using SFC

System file corruption can prevent PowerShell from working.

  1. Open Command Prompt as administrator.
  2. Run: sfc /scannow
  3. Wait for the scan to complete.
  4. Restart Windows after the scan finishes.

This repairs corrupted or missing system files.

6. Use DISM to Repair Windows Image

If SFC does not fix the issue, use DISM.

  1. Open Command Prompt as administrator.
  2. Run the following commands one by one: DISM /Online /Cleanup-Image /CheckHealth DISM /Online /Cleanup-Image /ScanHealth DISM /Online /Cleanup-Image /RestoreHealth
  3. Restart Windows after completion.

DISM fixes deeper system image corruption.

7. Reinstall PowerShell Using Windows Features

PowerShell components may be damaged or missing.

  1. Open Settings.
  2. Go to Apps.
  3. Select Optional features.
  4. Look for Windows PowerShell.
  5. If present, remove it.
  6. Restart Windows.
  7. Add Windows PowerShell again from Optional features.

This reinstalls PowerShell system components.

8. Reset PowerShell App Package Using Windows Terminal

Resetting the app package can fix launch issues.

  1. Open Windows Terminal as administrator.
  2. Run the following command: Get-AppxPackage Microsoft.PowerShell | Reset-AppxPackage
  3. Close Terminal.
  4. Restart Windows and test PowerShell.

This resets PowerShell app registration.

9. Check Group Policy Restrictions

Group Policy settings can block PowerShell.

  1. Press Windows + R.
  2. Type gpedit.msc and press Enter.
  3. Navigate to PowerShell-related policies.
  4. Ensure PowerShell execution is not disabled.
  5. Apply changes and restart the PC.

This is common on work or managed devices.

10. Check Antivirus or Security Software

Security tools may block PowerShell as a precaution.

  1. Temporarily disable third-party antivirus software.
  2. Try opening PowerShell.
  3. If it works, add PowerShell to exclusions.
  4. Re-enable antivirus protection.

Some security suites restrict scripting tools.

11. Create a New User Account

Corrupted user profiles can break PowerShell.

  1. Open Settings.
  2. Go to Accounts > Other users.
  3. Add a new user account.
  4. Sign in with the new account.
  5. Open PowerShell and test functionality.

If it works, the original user profile may be corrupted.

12. Reset Windows 11 (Last Resort)

If PowerShell still does not work, a system reset may be required.

  1. Open Settings.
  2. Go to System > Recovery.
  3. Click Reset this PC.
  4. Choose Keep my files.
  5. Complete the reset process.

This restores system components without deleting personal files.

Final Thoughts

PowerShell not working in Windows 11 is usually caused by corrupted system files, execution policy restrictions, damaged app packages, or security software interference rather than a critical operating system failure. In most cases, repairing system files or resetting the PowerShell package resolves the issue quickly.

Posted by Raj Bepari

I’m a digital content creator passionate about everything tech.