US Trends

how to stop powershell from popping up

PowerShell usually pops up because something in startup, a scheduled task, or malware is launching it automatically. The fastest fix is to find what is triggering it and disable that source.

What to check first

  1. Open Task Manager and go to the Startup tab.
  2. Disable anything suspicious or anything labeled Windows PowerShell or Windows Terminal.
  3. Restart and see whether the popup is gone.

If it still appears

  • Open Task Scheduler and look for tasks that launch PowerShell, then disable the suspicious ones.
  • Run a clean boot to see whether a background app is causing it, which Microsoft recommends for this kind of problem.
  • Run a malware scan if the popup seems unusual or keeps returning, since repeated PowerShell prompts can be caused by unwanted software.

If it is just a window you need to close

  • Click the X in the corner.
  • Press Alt + F4.
  • Open Task Manager and end the PowerShell task.

Important note

There is no supported way to permanently stop the standard PowerShell notification itself if Windows PowerShell 5.1 is being launched; the real fix is stopping whatever is opening it.

A practical order to try is: startup apps, scheduled tasks, clean boot, then malware scan. That sequence covers the most common causes without changing more than necessary.

Would you like a step-by-step guide for Windows 10 or Windows 11?