Remove powershell from windows

Как удалить PowerShell в Windows 10

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

Данная статья расскажет как удалить Windows PowerShell и вернуть командную строку вместо PowerShell в Windows 10. Процесс удаления оболочки заключается в отключении компонента Windows PowerShell 2.0 или же только в замене пункта в контекстном меню. Обратите внимание, что полностью убрать оболочку Windows PowerShell не удастся, даже после полного отключения компонента.

Как вернуть командную строку вместо PowerShell в Windows 10

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

  1. Открываем Пуск > Параметры > Персонализация > Панель задач.
  2. Дальше изменяем значение пункта Заменить командную строку оболочкой Windows PowerShell в меню, которое появляется при щелчке правой кнопкой мыши по кнопке Пуск или при нажатии клавиш Windows+X на Отключено.

После чего в контекстном меню пуск появится доступная ранее командная строка. Смотрите также другие способы запуска командной строки в Windows 10. А также заменить PowerShell на командную строку можно использую редактор реестра. Обратите внимание что перед внесением изменений в реестр рекомендуется создать резервную копию реестра, а после внесения изменений необходимо выполнить перезагрузку компьютера или перезапуск проводника.

  1. Откройте редактор реестра выполнив команду regedit в окне Win+R.
  2. Дальше перейдите в расположение: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced.
  3. Измените значение параметра DontUsePowerShellOnWinX на 1.

Как отключить PowerShell в Windows 10

Программы и компоненты

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

  1. Откройте компоненты Windows выполнив команду optionalfeatures в окне Win+R.
  2. Дальше найдите в открывшемся списке компонент Windows PowerShell 2.0 и отключите его.

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

Windows PowerShell

Для отключения компонента можно использовать сам компонент Windows PowerShell. Пользователю достаточно запустить оболочку PowerShell и выполнить одну команду для отключения любого с компонентов.

  1. Запускаем оболочку выбрав в результатах поиска классическое приложение Windows PowerShell от имени администратора.
  2. В открывшемся окне выполняем следующую команду: [stextbox -Online -FeatureName MicrosoftWindowsPowerShellV2Root[/stextbox]

С помощью одной команды можно отключить ненужный компонент Windows PowerShell устаревшей версии. После отключения обновленный PowerShell пятой версии останется доступным.

Читайте также:  Открыть файл только для чтения linux

Вместе с обновлениями Windows 10 обновляются и компоненты операционной системы. Изменения потерпели множество компонентов, начиная от оболочки Windows PowerShelll, и включительно до компонента виртуализации Hyper-V Windows 10.

После отключения компонента Windows PowerShell второй версии обновленный PowerShell останется. Но пользователи предпочитающие видеть командную строку в контекстном меню пуск могут нажатием одной кнопки её вернуть.

How to uninstall PowerShell in Windows 10

PowerShell is a cross-platform task automation and configuration management which works from Command-Line. It offers all the features a Command Prompt has to offer.

While it is all-powerful, for common users, especially those using the Home version, might find it pointless. So if you are one of those users, and want to uninstall PowerShell from Windows 10, then follow this post.

How to uninstall PowerShell in Windows 10

PowerShell is a feature that Windows installs on top of the regular installation. So if you choose to remove it with any one of these methods, it will not break anything in Windows 10.

  1. Uninstall like any other App
  2. Uninstall using Windows Features
  3. Disable PowerShell using DISM

You can use any of these methods to remove PowerShell.

1] Uninstall it like any other app

Like other programs, PowerShell can be uninstalled easily.

Type PowerShell in the Start Menu search box. It will reveal all the versions of PowerShell i.e., PowerShell (x86), PowerShell, PowerShell 7, and more. Right-click on any of them, and choose to Uninstall. You can also expand the menu and choose to uninstall it.

The only version which you can not uninstall is PowerShell ISE, aka Windows PowerShell Integrated Scripting Environment. It is useful for developers who can run commands and write, test, and debug scripts in a single Windows-based graphic user interface.

2] Uninstall using Program and Features

  • Type Control in the Run prompt (Win + R), and press the Enter key.
  • Locate and click on Programs and Features
  • Then click on “Turn Windows Feature on or off” link on the left panel
  • Locate and Uncheck PowerShell 2.0 from the list of programs which is revealed.
  • Click Ok, and let the program complete the process to uninstall PowerShell

3] Disable PowerShell using DISM

Open Command Prompt with elevated privilege by typing CMD in the Run prompt (Win + R) and then pressing Shift + Enter. Once it launches, type, and execute the command to verify.

If it says, Enable, type the next command to disable it.

In case you change your mind, you can execute the following command to enable it again.

While PowerShell on itself can stay, and you don’t have to remove it at all. In fact, if you leave it, it may come in handy someday. It is the tool that you will need to uninstall pre-installed apps. So you may consider keeping it.

I hope the post helped you remove PowerShell from your Windows 10 PC.

Date: September 8, 2020 Tags: PowerShell, Uninstall

How to Bulk Uninstall Programs and Apps in Windows 10 using IObit Uninstaller

How to uninstall a program using Command Prompt in Windows 10

How to use PowerShell to find and disable Webcams in Windows 10

[email protected]

Ashish is a veteran Windows, and Xbox user who excels in writing tips, tricks, and features on it to improve your day to day experience with your devices.

Читайте также:  Линукс система для старого компьютера

How to Uninstall Windows PowerShell 1.0 From Windows XP

I wish to uninstall the Windows PowerShell 1.0 program from my computer which is running the Windows XP operating system with Service Pack 3. There is no uninstall option listed in the drop down menu associated with the program folder in the All Programs list and the program is not listed in the Control Panel’s Add or Remove Programs page even with the Show updates option selected.

Any suggested work around to safely remove the Windows PowerShell 1.0 program?

Replies (12) 

* Please try a lower page number.

* Please enter only numbers.

* Please try a lower page number.

* Please enter only numbers.

Try the steps from the link.

How to manually remove programs from the Add or Remove Programs tool

To do so: Important this section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

Hope the information is helpful.

Was this reply helpful?

Sorry this didn’t help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Vidyaranjan A V,

Hello. Thank you for your response. Actually, the Windows PowerShell 1.0 program was not displayed as a currently installed program in the Add or Remove Programs list for some reason.

I subsequently reformatted the hard drive and reloaded SP3 and all the current updates and the Windows PowerShell 1.0 program was not installed. I’m not sure how it got installed in the first place.

2 people found this reply helpful

Was this reply helpful?

Sorry this didn’t help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Refer the following article on how to how to uninstall Windows PowerShell in Windows XP.

2 people found this reply helpful

Was this reply helpful?

Sorry this didn’t help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Thank you for your response.

I had looked over the article but for some reason Windows PowerShell(TM) 1.0 was not displayed in the Add or Remove Programs list even with the Updates box selected.

I ended up reformatting my hard drive and reloading SP3 with all applicable updates.

Читайте также:  Как устанавливать windows сервер

2 people found this reply helpful

Was this reply helpful?

Sorry this didn’t help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Thank you for your response.

I had looked over the article but for some reason Windows PowerShell(TM) 1.0 was not displayed in the Add or Remove Programs list even with the Updates box selected.

I ended up reformatting my hard drive and reloading SP3 with all applicable updates.

Go to Add or Remove Programs -> Check «Show updates» -> look for «Hotfix for Windows » Should have a KB926139 or KB926139-v2 in brackets. Uninstall that and PSx.0 will be removed.

Sorry to hear that you relegated to a system format.

Was this reply helpful?

Sorry this didn’t help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

IMPORTANT: Always back up or create a system restore point before making any changes to your registry.

This is what worked for me:

Delete registry entry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Powershell\

Run CCleaner — Registry — Scan for Issues — Fix selected Issues — Backup(YES) — Fix all issues — close/exit.

Restart was not necessary in my case.

4 people found this reply helpful

Was this reply helpful?

Sorry this didn’t help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

I wish to uninstall the Windows PowerShell 1.0 program from my computer which is running the Windows XP operating system with Service Pack 3. There is no uninstall option listed in the drop down menu associated with the program folder in the All Programs list and the program is not listed in the Control Panel’s Add or Remove Programs page even with the Show updates option selected.

Any suggested work around to safely remove the Windows PowerShell 1.0 program?

I had the same. Try to reinstall Windows XP Pro with SP3 media (just to repair it) but I received info, that I cannot do setup procedure because of PowerShell 1.0 installed.

And PowerShell was not listed by any way: neither listed as KB929239, KB 926140, KB 926141, nor as «Windows PowerShell 1.0».in Add / Remove Programs listing

But I recovered this topic:

http://technet.microsoft.com/en-us/library/dd351188%28v=exchg.141%29.aspx (topic: Uninstall Previous Versions of Windows PowerShell and Windows Remote Management )

and it pushed me to idea to uninstall instead of PowerShell => Windows Remote Management.

And what happened ?

I COULD RUN WINDOWS XP SP3 SETUP ! 🙂 So in my opinion, when you don’t have directly installed PowerShell — it can be part of Windows Remote Management.

3 people found this reply helpful

Was this reply helpful?

Sorry this didn’t help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

Оцените статью