Home > Windows

Windows Powershell not working in Windows 11: How to Fix

In this guide, we will show you various methods to fix the Windows Powershell not working issue on your Windows 11 PC. This command-line shell from the Redmond giants received a major overhaul in the latest iteration of the OS. Likewise, it has also been blessed with a few noteworthy features. Apart from the ability to execute commands, it could also be used as a scripting language and an automation platform for Microsoft as well as third-party services like Google Cloud and AWS.

However, in spite of all the goodies attached, it isn’t free from its fair share of issues either. Various users have voiced their concern that the Powershell is not working issue on their Windows 11 PC. As far as the reason for the same is concerned, it could be quite a few ones. including the likes of corrupt system files and interference with third-party services. With that said, this guide will make you aware of a few workarounds that would help you resolve this issue. Follow along.

Fix Windows Powershell not working in Windows 11

It is recommended that you try out each of the below-mentioned workarounds and then see which one spells out success for you. So with that in mind, let’s get started.

FIX 1: Re-Enable Windows PowerShell

First and foremost, you should consider disabling and then re-enabling Powershell. This will refresh its underlying settings and could well resolve the underlying issue. So refer to the below instruction steps to try it out

  1. Launch Turn Windows Feature On or Off from the Start menu.
  2. Then uncheck Windows Powershell 2.0 and hit OK.Powershell not working in Windows 11
  3. Again bring up this menu and this time checkmark Windows Powershell 2.0
  4. Now check if it fixes the issue of Powershell not working in Windows 11.

FIX 2: Run PowerShell as Admin

In some instances, the Powershell might not function in a restrictive environment, bereft of the necessary permissions. Therefore, you should consider launching in with administrative privileges, using the instructions given below

  1. Bring up Task Manager via Ctrl Shift Esc shortcut keys.
  2. Then go to File Run New Task and type in Powershell.Powershell not working in Windows 11
  3. Now checkmark Create this task with administrative privileges and hit OK.
  4. Check if it fixes Powershell not working issue in Windows 11.

FIX 3: Use Windows Troubleshooters

Windows comes built-in with quite a few troubleshooter apps that scan for issues and bring out the related fixes. As for the current issue, we will be using the System Maintenance and the Hardware and Devices troubleshooters, as they are the best fit to resolve this bug.

  1. Bring up the Run dialog box via Windows R shortcut keys.
  2. Then type in the below command and hit Enter
    msdt.exe -id MaintenanceDiagnostic
  3. This will launch the System Maintenance troubleshooter, click Next to continue.Powershell not working in Windows 11
  4. It will now scan for underlying issues and bring up the related fix as well.
  5. Just select the fix to implement and then check if the issue has been fixed or not.
  6. If it is still there, then enable the Hardware and Devices troubleshooter on your PC.Powershell not working in Windows 11
  7. Then launch it, click Next and let it scan for issues. Then apply the fixes that it brings up.
  8. Check if it fixes the Windows Powershell not working issue in Windows 11.

FIX 4: Boot to Safe Mode

In some instances, a third-party app might conflict with the OS functionality as well. The best way to verify and hence rectify this issue is to boot your PC to the Safe Mode. Doing so will disable all the third-party apps and give you the stock environment with just the system apps. If you are able to select multiple files in this mode, then the culprit is an app or software. Therefore, you should consider uninstalling the recently installed apps after which the issue first came to light. Here’s how:

  1. Bring up the Run dialog box via Windows+R shortcut keys.
  2. Then type in the below command and hit Enter to open the System Configuration menu
    msconfig

    Powershell not working in Windows 11

  3. Now go to its Boot tab and checkmark Safe Mode under Boot Options.
  4. Finally, click OK followed by Restart in the confirmation dialog box.
  5. Your PC will now boot to Windows Recovery Environment.
  6. Go to Troubleshoot > Advanced options > Startup Settings > Click Restart > Press 4 to boot to Safe Mode.Powershell not working in Windows 11
  7. Now check if it fixes the Windows Powershell not working issue in Windows 11.

FIX 5: Disable Third-Party Service

A third-party service could also create a few roadblocks in the functioning of this feature. Therefore, you should consider disabling all the non-Microsoft-related services and then test out the results. Here’s how it could be done

  1. Head over to the Start Menu, search System Configuration, and open it.
  2.  Then go to the Services tab, checkmark Hide All Microsoft Services, and click on the Disable All button.
    Powershell not working in Windows 11
  3. Then go to the Startup tab and click on Open Task Manager.
    Powershell not working in Windows 11
  4. Now select a process from the list and click Disable. Do so for all the running services.
    Powershell not working in Windows 11
  5. Once done, restart your PC and then check if it fixes the Windows Powershell not working issue in Windows 11.

FIX 6: Use SFC and DISM Commands

System File Checker and Deployment Image Servicing and Management are two command-line utility tools that scan for corrupt Windows files and then replace them with their working counterpart. The major difference between the two is whereas the SFC replaces the corrupt files with the working ones from the cached directory on your PC, DISM does so by downloading the working files from the online Microsoft servers. And as of now, we would be making use of both these tools to fix the underlying issue.

  1. Head over to the Start Menu, search Command Prompt, and launch it as an administrator.
  2. Then copy-paste the below command to open the SFC Tool:
    sfc /scannow

    Powershell not working in Windows 11

  3. Once the SFC Scanning is complete, it’s time to use the DISM Tool. So copy-paste the below command:
    DISM /Online /Cleanup-Image /RestoreHealth

    Powershell not working in Windows 11

  4. Once DISM finishes the scanning, it is recommended to reboot your PC.
  5. Now check if it fixes the Windows Powershell not working issue in Windows 11.

FIX 7: Use a Restore Point

If none of the aforementioned methods spelled out success, then you should consider restoring your system to an earlier point during which it was free from this issue. Here’s how it could be done

  1. To begin with, open the Settings page via the Windows+I shortcut keys.
  2. Then go to the System tab from the left menu bar, scroll all the way to the bottom and click on About.
    Powershell not working in Windows 11
  3. After that, click on the System Protection option present on the Related Links tab.
    Powershell not working in Windows 11
  4. This shall launch the System Properties dialog box. Go to the System Protection tab and click on System Restore.
    Powershell not working in Windows 11
  5. Windows will now bring up the backup under the Recommended Restore section. This is the backup that it finds most suitable according to your PC’s current condition.
    Powershell not working in Windows 11
  6. If you are satisfied with it, enable the Recommended Restore option and hit Next.
  7. However, if you wish to select any other custom backup, then select Chose a Different Restore point and click Next.
  8. Now select the desired custom restore point and hit Next.
    Powershell not working in Windows 11
  9. Windows will now bring up the finalized screen showing all your selections. You may click on the Scan for Affected program option and get a list of all the programs that would be uninstalled/re-installed after this restore.
    Powershell not working in Windows 11
  10. If everything is as per your requirement, hit the Finish button and wait for the restore to complete.
  11. Once done, your PC will automatically boot to that system restore point and the underlying issue would be resolved.

So with this, we round off the guide on how you could fix the Windows Powershell not working issue in Windows 11.
. We have listed six different methods for the same. Do let us know in the comments section which one spelled out success for you. Likewise, all your queries are welcomed in the comments below.


Share: