Что делать если не запускается windows powershell

На чтение 4 мин. Просмотров 19.6k. Опубликовано

Испытание ошибок Windows PowerShell не является распространенной ситуацией, поэтому вам необходимо принять меры при получении сообщения Windows PowerShell перестало работать .

Эта ошибка очень раздражает, так как она остановит процессы, запущенные в вашей системе Windows 10. Более того, вы получите сообщение об ошибке без дополнительной информации, поэтому вы не можете сказать, что именно вызвало эту проблему.

Во всяком случае, вы не должны паниковать. Как всегда, существуют различные решения для устранения неполадок, которые можно применить для исправления ошибки «Windows PowerShell прекратил работу».

Содержание

  1. Действия по исправлению ошибок Windows PowerShell перестали работать
  2. 1. Инициируйте полное сканирование системы
  3. 2. Инициируйте чистую загрузку
  4. 3. Отключите и снова включите Windows PowerShell
  5. 4. Создайте новую учетную запись Microsoft

Действия по исправлению ошибок Windows PowerShell перестали работать

  1. Инициируйте полное сканирование системы.
  2. Сделайте чистый процесс загрузки.
  3. Отключите и снова включите Windows PowerShell.
  4. Создайте новую учетную запись Microsoft.

1. Инициируйте полное сканирование системы

В некоторых ситуациях атака вредоносного ПО может быть причиной того, что Windows PowerShell не работает должным образом. Итак, первое, что нужно сделать, это запустить сканирование безопасности.

Скорее всего, вы заразились Poweliks , вредоносной программой, которая мешает PowerShell. Файл, связанный с этим вирусом: dllhost.exe * 32 или dllhst3g.exe * 32, и его обычно можно остановить из диспетчера задач.

Теперь в этом случае вам нужно использовать антивирусную или антивирусную программу, например Malwarebytes, и сканировать систему Windows 10 на наличие возможных зараженных файлов. Программа безопасности должна автоматически находить и удалять вредоносные программы.

Примечание : рекомендуется запускать сканирование безопасности из безопасного режима, то есть когда сторонние приложения и процессы отключаются платформой Windows 10. Вы можете перейти в безопасный режим:

  1. Нажмите горячие клавиши Win + R и в поле RUN введите msconfig и нажмите Enter.
  2. Из окна Конфигурация системы перейдите на вкладку Загрузка .
  3. В разделе «Загрузка» выберите Безопасная загрузка .
  4. Сохраните изменения и перезагрузите компьютер.
  5. Это все.

2. Инициируйте чистую загрузку

Вы можете увидеть, вызывает ли программный конфликт сбой в Windows PowerShell, инициировав чистую загрузку. Таким образом, вы можете запустить систему Windows 10 только с функциями по умолчанию.

Если ошибка Windows PowerShell перестала работать не отображается после выполнения чистой загрузки, это означает, что существует конфликт программного обеспечения, поэтому необходимо удалить программу, которая стоит за этой проблемой.

Вот как вы можете запустить процесс чистой загрузки:

  1. Нажмите горячие клавиши Win + R на клавиатуре, чтобы запустить окно RUN.
  2. Там введите msconfig и нажмите Enter.
  3. В Конфигурация системы перейдите на вкладку Общие.
  4. С этого момента в разделе Выборочный запуск снимите флажок «Загружать элементы запуска».
  5. Затем перейдите на вкладку Услуги .
  6. Установите флажок скрыть все службы Microsoft , а затем нажмите Отключить все .
  7. Теперь перейдите на вкладку Автозагрузка и нажмите ссылку открыть диспетчер задач .
  8. Из диспетчера задач отключите все автозагрузки программ.
  9. Сохраните ваши изменения и закройте эти окна.
  10. Перезагрузите систему Windows 10.

ТАКЖЕ ПРОЧИТАЙТЕ . Microsoft PowerShell все чаще используется для распространения вредоносного ПО.

3. Отключите и снова включите Windows PowerShell

  1. Нажмите горячие клавиши Win + X и выберите Панель управления .
  2. С панели управления перейдите в категорию .
  3. А из отображаемого списка выберите Удалить – в разделе «Программы».
  4. На левой панели главного окна нажмите ссылку Включить или отключить функции Windows .
  5. Прокрутите вниз и найдите запись Windows PowerShell .
  6. Снимите флажок с PowerShell.
  7. Сохраните и примените ваши изменения.
  8. Перезагрузите компьютер с Windows 10.
  9. После этого повторите шаги, описанные выше, и снова включите функцию Windows PowerShell.

ТАКЖЕ ЧИТАЙТЕ: 10 лучших программ для удаления для пользователей ПК

4. Создайте новую учетную запись Microsoft

Ваша учетная запись может быть повреждена (по разным причинам), и поэтому вы можете получить сообщение об ошибке «Windows PowerShell прекратил работу».

Итак, попробуйте создать новую учетную запись, а затем убедитесь, что проблема все еще возникает или нет.Вот то, что вам нужно следовать:

  1. Нажмите на значок запуска Windows.
  2. Выберите Настройки и перейдите в раздел Аккаунты .
  3. Оттуда выберите Семья и другие пользователи .
  4. Нажмите Добавить кого-то еще на этот компьютер.
  5. Просто следуйте инструкциям на экране для возобновления этого процесса.
  6. Подсказка: не забудьте сделать резервную копию своих данных перед завершением этого процесса – возможно, вам придется импортировать ваши личные файлы и приложение под новой учетной записью.

Надеемся, что сообщение об ошибке «Windows PowerShell перестало работать» исчезло. Если у вас есть вопросы, связанные с решениями для устранения неполадок, описанными выше, свяжитесь с нашей командой.

Вы можете легко связаться с нами, используя поле для комментариев снизу или заполнив контактную форму, доступную на странице О нас.

Кроме того, если вы сталкивались с другими решениями для исправления этой ошибки, перечислите шаги по устранению неполадок в комментариях ниже, и мы соответствующим образом обновим это пошаговое руководство.

Identify issues in a clean boot environment

by Andrew Wafer

Andrew is not just trying to bring you closer to Windows, but he’s truly interested in this platform. He just happens to be passionate about sharing that knowledge… read more


Updated on

  • PowerShell issues are part of the Windows 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 malware scan with your security software or initiate a clean boot to verify if it’s a third-party app creating conflicts.

Windows PowerShell has stopped working

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 why Windows PowerShell is not functioning correctly.

This error is annoying as it will stop the processes running on your Windows 10 system. Also, you will get this error message with no further details, and as a result, you cannot tell what exactly caused this issue.

Anyway, you shouldn’t panic. Different troubleshooting solutions can be applied to fix the Windows PowerShell has stopped working error.

Why is Powershell not working?

Windows PowerShell won’t open due to corrupt system files or when conflicting third-party apps are installed on the computer.

Besides, there is a chance that PowerShell is disabled, so it has stopped working. In this case, you will need to enable it from Windows Features.

In addition to that, the solutions listed here would also work in the following cases:

  • Windows PowerShell not running scripts try catch / import module / unblock-file / uninstall-package / update-help PowerShell not working
  • Windows PowerShell commands not working after Windows Update
  • Powershell has stopped working
  • Windows PowerShell not typing
  • Windows Powershell not opening as administrator – Windows Powershell won’t open
  • Powershell not working in Windows 11, 10
  • CMD and Powershell not working
  • Powershell not showing prompt
  • Visual Studio code Powershell not working
  • Task Scheduler Powershell not working
  • Server 2016, 2012 r2 Powershell not working

Many users reported that nothing happens when they click Run as administrator on PowerShell, which is most likely caused by corrupted system files.

How we test, review and rate?

We have worked for the past 6 months on building a new review system on how we produce content. Using it, we have subsequently redone most of our articles to provide actual hands-on expertise on the guides we made.

For more details you can read how we test, review, and rate at WindowsReport.

This isn’t the only application affected by this issue, and many reported that they couldn’t run Command Prompt as administrator on their PC.

Another indication that you have a system corruption issue is the PowerShell is not recognized message, but luckily, there are ways to fix that.

What can I do if PowerShell has stopped working?

In this article

  • Why is Powershell not working?
  • What can I do if PowerShell has stopped working?
  • 1. Initiate a full system scan
  • 2. Initiate a clean boot
  • 3. Disable and re-enable Windows PowerShell
  • 4. Create a new Microsoft account
  • 5. Reset PowerShell to default
  • What can I do if PowerShell is not working on Windows 11?

1. Initiate a 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 usually be 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 when the Windows 10 platform disables third-party apps and processes.

2. Initiate a clean boot

  1. Press the Windows + R to open the Run command, type msconfig, and click OK.msconfig
  2. From System Configuration, go to the General tab, and uncheck the Load startup items field under Selective startup.uncheck to fix windows powershell stopped working
  3. Next, switch to the Services tab, check the Hide all Microsoft services checkbox and afterward click on Disable all.hide all microsoft serices
  4. Now, switch to the Startup tab and click on the Open Task Manager link.Open Task Manager to fix windows powershell stopped working
  5. Select the programs listed here individually and click on Disable at the bottom.disable startup programs to fix windows powershell stopped working
  6. Now, head back to the System Configuration window, and click on OK.click
  7. Click Restart in the prompt that appears.restart

By initiating a clean boot, you can see if a software conflict is causing Windows PowerShell malfunctions. 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 responsible for this issue.

Read more about this topic

  • PowerShell module cannot be loaded? Try these simple fixes
  • How to use the Windows Update reset script in Windows 10
  • PowerShell history is not working? Check out these solutions

3. Disable and re-enable Windows PowerShell

  1. Press Windows + R to open Run, enter appwiz.cpl in the text field, and click OK.appwiz.cpl
  2. From the left panel of the main window, click on Turn Windows features on or off.turn window features on or off to fix windows powershell stopped working
  3. Scroll down, locate the Windows PowerShell entry, uncheck the option and then click OK.disable to fix windows powershell stopped working
  4. Restart the computer for the changes to come into effect.
  5. Once the PC turns on, head back to the Windows Features window, tick the checkbox for Windows PowerShell, and click OK to re-enable it.re-enable
  6. Wait for it to install.install

After re-enabling the feature, check if the Windows Powershell stopped working issue is resolved.

4. Create a new Microsoft account

  1. Press Windows + I to launch Settings, select Accounts from the navigation pane, and then click on Family & other users.family & other users
  2. Click the Add account button next to Add other user.add account to fix windows powershell stopped working
  3. Provide the required information and follow the on-screen instructions to complete the process.instructions

Remember to back up 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 the problem should be fixed.

5. Reset PowerShell to default

  1. Press Windows + E to launch File Explorer, paste the following path in the address bar while replacing Username with the one on your device, and hit Enter:C:\Users\Username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows PowerShell
  2. Now, select the Windows PowerShell entry, and hit the Del key to delete it. Choose the appropriate response in case a confirmation prompt show up.delete
  3. Now, create a new user account on the same computer, head down the same path, and copy the PowerShell shortcut to a USB drive.
  4. Next, go back to the initial account, navigate to the Windows PowerShell folder, and paste the PowerShell shortcut here.

That’s it! PowerShell has now been reset to the factory settings, and any changes made will automatically be removed.

To ensure PowerShell is working, try to run commands like to list & remove Windows default app.

What can I do if PowerShell is not working on Windows 11?

You can install the latest version of Windows 11, remove conflicting third-party apps, scan for malware, or identify and eliminate corrupt system files.

In addition to these solutions, if the problem started recently, performing a system restore should do the trick and get things up and running quickly.

What version of PowerShell comes with Windows 11?

Right now, on Windows 11, we have PowerShell version 5. However, you can see your exact version by entering the script below into Powershell and hitting Enter.

$PSversionTable

Hopefully, the error message is gone now. If you have questions about the troubleshooting solutions from above, contact our team. You can get in touch with us by using the comments field 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.

newsletter icon

RRS feed

  • Remove From My Forums
  • Question

  • WHEN I JUST START WINDOWS POWERSHELL IT STARTS BUT IT IS NOT OPENING IT SHOWS ITS ICON THE THE TASK BAR BUT STILL WHEN I CLICK ON IT . IT IS NOT OPENING. PLEASE HELP ME TO FIX THIS PROBLEM.

All replies

  • Hi,

    I would like to confirm:
    (1) Windows version and build (Windows 7 ?)
    (2) How to start PowerShell (from cmd.exe ?)

    Regards,


    Ashidacchi

  • Hi,

    Did any error pop up after a few seconds? When did the issue happen, did it happen after you perform an upgrade?

    Run the application via directory C:\Users\***\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows PowerShell to see if it will work.

    Here are a few steps that can help you narrow down the issue:

    1.Change a account with administrator permission to login and test again.

    2.Run SFC /SCANNOW in cmd as administrator to fix the corrupted system files.

    3.If the error message is Restricted access, type the regedit in Search Box and go to HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun. In the right panel, check if the Powershell is listed. If it is list,
    try to delete it.

    4.Go to Event Log to see if there is any related errors exist.

    5.Right click the application and choose Properties-Font tab,change the font and reopen it.

    6.Uninstall and reinstall the framework.

    https://www.microsoft.com/en-sg/download/details.aspx?id=50395&751be11f-ede8-5a0c-058c-2ee190a24fa6=True

    7.Update the powershell

    https://docs.microsoft.com/en-us/powershell/scripting/setup/installing-windows-powershell?view=powershell-5.1


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact
    tnmff@microsoft.com.

    • Proposed as answer by

      Tuesday, November 7, 2017 1:04 AM

  • Please check the following:

    1) can you open and use administrative command prompt?

    2) can you use the start menu and task bar without problems with other icons?

    3) if you switch users can you use powershell?

    Perform the following steps:

    1) open administrative command prompt and type or copy and paste:

    2) sfc /scannow

    3) dism /online /cleanup-image /restorehealth

    4) net user test /add

    5) When these have completed > right click on the top bar or title bar of the administrative command prompt box > left click on edit then select all > right click on the top bar again > left click on edit then copy > paste into the thread

    6) shutdown /r

    7) when the computer reboots sign on with the new user named test > check powershell > report results into the thread for the new user.

  • Hi,

    Any updates?

    If you have any further problems,feel free to contact me.


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact
    tnmff@microsoft.com.

  • Please update the thread and let us know your progress.

    Which steps worked?

    Which steps did not work?

    What still needs troubleshooting?

  • WHEN I JUST START WINDOWS POWERSHELL IT STARTS BUT IT IS NOT OPENING IT SHOWS ITS ICON THE THE TASK BAR BUT STILL WHEN I CLICK ON IT . IT IS NOT OPENING. PLEASE HELP ME TO FIX THIS PROBLEM.

    It’s the same problem with me. Maybe it occurs on windows 10 only, because it worked in windows 7.

  • Hi, also have the same problem of not being able to open the power shell. Whenever I click on it, I just return to my dekstop after 2 seconds and it never opens.

    Everything else is working fine in my device including the start menu & task bar.

    Command prompt doesn’t open as administrative and the same thing happens as in the powershell. It does open without administrative though.

    What should I do ??

  • Hi, also have the same problem of not being able to open the power shell. Whenever I click on it, I just return to my dekstop after 2 seconds and it never opens.

    Everything else is working fine in my device including the start menu & task bar.

    Command prompt doesn’t open as administrative and the same thing happens as in the powershell. It does open without administrative though.

    What should I do ??

PowerShell — важный инструмент командной строки, который позволяет выполнять различные задачи и автоматизировать процессы. Вы можете использовать его для предоставления административных прав приложениям, удаления приложений с вашего компьютера и многого другого. Однако вы не сможете выполнить все эти задачи, если PowerShell не запускается на вашем компьютере.

Существуют различные способы запуска PowerShell. Однако, если ни один из способов не сработал, вы попали по адресу. Мы рассмотрим способы исправления того, что PowerShell не работает или не открывается на ПК с Windows 11 или Windows 10. Итак, начнем.

Если вы не можете запустить PowerShell, вам необходимо убедиться, что он включен на вашем компьютере. Чтобы это проверить, выполните следующие действия:

Шаг 1:Нажмите клавишу Windows, чтобы запустить меню «Пуск».

Шаг 2:Введите Панель управления в строке поиска и нажмите Enter.

Шаг 3:Выберите Программы.

Programs option in Control Panel

Шаг 4:Нажмите кнопку «Включить или отключить функции Windows».

Turn Windows features on or off option in Control Panel

Шаг 5:Щелкните значок «Плюс» (+) перед Windows PowerShell 2.0.

Plus icon in Control Panel

Шаг 6:Установите флажок Windows PowerShell 2.0 и Windows PowerShell 2.0 Engine. Затем нажмите «ОК», чтобы сохранить изменения.

Windows PowerShell 2.0 option in Control Panel

Перезагрузите компьютер, чтобы применить изменения.

2. Запустите сканирование SFC и DISM.

Системные файлы часто повреждаются. Когда это происходит, вы становитесь склонны к различным проблемам, в том числе и к той, которая находится под рукой.

Если вы не можете запустить PowerShell из-за повреждения системных файлов, вам придется запустить сканирование SFC (проверка системных файлов) и DISM (обслуживание образов развертывания и управление ими). Эти встроенные утилиты диагностируют и пытаются исправить поврежденные системные файлы с помощью файлов образов Windows. Выполните следующие шаги, чтобы запустить сканирование SFC и DISM:

Шаг 1:Нажмите клавишу Windows, чтобы запустить меню «Пуск», введите «Командная строка» в строке поиска и выберите «Запуск от имени администратора» на правой панели.

accessing Command Prompt to Fix PowerShell Not Working or opening on Windows

Шаг 2:В окне командной строки с повышенными привилегиями введите sfc /scannow и нажмите Enter.

Sfc Scan in CMD

Это сканирование может занять некоторое время, если на вашем компьютере возникли проблемы.

Шаг 3:Чтобы запустить сканирование DISM на вашем компьютере с Windows, введите следующие команды одну за другой и нажмите Enter после каждой команды:

DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth

dism scan in command prompt

После этого перезагрузите компьютер и проверьте наличие проблемы. Если это продолжается, попробуйте следующее решение в списке.

3. Измените настройки редактора локальной групповой политики.

Политика «Не запускать указанное приложение Windows» в редакторе локальной групповой политики может помешать открытию Windows PowerShell на вашем компьютере. Чтобы решить проблему, вам придется отключить эту политику. Вот как это сделать:

Примечание:Редактор локальной групповой политики — это функция, доступная исключительно для выпусков Windows Pro, Enterprise и Education. Если вы попытаетесь получить к нему доступ в Windows Home, вы получите сообщение об ошибке «gpedit.msc отсутствует». К счастью, устранение этой ошибки — простой процесс. Ознакомьтесь с нашим руководством по исправлению «ошибки отсутствия gpedit.msc» в Windows.

Шаг 1:Нажмите сочетание клавиш Windows + R, чтобы открыть инструмент «Выполнить».

Шаг 2:Введите gpedit.msc в строку поиска и нажмите «ОК».

gpedit command in Run tool

Шаг 3:В редакторе локальной групповой политики перейдите в следующую папку:

User ConfigurationAdministrative TemplatesSystem

Шаг 4:Дважды щелкните политику «Не запускать указанные приложения Windows» на правой панели.

Don't run specified Windows applications in LGPE

Шаг 5:Выберите Не настроено. Затем нажмите «Применить» и «ОК».

Not configured option in LGPE

После этого перезагрузите компьютер и проверьте наличие проблемы.

4. Выполните чистую загрузку

Еще один быстрый способ исправить то, что PowerShell не работает или не открывается в Windows, — это выполнить чистую загрузку. Windows запускается только с необходимым набором запускаемых приложений и драйверов в состоянии чистой загрузки.

Выполнение чистой загрузки будет полезно, если PowerShell не открывается из-за конфликта между сторонним приложением и PowerShell. Вы можете выполнить чистую загрузку, следуя инструкциям ниже:

Шаг 1:Нажмите клавишу Windows, чтобы открыть меню «Пуск», введите «Конфигурация системы» в строке поиска и нажмите Enter.

 System Configuration in Start menu

Шаг 2:Выберите «Выборочный запуск» и перейдите на вкладку «Службы».

Selective startup in msconfig

Шаг 3:Установите флажок «Скрыть все службы Microsoft». Затем нажмите кнопку «Отключить все».

_Disable all option in msconfig

Шаг 4:Перейдите на вкладку «Автозагрузка». Затем нажмите «Открыть диспетчер задач».

Open task manager option in msconfig

Шаг 5:Выберите стороннее приложение и нажмите кнопку «Отключить» вверху. Аналогично отключите все остальные сторонние приложения.

После этого перезагрузите компьютер, чтобы войти в состояние чистой загрузки, и попробуйте снова открыть Windows PowerShell. Если это решит вашу проблему, значит, причиной проблемы была одна из сторонних программ, которые вы только что отключили.

Чтобы сузить это приложение, продолжайте чистую загрузку Windows, но на этот раз включите одно приложение при каждой загрузке. Как только проблема появится снова, отключите или удалите приложение, которое вы только что включили, со своего компьютера.

5. Создайте новую учетную запись пользователя.

Если вы по-прежнему не можете запустить PowerShell на своем компьютере, возможно, возникла проблема с вашей учетной записью пользователя. В этом случае решением является создание новой учетной записи пользователя. Вот как:

Шаг 1:Откройте инструмент «Выполнить», введите netplwiz и нажмите Enter.

netplwiz command in Run tool

Шаг 2:Нажмите кнопку Добавить.

Add option to create new account

Шаг 3:Нажмите кнопку «Войти без учетной записи Microsoft (не рекомендуется)».

Sign in without a Microsoft account (not recommended) option to create new account

Шаг 4:Нажмите «Локальная учетная запись».

_Local account to create new account

Шаг 5:Введите учетные данные и нажмите «Далее».

Next option to create new account

Шаг 6:Нажмите «Готово».

Finish option to create new account

После этого войдите в свою учетную запись из окна «Учетные записи пользователей» и используйте Windows PowerShell.

Исправление того, как PowerShell не открывается в Windows 11

Приложения UWP (универсальной платформы Windows) часто сталкиваются с проблемами, и Windows PowerShell не является исключением. Windows PowerShell может не запуститься на вашем компьютере из-за повреждения системных файлов или неправильно настроенных параметров редактора локальной групповой политики. К счастью, вы можете быстро устранить проблему, используя приведенные выше исправления.

PowerShell is a powerful command-line tool in Windows that’s mainly used for automating the system’s management. As PowerShell is an integral part of a Windows OS, it must always work without issues. But that’s not the same for some users. A set of users reported that their Windows PowerShell utility isn’t opening on their Windows 11 system.

Whereas some users are getting the “PowerShell Has Stopped Working” error while using it. If you’re also facing similar issues with Windows PowerShell on your Windows 11 PC, try all the working fixes we’ve shared in this troubleshooting guide to resolve them all. All the workarounds can easily fix the PowerShell not working issue in Windows 11.

There could be several reasons for the ill-functioning of the PowerShell utility in Windows 11. But below are some of the most common reasons for the PowerShell not working issue:

  • Lack of Admin Privileges
  • Disabled Windows PowerShell
  • Improperly Configured Group Policies
  • Corrupted Windows PowerShell Files
  • Issues With the User Account
  • Missing System Files
  • Glitches in the System
  • Background Service Conflict
  • Buggy Windows Update
  • Viruses & Malware

Fix the PowerShell Not Working Issue in Windows 11

Here are some working workarounds that can help you fix the “PowerShell Has Stopped Working” error:

1. Make Sure Windows PowerShell Is Enabled

If you’ve recently turned on Hyper-V on your Windows PC, then it’s possible that due to this, Windows PowerShell got disabled. Thus, we once suggest you make sure that Windows PowerShell is enabled on your PC.

If you don’t know how to check the same, follow the below steps as they explain the same:

1. Press the Windows + R to open the Run utility, type OptionalFeatures in it, and press Enter.

Type OptionalFeatures

2. Search for the Windows PowerShell 2.0 option in the Turn Windows features on or off box.

Search for Windows PowerShell

3. Make sure the box next to Windows PowerShell 2.0 is checked.

Enable PowerShell

2. Restart Your Computer

Suppose PowerShell is already enabled on your system and is still not working or opening. In that case, this inconvenience may be occurring because of some temporary bugs & glitches in the system.

To check the same, we recommend you restart your Windows 11 PC or laptop, as doing so easily eliminates the temporary bugs and glitches from the system.

Windows restart with Alt F4

3. Use Alternate Ways To Open PowerShell

There are several ways to open PowerShell on a Windows 11 PC. If the one way doesn’t work, there are still more ways to open Windows PowerShell. So, if you’re unable to open PowerShell using a particular method, you can try an alternate method to open it.

Below we’ve explained all the possible methods to open Windows PowerShell in Windows 11:

From Run

PowerShell can easily be opened using the Run utility, and below are the steps to do so:

1. Press the Windows and R keys simultaneously to open the Run program on your Windows 11 system.

Run

2. Type PowerShell or powershell.exe in its search box and hit Enter to open Windows PowerShell.

Type powershell

From File Explorer

You can also open PowerShell using the File Explorer program. Here are the steps to do so:

1. Open the File Explorer program on your Windows 11 PC and go to the mentioned path:

C:\Windows\System32\WindowsPowerShell\v1.0

Move to the Path 2

2. Search for powershell.exe, and double-click on it to open the Windows PowerShell utility.

Select PowerShell

Using Command Prompt

Another way to open PowerShell is using Command Prompt. Follow the steps to know how to do so:

1. Open the Command Prompt utility on your Windows 11 system using the Windows Search Box.

Search Command Prompt

2. Select Command Prompt from the Best match section and run the below command in it:

PowerShell

Type powershell 1

Lastly, you can launch PowerShell on your PC from the Start Menu. Follow the below steps to know how to do so:

1. Hit the Windows key on your keyboard to open the Windows Search Box and click on All apps >.

Click on All apps

2. Search for Windows Tools in the All apps section and click on it to access all the Windows tools.

Select Windows Tools

3. Choose Windows PowerShell in the Windows Tools window to open Windows PowerShell.

Click on Windows PowerShell

4. Run Powershell as Administrator

Sometimes apps or programs also don’t open because of a lack of administrative privileges, which could be the same in this case. So, we suggest you run PowerShell with admin rights to see if it opens or not. Try the below-mentioned steps to check the same:

1. Open the Run utility using the Windows + R shortcut and type powershell in the search box.

Type powershell

2. Press the Ctrl + Shift + Enter keys at the same time and then click on Yes in the UAC to open it with admin rights.

Ctrl Shift Esc

5. Run a Quick Antivirus Scan

It could be possible that your Windows system has malware and viruses, which is preventing the PowerShell utility from working on your Windows 11 PC.

Due to this, we suggest you run a quick antivirus scan on your system to find all the infectious files and remove them. So, follow the below steps to run a virus scan on your Windows 11 PC:

1. Open the Windows Security app on your Windows PC and go to the Virus & threat protection section.

virus and threat protection

2. Click the Quick scan button to start the quick virus scan to find infectious files on the system.

click on Quick Scan

Once the scan is completed, check if any infectious files are found on your Windows 11 system. If yes, follow the on-screen instructions to remove those from your Windows system.

6. Run DISM & SFC Scans

One of the most common reasons for the PowerShell not working problem in Windows 11 is the missing essential system files and corrupted Windows OS image.

Due to this reason, we suggest you run DISM and SFC scans on your Windows 11 system, respectively, to get rid of this issue. You can try the below steps to run both scans on your PC:

1. Use any method to open the Command Prompt or Terminal utility on your Windows system.

Search Command Prompt

2. Execute the below-mentioned commands in it one by one to start the DISM scan on the system:

Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /ScanHealth
Dism /Online /Cleanup-Image /RestoreHealth

run dism command

3. Type sfc /scannow in the console and press Enter to start the System File Checker (SFC) scan.

SFC Scan

4. After running the SFC and DISM scans, restart your computer to check the status of the issue.

7. Delete Suspicious Third-Party Programs

If you started facing the PowerShell not working issue after installing a particular app or you think that a particular app is causing this issue, we suggest you remove it from the system.

Click on Uninstall

It could be possible that your instincts are true and the app is the real culprit for the issue. In case you can’t delete the app, try updating it to fix all the bugs and glitches with it.

8. Edit Group Policy and Registry

Misconfigured group policy settings could also be the reason for the ill-functioning of PowerShell in Windows 11 PC. Luckily, it can be fixed by setting the Don’t run specified Windows applications policy in the Group Policy Editor program to the Not configured option.

So, try the same by following the below steps and check if it works:

1. Open the Group Policy Editor program on your PC and follow the below-mentioned path:

User Configuration > Administrative Templates > System

2. Search for Don’t run specified Windows applications in the right pane and double-click on it.

3. Select the Not configured radio button in the Don’t run specified Windows applications dialog box.

4. Once done, click on OK to save the changes and restart your Windows 11 PC to fix the issue.

9. Change Execution Policy

If you’re running a script that isn’t digitally signed, then you may be getting an error due to the execution policy. Fortunately, the error can easily be eliminated by making minor changes to the execution policy. Try the below-mentioned steps to change the execution policy:

1. Use the Windows and R keys at the same to open Run, type powershell in it, and press Enter.

Type powershell

2. Copy-paste the below-mentioned command in the PowerShell utility and press the Enter key:

Set-ExecutionPolicy RemoteSigned -Force -Scope LocalMachine

Command 1

3. Restart your Windows 11 PC and check whether the Windows PowerShell program is working fine now.

Select Restart

10. Update PowerShell

Bugs and glitches in the PowerShell utility could also be the reason for its improper functioning. Thus, to fix those bugs and glitches, we suggest you update your PowerShell utility. Follow the below-listed steps to update the Windows PowerShell program:

1. Open the Microsoft Store on your Windows 11 PC and search for PowerShell using the search at the top.

Search PowerShell

2. Select PowerShell from the search results and click the Get or Update button to start updating it.

Click on Update

11. Reset PowerShell To Default

It could be possible that the PowerShell itself has some issues, maybe incorrect settings, because of which the “PowerShell Has Stopped Working” error is appearing on your Windows 11 system.

In that ase, we suggest you reset your Windows PowerShell utility to default to correct all its settings. You can follow the below instructions to do so:

1. Use the Windows + E shortcut to open File Explorer and navigate to the below path in it:

C:\Users\Username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows PowerShell

Move to the Path

2. Right-click on Windows PowerShell there and click on the Bin icon in the context menu.

Click on Bin

3. Create a new user account, move to the above path again, and copy the PowerShell shortcut to a USB drive.

4. Once done, sign into your system with the old user account, and copy the shortcut in the same directory.

12. Use System Maintenance Troubleshooter

Windows 11 comes with a System Maintenance troubleshooter that helps you find and fix issues in your system. The best part is that it can fix issues with the PowerShell utility.

So, we advise you to run the System Maintenance troubleshooter and check if it resolves the PowerShell not working issue. You can follow the below-listed prompts to run it:

1. Open the Control Panel on your system using the Windows Search Box or any other way.

Type Control Panel

2. Change the View by: dropdown to Small icons and choose the Troubleshooting option.

Select Small icons

3. Click on the Run maintenance tasks option under the System and Security section.

Click on Run mantainence tasks

4. Lastly, follow the on-screen instructions to run the System Maintenance troubleshooter on your PC.

13. Create a New User Account

It could be possible that your user account has been corrupted, which is why the Windows PowerShell program isn’t working properly.

In that case, the best possible workaround is to create a new user account and log in with it to fix the issue. So try the below instructions to create a new Windows user account:

1. Open the Settings app using the keyboard shortcut and go to the Accounts section from the left.

Select Accounts

2. Click on Other users in the Account settings section and then click the Add account button.

Other Users Windows 11

3. Select the I don’t have this person’s sign-in information option and then click on Next.

Click on I dont have this persons infor

4. Click on the Add a user without a Microsoft account option and then click the OK button.

Click on Add a new users

5. In the following window, enter the name and password you want to assign to your new user.

Enter the pass and username

6. Lastly, follow the on-screen instructions to create a new user account and sign in with it.

14. Perform a Clean Boot

If the issue is still there, it could be possible that a third-party program or service is causing it.

To check whether that’s the same, we suggest you boot your Windows 11 PC in Safe mode. You can follow the below-mentioned steps to learn to boot your system in Safe mode:

1. Open the Run utility, type msconfig in its search box, and hit the Enter key on your keyboard.

Type msconfig

2. Go to the Boot section, and tick the Safe boot and Network checkboxes in the Boot options section.

Check Safe boot option

3. Click on the Apply button to save the changes and then move to the Startup tab of it.

Select Startup

4. Click on Open Task Manager in the System Configuration window to open Task Manager.

Click on Open Task Manager

5. In the end, force close all the running programs & processes in the Task Manager app.

Select the End Task optio

Once done, restart your system and check whether the PowerShell not working issue is fixed. If yes, then a third-party program was causing it, and you can find the real culprit by deleting all the apps one by one.

15. Update Windows

It could be possible that your current Windows build has some bugs and glitches which is causing this issue. Keeping this in mind, we recommend you update your system to the latest version to eliminate the issue. Follow the mentioned steps to update your system:

1. Open the Settings app on your system and click on Windows Update at the top right corner.

Windows Update Option

2. Click the Check for updates button to search for newly available Windows build updates.

Click on Check for updates

3. Click the Download & install all button to install the pending Windows updates on your system.

Click on Download and install all

4. Restart your Windows 11 system and check whether the Windows PowerShell not working issue is fixed.

Select Restart

16. Reset the Device

Lastly, if nothing makes Windows PowerShell work again, you’ve no other option than resetting your Windows 11 PC or laptop. Doing so will definitely eliminate the “PowerShell Has Stopped Working” error on your PC, as it’ll clean the entire system and reset the settings to default.

As a result, the issue will get eliminated during the reset process. So follow the below-mentioned steps to factory reset your Windows 11 device:

1. Open the Windows key on your keyboard to open Windows Search Box, and type Settings in it.

Type Settings

2. Select the Settings option from the Best match section to launch the Settings program.

Select Settings

3. Move to the Recovery section of it and click on the Reset PC button on the following window.

Resetting PC

4. Select the Remove everything option in the next prompt and then select Local Reinstall.

click on remove everything

5. You need to now follow the on-screen prompts to factory reset your Windows 11 system.

FAQs

Why Can’t I Run PowerShell on Windows 11?

It could be possible that your Windows 11 system has some bugs and glitches, because of which it isn’t working. Another possible reason could be incorrect PowerShell settings.

How Do I Enable PowerShell in Windows 11?

Follow the below-mentioned path to enable Windows PowerShell on your Windows 11 PC:

Settings > Apps > Optional features > More Windows features > Enable Windows PowerShell 2.0

How Do I Fix PowerShell Not Working?

If your Windows PowerShell utility isn’t working properly, try resetting it. If that also doesn’t make it work again, consider updating it from the native app store, Microsoft Store.

How Do I Reset PowerShell in Windows 11?

You need to reinstall the Windows PowerShell program on your Windows 11 system to reset it.

Does PowerShell Work on Windows 11?

Yes, Windows PowerShell works on Windows 11. You can install it from the Microsoft Store.

Use Windows PowerShell With Ease

PowerShell is an integrated component of Windows 11 and other versions. We use it for a variety of purposes, such as running system scans, deploying codes, and much more. But some users are currently facing different issues with PowerShell on their Windows 11 PC.

If you were also experiencing issues with Windows PowerShell on your Windows 11 PC, we hope this guide helped you get rid of them. If yes, then let us know which of the mentioned workaround assisted you in fixing the PowerShell not working issue on your PC.

  • Что делать если не открывается система windows 10
  • Что делать если не запускается windows loader
  • Что делать если не получается изменить разрешение экрана windows 10
  • Что делать если не открывается панель управления nvidia на windows 10
  • Что делать если не запускается microsoft store на windows 11