Не открывается windows powershell администратор

I have Windows 7, and I want to run PowerShell as an administrator. I found it in the Start Menu, right clicked it and selected Run as administrator, but I get the following:

Windows Explorer has stopped working

Even if I I try to open PowerShell > Windows PowerShell Help, I have the same error. I only can start PowerShell as a regular user, but this is useless because I can’t run the following command:

Set-ExecutionPolicy RemoteSigned
(ExecutionPolicy : Access to the registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft .PowerShell' is denied.)

Any ideas why I can’t start PowerShell with admin rights?

Gaff's user avatar

Gaff

18.6k15 gold badges57 silver badges68 bronze badges

asked Jul 19, 2011 at 12:55

Eric's user avatar

3

you can run cmd.exe as admin and start powershell.exe

answered May 23, 2017 at 9:13

boot2's user avatar

boot2boot2

292 bronze badges

2

To be honest I’m not sure what the issue is. What I would suggest trying though is going directly to the PowerShell exe and trying to run that as an administrator:

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

Failing that, I would run regedit as an administrator and change the registry key manually:

C:\Windows\System32\regedit.exe

Gaff's user avatar

Gaff

18.6k15 gold badges57 silver badges68 bronze badges

answered Jul 19, 2011 at 13:17

EBGreen's user avatar

EBGreenEBGreen

9,1671 gold badge36 silver badges40 bronze badges

You can run any command as Admin (assuming you have the rights), by just typing it (for example «powershell») without the quotes, and once found, hold CONTROL+SHIFT+ENTER to launch it as admin. The error you’re describing sounds like a basic configuration issue though. If that doesn’t work, I would definitely reinstall powershell. you can verify it’s location exists and the executable is there by going to:

%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe

or for the 32 bit version:

%SystemRoot%\Syswow64\WindowsPowerShell\v1.0\powershell.exe

answered Jul 8, 2018 at 12:51

D.J.'s user avatar

1

i have the same issue, the solution i found is you go to control panel-> user account-> change user account control setting -> drag down the bar to the lowest, i don’t know how it work, but it wor

answered Aug 17, 2019 at 17:55

user1077184's user avatar

You must log in to answer this question.

Not the answer you’re looking for? Browse other questions tagged

.

В этой базовой инструкции подробно описано 7 способов запустить PowerShell от имени администратора, в Windows.

Запуск PowerShell с правами администратора, частая необходимость при получении доступа или изменении параметров системы.

Содержание

Запуск PowerShell от имени администратора, с помощью:

  1. Меню Пуск
  2. Меню Быстрые ссылки
  3. Меню Файл
  4. Меню Поиск
  5. Командная строка
  6. PowerShell (с правами пользователя)
  7. Меню Выполнить

Article in other languages:
?? — How to Run PowerShell as Administrator
?? — Cómo ejecutar PowerShell como administrador
?? — Comment exécuter PowerShell en tant qu’administrateur
?? — So führen Sie PowerShell als Administrator aus
?? — Hoe te PowerShell uitvoeren als administrator

Меню Пуск

Первый способ — это запуск PowerShell от имени администратора, используя кнопку Пуск.

  1. Нажмите кнопку Пуск;
  2. В списке программ нажмите Windows PowerShell;
  3. Щелкните по Windows PowerShell правой клавишей мыши, выберите Дополнительно и Запуск от имени администратора.

Запуск PowerShell от имени администратора с помощью Меню Пуск

Меню Быстрые ссылки

Второй способ — это запуск PowerShell от имени администратора, используя меню Быстрые ссылки.

  1. Щёлкните по кнопке Пуск правой клавишей мыши (или нажмите сочетание Windows+X);
  2. Нажмите Windows PowerShell (администратор).

Запуск PowerShell от имени администратора с помощью Меню Быстрые ссылки

Меню Файл

Третий способ запустить PowerShell от имени администратора — это используя меню Файл при выделении файла или папки в проводнике Windows.

  1. Выделите файл или папку в окне Проводника Windows;
  2. Щелкните по меню Файл, наведите курсор на треугольник расширенного выбора в пункте Windows PowerShell;
  3. Выберите Запустить Windows PowerShell от имени администратора.

Запуск PowerShell от имени администратора с помощью Меню Файл

Меню Поиск

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

  1. Щелкните по строке Поиск на панели задач (или нажмите сочетание Windows+S);
  2. Введите текст PowerShell;
  3. Щелкните по треугольнику расширенные результаты в пункте Windows PowerShell и нажмите Запуск от имени администратора.

Запуск PowerShell от имени администратора с помощью Меню Поиск

Пятый способ — это запуск PowerShell от имени администратора, с помощью командной строки.

Запустите командную строку и выполните команду:

powershell "start-process powershell -verb runas"

Запуск PowerShell от имени администратора с помощью Командной строки

Запуск PowerShell от имени администратора с помощью PowerShell (с правами пользователя)

Шестой способ — это запуск PowerShell от имени администратора, с помощью консоли PowerShell запущенной с правами пользователя.

Запустите консоль PowerShell и выполните команду:

start-process powershell –verb runas

Запуск PowerShell от имени администратора с помощью PowerShell (с правами пользователя)

Меню Выполнить

Седьмой способ — используйте меню Выполнить, для запуска Windows PowerShell с правами администратора.

Откройте меню Выполнить.

  1. Нажмите сочетание клавиш Windows+R (или щелкните по кнопке Пуск правой клавишей мыши, выберите Выполнить);
  2. Введите команду powershell;
  3. Нажмите сочетание клавиш Ctrl+Shift+Enter.

Запустите Windows PowerShell с правами администратора из меню Выполнить.


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

I have Windows 7, and I want to run PowerShell as an administrator. I found it in the Start Menu, right clicked it and selected Run as administrator, but I get the following:

Windows Explorer has stopped working

Even if I I try to open PowerShell > Windows PowerShell Help, I have the same error. I only can start PowerShell as a regular user, but this is useless because I can’t run the following command:

Set-ExecutionPolicy RemoteSigned
(ExecutionPolicy : Access to the registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft .PowerShell' is denied.)

Any ideas why I can’t start PowerShell with admin rights?

Gaff's user avatar

Gaff

18.6k15 gold badges57 silver badges68 bronze badges

asked Jul 19, 2011 at 12:55

Eric's user avatar

3

you can run cmd.exe as admin and start powershell.exe

answered May 23, 2017 at 9:13

boot2's user avatar

boot2boot2

292 bronze badges

2

To be honest I’m not sure what the issue is. What I would suggest trying though is going directly to the PowerShell exe and trying to run that as an administrator:

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

Failing that, I would run regedit as an administrator and change the registry key manually:

C:\Windows\System32\regedit.exe

Gaff's user avatar

Gaff

18.6k15 gold badges57 silver badges68 bronze badges

answered Jul 19, 2011 at 13:17

EBGreen's user avatar

EBGreenEBGreen

9,1671 gold badge36 silver badges40 bronze badges

You can run any command as Admin (assuming you have the rights), by just typing it (for example «powershell») without the quotes, and once found, hold CONTROL+SHIFT+ENTER to launch it as admin. The error you’re describing sounds like a basic configuration issue though. If that doesn’t work, I would definitely reinstall powershell. you can verify it’s location exists and the executable is there by going to:

%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe

or for the 32 bit version:

%SystemRoot%\Syswow64\WindowsPowerShell\v1.0\powershell.exe

answered Jul 8, 2018 at 12:51

D.J.'s user avatar

1

i have the same issue, the solution i found is you go to control panel-> user account-> change user account control setting -> drag down the bar to the lowest, i don’t know how it work, but it wor

answered Aug 17, 2019 at 17:55

user1077184's user avatar

You must log in to answer this question.

Not the answer you’re looking for? Browse other questions tagged

.

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

Содержание

  • Способ 1: Перезапуск консоли
  • Способ 2: Чистая загрузка
  • Способ 3: Проверка на вирусы
  • Способ 4: Утилиты SFC и DISM
  • Способ 5: Создание новой учетной записи
  • Вопросы и ответы

не запускается powershell в windows 10

Способ 1: Перезапуск консоли

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

  1. Найдите в «Пуске» приложение «Панель управления» и запустите его.
  2. не запускается powershell в windows 10-01

  3. Для удобства в качестве просмотра выставьте крупные или мелкие значки. Нажмите на раздел «Программы и компоненты».
  4. не запускается powershell в windows 10-02

  5. На левой панели нажмите на строку «Включение или отключение компонентов Windows».
  6. не запускается powershell в windows 10-03

  7. В списке отыщите пункт «Windows PowerShell 2.0» и снимите с него галочку. Нажмите на кнопку «ОК».
  8. не запускается powershell в windows 10-04

Останется перезагрузить компьютер, затем аналогичным образом активировать Windows PowerShell через «Панель управления».

Если консоль PowerShell была отключена изначально, то, скорее всего, именно поэтому она и не запускалась. В этом случае достаточно также следовать инструкции, только в Шаге 4 активировать средство и сохранить настройки.

Способ 2: Чистая загрузка

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

  1. Одновременно зажмите клавиши «Win + R» и в строке диалогового окна «Выполнить» пропишите msconfig, затем нажмите на кнопку «ОК».
  2. не запускается powershell в windows 10-05

  3. Откроется окно системной утилиты «Конфигурация компьютера», где сначала нужно на вкладке «Общие» снять отметку у пункта «Загружать элементы автозагрузки».
  4. не запускается powershell в windows 10-06

  5. Далее перейдите на вкладку «Службы», чтобы отключить сторонние службы при последующей загрузке. Для начала поставьте галочку у опции «Не отображать службы Майкрософт», потом выделите все оставшиеся службы и отключите их, нажав на соответствующую кнопку. Примените настройки.
  6. не запускается powershell в windows 10-07

  7. Нажмите на вкладку «Автозагрузка» и кликните по ссылке «Открыть диспетчер задач».
  8. не запускается powershell в windows 10-08

  9. В запустившемся менеджере процессов вы сразу перейдете в «Автозагрузку», где отобразятся все сторонние процессы, которые запускаются вместе с системой. Поочередно выделяйте их и нажмите на кнопку «Отключить» в нижнем правом углу.
  10. не запускается powershell в windows 10-09

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

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

Читайте также: Откат к точке восстановления в Windows 10

Способ 3: Проверка на вирусы

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

Подробнее: Методы удаления вируса с компьютера под управлением Windows 10
не запускается powershell в windows 10-10

Вероятно, после сканирования потребуется восстановление системных файлов, поэтому переходите к следующему способу.

Способ 4: Утилиты SFC и DISM

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

Подробнее: Использование и восстановление проверки целостности системных файлов в Windows 10
не запускается powershell в windows 10-11

Способ 5: Создание новой учетной записи

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

Подробнее: Создание новой учётной записи в Windows 10
не запускается powershell в windows 10-12
После успешного создания новой учетной записи в Windows выполните вход в систему, используя ее, затем проверьте, запускается ли PowerShell.

Читайте также: Методы управления учетными записями в Windows 10

  • Не открывается realtek audio console windows 11
  • Не открывается windows media player windows
  • Не открывается rdp на windows 10
  • Не открывается включение или отключение компонентов windows
  • Не открывается windows admin center