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
11992 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 Es c key combination to open the task Manager.

2. Find the

PowerShell entry in the list of currently running processes.

3. Select

PowerShell and click the End Task button to end the running process before continuing with the next steps.

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

4. Press the

Windows and R keys to open the Run dialog box.

5. Type

optionalfeatures and press Enter to open Windows Features to turn Windows features on or off.

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

6. Scroll down in the list and find

Windows PowerShell.

7.

Uncheck the box next to Windows PowerShell and click OK.

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

#8.

Restart the system after applying the requested changes.

9. Repeat the above steps, but now

check the box next to Windows PowerShell in 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

S and type Command Prompt## in the Windows search box #. 2.Right-click Command 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. Type msconfig and press Enter

to open the

system configuration. #3. Go to the

General

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

4.

Uncheck the Load startup items option under

Selective startup. 5. Select the

Services

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

6.

Check the Hide

All Microsoft Services option. 7. Then, click Disable All.

8. Go to the

Startup

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

9. Click the link here to open the Task Manager.

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

10. Disable all startup programs in Task Manager at once. Right-click on the program and select the Disable option.

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

11.

Saveall these changes and close the open window.

12.

Restart your 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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template