Home> Common Problem> body text

Fix: PowerShell cannot be opened or PowerShell has stopped working in Windows 11/10

WBOY
Release: 2023-04-24 19:49:06
forward
11791 people have browsed it

Many users have reported issues with Windows PowerShell stopping working or not opening at all.One of the most common reasons for seeing the PowerShell has stopped working message is that there is a hidden virus on your computer. This in turn will slow down your system and other processes on the system will stop functioning. The error message does not provide any information about the cause of this problem, making it difficult to resolve.

If you are annoyed by PowerShell not running or opening issues on your PC, then this article is for you. In this article, we have discussed some of the solutions you can use to fix this error.

Fix 1 – Disabling and Re-enabling Windows PowerShell

1. Use the

Ctrl Shift Esc key combination to open thetask Manager.

2. Find the

PowerShellentry in the list of currently running processes.

3. Select

PowerShelland click theEnd Taskbutton to end the running process before continuing with the next steps.

修复:Windows 11,10 中的 PowerShell 已停止工作或无法打开问题

4. Press the

Windowsand Rkeys to open theRundialog box.

5. Type

optionalfeaturesand pressEnterto openWindowsFeaturestoturn Windows features on or off.

修复:Windows 11,10 中的 PowerShell 已停止工作或无法打开问题

6. Scroll down in the list and find

WindowsPowerShell.

7.

Uncheck the box next toWindows PowerShelland clickOK.

修复:Windows 11,10 中的 PowerShell 已停止工作或无法打开问题

#8.

Restart the system after applying the requested changes.

9. Repeat the above steps, but now

check the box next toWindows PowerShellin step 7 to enable it.

#10. Try opening PowerShell to check if the issue is resolved.修复:Windows 11,10 中的 PowerShell 已停止工作或无法打开问题

Fix 2 – Run a full system antivirus scan

1. First, boot your system into Safe Mode with Networking.

2. Use any

antivirus software

and run a full system scan.

3. If there is any malware attack, the scan will automatically remove the virus from your system.

4. Check if this resolves the PowerShell issue.

Fix 3 – Perform an SFC Scan

1. Press

Windows

Sand typeCommand Prompt## in the Windows search box #.2.Right-clickCommand Prompt

in the search results and select

Run as administrator.3. Type the following command and

press Enter.

修复:Windows 11,10 中的 PowerShell 已停止工作或无法打开问题

sfc /scannow
Copy after login

4. Wait for the scanning process to complete and fix any issues if present.

5.

Restart

your computer.修复:Windows 11,10 中的 PowerShell 已停止工作或无法打开问题

Check if the PowerShell issue has been resolved.

Fix 4 – Perform a clean boot

1. Press

Windows R

to launch the

Run

dialog box.

2. Typemsconfigand pressEnter

to open the

system configuration.#3. Go to the

General

tab.修复:Windows 11,10 中的 PowerShell 已停止工作或无法打开问题

4.

Uncheck theLoad startup itemsoption under

Selective startup.5. Select the

Services

tab.修复:Windows 11,10 中的 PowerShell 已停止工作或无法打开问题

6.

Check theHide

All Microsoft Servicesoption.7. Then, clickDisable All.

8. Go to the

Startup

tab.修复:Windows 11,10 中的 PowerShell 已停止工作或无法打开问题

9. Click the link hereto open the Task Manager.

修复:Windows 11,10 中的 PowerShell 已停止工作或无法打开问题

10. Disable all startup programs inTask Managerat once.Right-clickon the program and select theDisable option.

修复:Windows 11,10 中的 PowerShell 已停止工作或无法打开问题

11.

Saveall these changes and close the open window.

12.

Restartyour PC and check if PowerShell is open without any errors.

The above is the detailed content of Fix: PowerShell cannot be opened or PowerShell has stopped working in Windows 11/10. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yundongfang.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!