При запуске windows запускается powershell

What to do if Windows PowerShell keeps popping up on startup in Windows 11/10? This is a common issue on your PC. Take it easy! Go to read this post and you know how to stop Windows PowerShell from popping up. Try some methods gathered by MiniTool to easily get rid of this situation.

Windows PowerShell Keeps Popping up Windows 11/10

Like Command Prompt, Windows PowerShell is a command-line tool that can be used to run basic administrative tasks like installing, configuring, and uninstalling software, performing some troubleshooting tasks using scripts, etc.

Tips:

If you are interested in the difference between Command Prompt and PowerShell, see this article — PowerShell vs CMD: What Are They? What Are Their Differences.

Sometimes Windows PowerShell keeps popping up and closing, especially when booting up the operating system each time on your Windows 10/11 PC. That is, this tool opens by itself on startup and then automatically closes. This is frustrating when you run into this common issue.

The possible reasons for this situation may be various, for example, enabled PowerShell in Startup of Task Manager, virus and malware infection, corrupt registry entries, and more. No matter which triggers the random Windows PowerShell popup, you can try to troubleshoot it, and here multiple methods will be introduced.

Fixes for Windows PowerShell Keeps Popping up on Startup

Disable Windows PowerShell in Task Manager

It is likely that Windows PowerShell is configured to run in the Startup tab in Task Manager. So, to stop Windows PowerShell from popping up on startup in Windows 11/10, you can disable this process in these steps:

Step 1: Simultaneously press the shortcut – Ctrl + Shift + Esc on the keyboard to open Task Manager.

Step 2: Click More details > Startup.

Step 3: In the tab, choose Windows PowerShell and click Disable. Or, right-click on PowerShell and select Disable.

Step 4: Close Task Manager and restart the PC to see if Windows PowerShell keeps popping up and closing.

disable Windows PowerShell in Task Manager

Delete Windows PowerShell Shortcut from the Startup Folder

On your PC, there is a folder called Startup. In this folder, some apps and shortcuts are saved. Once you start up your computer, the apps and shortcuts can run. That is, if you copied the shortcut of Windows PowerShell mistakenly to the Startup folder, it can run on startup. As a result, Windows PowerShell keeps popping up on startup.

To deal with this issue, remove the shortcut from that folder:

Step 1: Press Win + R to open the Run dialog. (Related post: How to Open Run Command in Windows 11 (5 Ways) & Unix OSes?)

Step 2: Type %ProgramData%\Microsoft\Windows\Start Menu\Programs\StartUp to the text box and click OK to open the Startup folder.

Step 3: Right-click on the shortcut and choose Delete. Or choose this shortcut and press the Delete key on your keyboard.

delete Windows PowerShell from Startup folder

Run Autoruns to Disable Windows PowerShell Popup on Startup

If Windows PowerShell keeps popping up randomly in Windows 11/10, another solution which you can try is to use the Autoruns program that is from Microsoft.

Sometimes you cannot easily tell whether PowerShell is configured to launch on startup or not. In this case, Autoruns can help a lot since it lists all the apps that are programmed to run during the system startup. Although Windows PowerShell is configured to open at startup elsewhere, this free program can detect it.

Step 1: Go to the official website of Microsoft and click the corresponding link to download Autoruns.

Step 2: After getting the Autoruns.zip file and unzip it.

Tips:

To unzip a file, you can use a professional file archiver, and here we recommend using 7-Zip. To get it, follow this post — 7-Zip Download for Windows 10/11/Mac to Zip/Unzip Files.

Step 3: Double-click the Autoruns.exe file to run this program.

Step 4: Input PowerShell to the search box. If Windows PowerShell is configured to open at startup, it will be listed and you need to uncheck the box next to the entry to disable it, then reboot the PC. If you cannot find it, it means PowerShell is not set to automatically start anywhere in the registry.

run Autoruns

Run SFC and DISM

According to users, running SFC and DISM scans is worth trying if Windows PowerShell keeps popping up since this issue sometimes is caused by faulty system files. SFC (System File Checker) can be used to check the system for damaged system files and repair corruption; and DISM helps to deal with faulty Windows images and download actual replacement files from Windows’ online servers to repair them.

See how to run scans:

Step 1: In Windows 11/10, run Command Prompt with admin permissions.

Step 2: Type sfc /scannow and press Enter. Then, this tool starts the verification process which may take some time.

Windows 10 sfc scan

Tips:

SFC scan stuck is a common issue. If you run into this trouble, go to find solutions from our previous post — Windows 10 SFC /Scannow Stuck at 4/5/30/40/73, etc.? Try 7 Ways.

Step 3: Execute these commands one by one:

DISM /Online /Cleanup-Image /CheckHealth

DISM /Online /Cleanup-Image /ScanHealth

DISM /Online /Cleanup-Image /RestoreHealth

Tips:

Some users recommend running another command tool – CHKDSK. And you can also execute the command — chkdsk /f /r in the CMD window.

After finishing all the scans, restart your device and see if Windows PowerShell keeps popping up randomly.

Scan Your PC with Malware Removal Tool

If your computer is infected with viruses or malware, the Windows PowerShell popup may keep appearing when a malicious script is running. So, you can run Microsoft Windows Malicious Software Removal Tool (MSRT) to remove malware from your PC.

This tool is available in Windows 10/11 and you can directly access it in the operating system. Besides, Microsoft offers a link to download and install its desktop app. To know details, refer to this post – Download/Run/Update/Del Windows Malicious Software Removal Tool.

Step 1: Open the Run window by pressing Win + R.

Step 2: Input mrt to the text box and click OK.

Step 3: In the following interface, choose Full scan to scan the entire system to keep your computer free from prevalent malware.

Microsoft Windows Malicious Software Removal Tool

In addition, you can run other antivirus programs like Windows Defender, Malwarebytes, Avast, etc. to scan your entire system and remove viruses and malware.

Use System Maintenance Troubleshooter

At times, running the system maintenance troubleshooter in Windows 10/11 is a workaround to help you stop Windows PowerShell from popping up on startup. Have a try as follows:

Step 1: Launch Control Panel and view all the items by Large icons.

Step 2: Click Troubleshooting and choose Run maintenance tasks under System and Security.

Step 3: Click Next and this troubleshooter starts detecting the issues. Then, follow the instructions on the screen to finish the troubleshooting.

System Maintenance Troubleshooter

Restart Your PC in Clean Boot Mode

The random PowerShell popup could be triggered by the third-party apps and you can boot the PC in Clean Boot Mode to find the suspicious app and remove it.

Step 1: Input msconfig to the Run window (press Win + R to get it) and click OK.

Step 2: In the System Configuration tab, click Services, check the box of Hide all Microsoft services, and click Disable all.

Windows 10 clean boot

Step 3: In the Startup tab, launch Task Manager and disable all the third-party startup apps.

Step 4: Reboot Windows 11/10. If Windows PowerShell won’t pop up in this mode, a certain third-party program is a culprit. Just enable those apps one by one to have a check.

Disable Windows PowerShell Temporarily

If Windows PowerShell keeps popping up after trying these methods above, you can consider disabling it via these steps.

Step 1: In Windows 11/10, launch Command Prompt as an administrator.

Step 2: In the CMD window, type in the command – Dism /online /Disable-Feature /FeatureName:”MicrosoftWindowsPowerShellV2Root” and press Enter.

Step 3: Wait for the process to complete and then restart your computer.

Tips:

If you need to re-enable PowerShell, execute this command in the CMD window — Dism /online /Enable-Feature /FeatureName:»MicrosoftWindowsPowerShellV2Root».

In addition to these ways to stop Windows PowerShell from popping up and closing, there are some workarounds you can try, for example, create a new local administrator account (related article: How to Create Administrator Account in Windows 10), scan your computer with CCleaner, check active tasks in the Task Scheduler to see if any scripts may repeatedly launch PowerShell, and update Windows.

Common Issues about Windows PowerShell Keeps Popping up on Startup

Here, you can find some answers to frequently asked questions about PowerShell opening at startup.

FAQ 1: Is Windows PowerShell Virus

PowerShell is not a virus and it is a legitimate Windows utility like Command Prompt. But if a virus or malware attacks your computer, your PowerShell may act in an unexpected way – the tool keeps opening on startup in Windows 10/11. Thus, you can run a malware removal tool to scan your computer and remove the threat.

FAQ 2: Is It Safe to Disable Windows PowerShell?

Of course, this behavior is safe for your computer. If you need, follow the last method mentioned above to disable it.

FAQ 3: Why Does PowerShell Keep Randomly Popping up?

The reasons for this issue are various and we have mentioned them above. Usually, malware infection, scheduled tasks that use Powershell, Windows PowerShell shortcut added to the Startup folder, etc.

Suggestion – Back up Windows 11/10

Windows PowerShell popping up on startup/randomly is an annoying common issue. If you don’t want to spend much time looking for solutions when it happens, you should form a habit of backing up your PC when it is in a normal state.

Here, we recommend creating a system image with the professional free backup software – MiniTool ShadowMaker. Once the system issues appear like the random open PowerShell popup, a system image recovery can be done to restore the PC to its previous state.

MiniTool ShadowMaker can help a lot when it comes to system image backup. During the backup process, the backup source is compressed – by default, the mode is medium. Importantly, you can use this software to create a bootable USB flash drive/external hard drive or CD/DVD. Although the system fails to run, you can boot the PC from the drive or disc and use MiniTool ShadowMaker for system recovery.

Besides, this software can help you to back up files, folders, disks, and partitions, sync data, and clone a hard drive to another. Now, don’t hesitate to download MiniTool ShadowMaker and install it on your Windows 11/10/8/7 PC.

MiniTool ShadowMaker TrialClick to Download100%Clean & Safe

Step 1: Launch MiniTool ShadowMaker Trial Edition (free use all the features in 30 days) and click Keep Trial to go on.

Step 2: By default, system-related partitions have been chosen as the backup source. Also, you can find the destination folder is selected. If you don’t want to back up your PC to that path, re-select it by clicking Destination.

Step 3: Click Back up Now to execute the system image now. After finishing the system backup, go to Tools > Media Builder to get a bootable drive or disc.

MiniTool ShadowMaker system backup

The End

How to stop Windows PowerShell from popping up on startup in Windows 11/10? After reading this post, you know much information. Just try these methods to easily get rid of the trouble if you are hit by it right now. Hope they are helpful to you. If you find some other useful solutions, you can leave a comment below. Thanks very much.

PowerShell is a helpful program that can carry out various tasks in an automated fashion. Network and system administrators extensively use PowerShell to carry out essential activities successfully. However, if you’ve recently updated to Windows 11, it may be frustrating when the PowerShell window suddenly appears for no apparent reason. But when you don’t know what’s creating this problem, it is much more challenging to deal with.

In this article, we will investigate the PowerShell issue in depth, including its root cause and all potential solvable methods that may be put into action to resolve the problem.

fix windows powershell keeps popping up

Why Does PowerShell Keep Popping Up

The PowerShell window may repeatedly appear during the machine’s startup in certain circumstances. After a few minutes, your operating system could shut the PowerShell command prompt. On the other hand, it only causes discomfort for every startup. The term «popping up» is used relatively often in the field of computers.

In some instances, PowerShell is also affected by this problem. The command-line utility known as PowerShell also has a problem with windows showing up when it first starts up. Below we have listed two reasons why Windows PowerShell Window Keeps Popping up:

1.     PowerShell is set as a startup application

The first thing that comes to mind with PowerShell is that it is configured to run when the computer boots up. Because of this, the PowerShell prompt will open as soon as the operating system boots up.

2.     Attack by malware

Computers and other electronic devices may get corrupted when infected by viruses. The appearance of a PowerShell window is another symptom that might be caused by malware.

How to Stop Windows PowerShell from Popping Up

The popping-up problem is caused either by an assault by malware or by the user altering the settings themselves. The following is an illustration of the many methods available to prevent the PowerShell Window from popping up:

Method 1: Disable PowerShell startup status from Task Manager

This problem might be caused by how a few parameters have been adjusted on your end. In the Task Manager, the PowerShell Startup status could have been set to enable, for instance.

The following is a rundown of the steps you need to do to turn off the PowerShell Startup status in Task Manager:

Step 1: Use Ctrl + Shift + Esc on your keyboard to launch the Task Manager.

Step 2: Proceed to the tab labeled «Startup.»

Step 3: Disable Windows PowerShell by right-clicking the option. When you’re finished, exit Task Manager and restart your computer or other electronic devices.

disable windows powershell

Method 2: Remove Windows PowerShell shortcuts from the startup folder

Whether this happens each time you boot up, check if PowerShell is set to launch automatically. To resolve this, delete PowerShell from your computer’s starting applications. The steps are as follows.

Step 1: Open Task Management by pressing Ctrl + Shift + Esc.

Step 2: Choose PowerShell from the list, then click the toggle next to «Disabled» on the Startup tab.

Step 3: Don’t add PowerShell to Windows’ starting folder. To achieve this, click the Windows key + R shortcut to bring up the run. Window, then enter shell: startup and hit Enter.

open startup files

Step 4: In the subsequent pane, locate the PowerShell Shortcut Site and remove it if it exists.

remove powershell

Method 3: Scan your computer with Malware Removal Tool

If your computer is infected with malware, you may notice that PowerShell keeps appearing on your screen whenever the infection attempts to execute a harmful script on your computer. To be sure, you may scan your computer using Windows Security or a third-party antivirus tool.

Method 4: Run System Maintenance Troubleshooting

Windows’ System Maintenance Troubleshooter is a helpful tool for finding and fixing the underlying cause(s) of PowerShell’s periodic reappearance. I’ll show you how to put it to use in this article.

Step 1: Start Windows Search by clicking its icon on the Taskbar, then type «control panel» and hit Enter.

Step 2: Click Troubleshooting in the Control Panel window, and then change the view type to big or tiny icons if it isn’t already.

Step 3: Choose Run maintenance activities from the System and Security menu.

run maintenance tasks

Note: After running the troubleshooter according to the on-screen directions, try restarting your computer to check whether the problem persists.

Method 5: Windows Update

A simple upgrade to Windows might very well be one of the most effective remedies to this issue. This is because the most recent enhancements could eliminate the system issues responsible for producing this error. The greatest thing, however, is that in addition to fixing other system issues, this will also improve performance. So now, to upgrade your device, please follow these steps:

Step 1: To enter the System Settings menu, press the Win and I keys together.

Step 2: After clicking Update & Security, choose to update Windows instead.

Step 3: Press the button labeled Check for updates on the right side of the screen, and then continue to follow the instructions on the screen.

check windows updates

Method 6: Uninstall Windows PowerShell completely

Suppose none of the methods above successfully resolve the problem where PowerShell continues to launch during system startup. In that case, your only remaining choice is to remove the PowerShell app from your device.

Step 1: To uninstall PowerShell, use the Command Prompt in administrator mode. 

Step 2: Copy and paste the command that is listed below into the command prompt, then hit the enter key on your keyboard.

«Dism /online /Disable-Feature /FeatureName:»MicrosoftWindowsPowerShellV2Root,».

run uninstall command

Step 3: Keep waiting until the instruction is finished. After that, you should restart your computer.

Conclusion

The issue of «PowerShell keeps appearing on Windows 11» may be resolved with the following few simple fixes. Therefore, if PowerShell is frequently causing you frustration by launching on its own, you may eliminate the pop-up by using any of the alternatives above. Please let us know which of the methods was successful for you. You are welcome to offer any ideas or thoughts in the comments area.

Download Windows Speedup Tool to fix errors and make PC run faster

PowerShell is not an application that we wish to open at Startup. There are instances that users report that Powershell is opening at startup on Windows 11/10. In this guide, we have solutions to fix that issue.

PowerShell Opens on Startup on Windows 10

Generally, we use Windows PowerShell to configure, manage and administer our PC or a network. For a normal user, Powershell has no uses except for rare circumstances like running SFC or DISM scans or some other troubleshoots.

The issue of PowerShell opening at startup can be fixed with any of the following methods.

  1. Disable Opening PowerShell at Startup in Task Manager
  2. Delete PowerShell shortcut from Startup folder
  3. Run anti-malware software
  4. Troubleshoot in Clean Boot State.

Let’s see each method in detail.

1] Disable Opening PowerShell at Startup in Task Manager

PowerShell might have been added to Startup programs accidentally. Disabling it from the Startup in Task Manager will stop it from opening at startup. To do so, right-click on the Taskbar and select Task Manager. In the Task Manager window, click on the Start-up tab.

Right-click on Windows PowerShell from the list of programs in the Start-up tab and select Disable.

It will stop Windows PowerShell from opening at startup. If not, try the following method.

This post offers more ways in which you can disable startup programs.

2] Delete PowerShell shortcut from Startup folder

Another method to stop PowerShell from opening at startup is removing its shortcut from the Startup folder. To do so, press Win+R on your keyboard and type the following text, and press Enter:

shell:startup

Find the PowerShell shortcut in the folder and delete it. This should stop PowerShell from opening at startup.

3] Run an anti-malware tool

In most cases, the above two methods should fix the issue. If not, it could be malware. To confirm if it is not occurring due to virus or malware, run your antivirus or software on your PC.

If it finds any such issue, it will be taken care of by the application and PowerShell should stop opening at startup.

4] Troubleshoot in Clean Boot State

If the issue is still not fixed, it is recommended to perform Clean Boot where only the necessary apps and drivers run.

If you don’t find PowerShell opening at startup, it must have been caused by a third-party application you have installed.

Clean-boot troubleshooting is designed to isolate a performance problem. To perform clean-boot troubleshooting, you must take a number of actions, and then restart the computer after each action. You may need to manually disable one item after another to try and pinpoint the one that is causing the problem. Once you have identified the offender, you can consider removing or disabling it.

TIP: If you don’t use it, you can uninstall PowerShell.

Hope this guide helped you in fixing your issues with PowerShell opening at startup.

Related: Command Prompt cmd.exe keeps popping up on Startup.

Guru is a Communications graduate with hands-on experience with computers, cameras, and editing tools. A tech enthusiast and a movie buff who loves writing about computers, he dreams of living a life devoid of all tech and modern-day advancements in a forest.

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

В этом посте мы перечислили 6 действенных советов по устранению неполадок, чтобы предотвратить появление PowerShell на вашем ПК. Итак, приступим.

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

Шаг 1: Нажмите сочетание клавиш Ctrl + Shift + Esc на клавиатуре, чтобы запустить диспетчер задач.

Шаг 2: Перейдите на вкладку «Автозагрузка», выберите PowerShell и нажмите «Отключить» вверху.

Шаг 3: Кроме того, вам необходимо убедиться, что ярлык PowerShell не добавлен в папку «Автозагрузка» в Windows. Для этого нажмите сочетание клавиш Windows + R, чтобы открыть диалоговое окно «Выполнить», введите оболочка: запуск, и нажмите Enter.

Шаг 4: В следующем окне найдите и удалите ярлык PowerShell, если он есть.

2. Проверьте планировщик заданий на наличие активных задач.

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

Шаг 1: Нажмите клавишу Windows + S, чтобы открыть поиск Windows, введите Планировщик заданийи нажмите Enter.

Шаг 2: В разделе «Активные задачи» найдите любые действия, требующие использования PowerShell. Найдя задачу, дважды щелкните ее, чтобы просмотреть ее описание.

Шаг 3: Нажмите на опцию «Отключить» справа, чтобы отключить ее.

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

Если вы не можете отследить точную причину повторяющихся всплывающих окон PowerShell, вы можете воспользоваться средствами восстановления системы. Вы можете начать с запуска сканирования SFC (System File Checker) на вашем ПК, чтобы заменить любые поврежденные или отсутствующие системные файлы кэшированными версиями.

Шаг 1: Щелкните правой кнопкой мыши значок меню «Пуск» и выберите в появившемся меню пункт «Терминал Windows (Администратор)».

Шаг 2: Введите команду, указанную ниже, и нажмите Enter.

SFC /scannow

После завершения сканирования вы увидите сообщение, в котором будет указано, было ли сканирование успешным. Если при сканировании SFC не удается обнаружить какие-либо проблемы с системными файлами, попробуйте запустить сканирование DISM (система обслуживания образов развертывания и управления ими).

Откройте терминал Windows с правами администратора и выполните следующие команды, нажимая Enter после каждой:

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

Через несколько минут процесс завершится успешно. После этого перезагрузите компьютер и проверьте, открывается ли окно PowerShell.

4. Используйте средство устранения неполадок обслуживания системы

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

Шаг 1: Щелкните значок поиска на панели задач, чтобы открыть поиск Windows, введите панель управленияи нажмите Enter.

Шаг 2: В окне панели управления переключите тип представления на большие или маленькие значки, если это еще не сделано, и нажмите «Устранение неполадок».

Шаг 3: В разделе «Система и безопасность» нажмите «Выполнить задачи обслуживания».

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

5. Сканировать на наличие вредоносных программ

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

6. Попробуйте чистую загрузку

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

Шаг 1: Нажмите Win + R, чтобы открыть диалоговое окно «Выполнить». Тип msconfig.msc в поле и нажмите Enter.

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

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

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

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

Больше не всплывает

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

Some apps are set to run on startup, making them launch as soon as Windows boots up. But if it’s the Windows Powershell popping up, then you have a problem. As it turns out, this is a known issue affecting a fair share of Windows users. Fortunately, there are ways to fix it, as detailed in this guide.

Tip: you can use Powershell to hide annoying Windows updates. We show you how.

Content

  • General Fixes
  • 1. Check Whether a Task or Script Is Running in the Background
  • 2. Boot in Clean Mode
  • 3. Disable Windows Powershell Temporarily
  • 4. Delete Powershell Shortcut from Startup Folder
  • 5. Delete the Powershell Startup Status on the Task Manager
  • 6. Use the Microsoft Autoruns Program
  • Frequently Asked Questions

General Fixes

Before applying problem-specific fixes, these general tips could help you solve the problem if it was caused by a virus or a bug in the system.

  • Scan PC with malware removal tool: if you have a third-party antivirus or anti-malware program, you can search the computer for any malicious software. But if you don’t, you can have Windows Defender run a full scan on your computer.
  • Perform Chkdsk, DISM, and SFC scans: Windows has a few valuable utilities to check system files and ensure they are intact and that no corrupted files exist in your system folder. By typing the associated commands, you can run these utilities in the Windows Terminal or PowerShell.
  • Update Windows: go to settings and check for any available updates in the Windows Update tab.
  • Run the System Maintenance troubleshooter: Open the Run window by pressing Win + R, then type in %systemroot%\system32\msdt.exe -id MaintenanceDiagnostic and hit Enter to open the System Maintenance utility.

1. Check Whether a Task or Script Is Running in the Background

Your Windows system relies on PowerShell to launch background processes or authorize applications to access security files. If Windows PowerShell keeps popping up, there is a good chance that your system is running update processes or vital background tasks. You can check whether that’s the case by following these steps:

  1. Right-click on the Start menu and choose «Task Manager.»
Getting to Task Manager from the Quick Menu in Windows.
  1. In the «Processes» tab, click on «CPU» to reorganize the list based on the process CPU usage.
Task Manager with "Processes" tab visible.
  1. Review the list to see which process uses the abnormal amount of CPU. If it’s an unknown process, search the name in Google to see if it’s okay to end the task.
  2. Alternatively, if it’s a process named «wsappx» or any service using too much CPU, it means Windows is updating an app or itself.

Note: if you notice PowerShell in Task Manager, then ending the task would not help, and you should move on to the next fixes.

2. Boot in Clean Mode

Third-party apps are notorious for creating harmful files in your system and taking advantage of Windows PowerShell to make changes in your computer. The only way to identify these apps and cut access to your PC is to boot it in Clean Mode.

  1. Launch the Run box by pressing the Windows + R keys simultaneously. Type in msconfig and press Enter.
Typing "msconfig" in Run window.
  1. In the «General» tab, select «Selective Startup» and uncheck «Load startup items.»
"General" tab options in System Configuration window.
  1. Head to the «Services» tab and click «Hide all Microsoft services.» Select «Disable all» at the bottom of the window and click «OK.»
"Services" view in System Configuration window.
  1. Click the «Startup» tab and choose «Open Task Manager.»
"Open Task Manager" option via System Configuration.
  1. On the «Startup» tab of Task Manager, right-click each item and «Disable» it.
  2. Finally, click «OK» and restart your PC. If your PC boots up without issue, this means that a recently installed app was to blame, and you should uninstall it to solve the problem. If not, proceed to the next method.

Good to know: learn how to run a Java program in Command Prompt.

3. Disable Windows Powershell Temporarily

You can use the Command Prompt to disable Windows PowerShell temporarily. If you use PowerShell to disable itself, it may end up crashing and causing issues. Note that this method works on Windows 10 1803 and requires admin privileges.

  1. Click the Windows Search button and type «Command Prompt.» Right-click on the best result and choose «Run as administrator.»
Typing "Command Prompt" in Windows Search.
  1. Type the following commands and press Enter after each one. Remember to re-enable the PowerShell later. To disable it, type:
Dism /online /Disable-Feature /FeatureName: MicrosoftWindowsPowerShellV2Root
  1. To re-enable it, type:
Dism /online /Enable-Feature /FeatureName: MicrosoftWindowsPowerShellV2Root

4. Delete Powershell Shortcut from Startup Folder

The Startup folder contains all the Startup application shortcuts so that Windows can run them as soon as it boots up. The Windows «PowerShell.exe» shortcut can also be found in this folder, as, most of the time, this app is set to launch on startup. Thus, if Windows PowerShell keeps popping up, you should locate and delete this app’s shortcut from the Startup folder.

  1. Launch the Run box by pressing the Windows + R keys. Type in %ProgramData%\Microsoft\Windows\Start Menu\Programs\StartUp and hit Enter.
Typing command in Run window.
  1. Find and right-click on the PowerShell shortcut and choose «Delete.» If the list is empty or you can’t find PowerShell, proceed to the next method.

Tip: check out all of the options available to open Task Manager in Windows.

5. Delete the Powershell Startup Status on the Task Manager

You can also disable the PowerShell startup status via Task Manager to prevent it from launching on startup.

  1. Right-click on the Start menu and choose «Task Manager.»
Getting to Task Manager from the Quick Menu in Windows.
  1. Click on the «Start-up» tab and find «Windows PowerShell.» Right-click on it and select «Disable.»
Disabling start-up programs from Task Manager.

6. Use the Microsoft Autoruns Program

Microsoft offers a powerful tool to stop apps that are set to run automatically on your Windows.

  1. Download Autoruns.
  2. Open the app, and In the «Logon» tab, locate «PowerShell» and uncheck its box.
"Logon" tab in Autoruns app for Windows.

Tip: Is Microsoft Store not functioning as it should? We show you how to fix it.

Frequently Asked Questions

Is it OK to disable PowerShell indefinitely?

Although we don’t encourage you to do so, sometimes your only choice is to disable this console indefinitely. Windows should be fine without PowerShell since it can use Command Prompt, but PowerShell is an upgraded version of Command Prompt that can do much more than cmd.

What can PowerShell do that Command Prompt can’t?

While PowerShell is built on the .NET platform, it can communicate with Windows objects even at the core level, unlike Command Prompt, which can’t.

Can I update Windows PowerShell?

Windows updates system-related apps with each Windows update, so there is no need to update PowerShell separately. Still, you can update PowerShell manually without waiting for Windows to do it for you with the next update. To get PowerShell updates from the Microsoft Store app, search Windows PowerShell in the Microsoft Store Windows application, and the first app displayed is the one you are looking for.

Image credit: Pexels. All screenshots by Farhad Pashaei.

Farhad Pashaei

As a technophile, Farhad has spent the last decade getting hands-on experience with a variety of electronic devices, including smartphones, laptops, accessories, wearables, printers, and so on.

When he isn’t writing, you can bet he’s devouring information on products making their market foray, demonstrating his unquenchable thirst for technology.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

  • При закрытой крышке ноутбука работал монитор windows 11
  • При запуске windows гаснет монитор
  • При запуске windows выбивает синий экран
  • При закрытии крышки ноутбука выключается внешний монитор windows 11
  • При запуске windows всплывают окна