Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home » Windows

5 Ways to Fix Windows PowerShell Keeps Popping Up

Deep ShresthaBy Deep ShresthaApril 21, 2023
windows powershell keeps popping up

Windows processes run several PowerShell scripts to perform several tasks required to run the system smoothly. However, sometimes this might trigger the PowerShell interface to open abruptly.

Most of the time, these pop-ups are caused by legitimate Windows processes. However, some applications or services may randomly run the script to make unsolicited changes to the system settings.

To prevent PowerShell from popping up, you need to determine if a scheduled task or a startup application or service is running a PowerShell script.

Table of Contents

  • Check for Scheduled Task
  • Use Autoruns
  • Perform Clean Boot
  • Check Startup Application Using Task Manager
  • Full Scan Your Computer

Check for Scheduled Task

Using the Task Scheduler, you can set a specific task to run when the system meets the required criteria.

The Task Scheduler may have a task that runs the PowerShell script, and if the trigger is set to repeat every few minutes, PowerShell will keep popping up.

  1. Press the Windows + R key to open Run.
  2. Type taskschd.msc and press Enter. This will open the Task Scheduler Window.
    open task scheduler powershell keeps popping up
  3. On the left panel, expand Task Scheduler Library.
    task scheduler all folder
  4. You will see a set of folders. Click on it to view all the scheduled tasks.
  5. Click on a task. The Task Scheduler will now display all the details about the selected task.
  6. Go to the Action tab and check its details to see if it is running a PowerShell script. The PowerShell script will have a .ps1 extension.
    task action powershell keeps popping up
  7. Check the action tab on all the folders inside the Task Scheduler Library.
  8. Once you find the PowerShell script, right-click on the task and select Disable.
Note: You need to check all the folders inside Task Scheduler Library to determine the task that’s running the PowerShell Script.

Some applications might need to run the PowerShell script to function. In such cases, you can change the triggers so the script does not run frequently. To change the triggers,

  1. Double-click on the Task that launches the PowerShell script.
  2. Go to the Triggers tab.
    change task scheduler triggers powershell keeps opening
  3. Click on Edit. Here, you can change the settings that trigger the script.
    change task scheduler triggers
  4. Once you set the desired configuration, click OK to save changes.

Use Autoruns

Checking individual folders on the Task scheduler library may be tedious, so you can instead use Autoruns to check tasks that might trigger a PowerShell Script. Autoruns allows users to get complete details about services, DLL files, scheduled tasks, and drivers that run on startup.

  1. Download Autoruns and Autorunsc.
    download autoruns powershell pop up
  2. Extract the downloaded file and open the extracted folder.
  3. Right-click on Autoruns.exe and click on Run as Administrator.
    run autorun powershell pop up
  4. Select Yes if it asks for confirmation.
  5. Go to the Everything tab.
  6. Check the Image Path column for any file with .ps1 extention.
    check startup using autoruns
  7. Once you find the file, check its corresponding Autoruns Entry and disable it.
  8. Restart your computer and check if you still get the PowerShell pop up.

Perform Clean Boot

Most of the time, checking the Task Scheduler and running the Autoruns should help you figure out the Powershell script responsible for popping up PowerShell.

But, services from a third-party application on your PC could also be launching a PowerShell script.

When you clean boot the system, your PC will not run any services except crucial Microsoft Services, helping you to figure out if any third-party services are causing the issue. 

  1. Open Run.
  2. Type msconfig and then press Enter. This will open the System Configuration window.
    open system configuration using run
  3. Go to the Services Tab.
  4. Check Hide all Microsoft Services and click on Disable All.
    disable microsoft services powershell keeps popping up
  5. Click on Apply.
  6. Restart your PC and check if PowerShell pops up.

If the PowerShell still pops up, you can jump to the next solution. However, if the pop-up stops, you need to determine the service that is causing it. 

  1. Open System Configuration.
  2. Go to the Services tab.
  3. Check Hide all Microsoft Services.
  4. Enable half of the services that you previously disabled.
  5. Restart the PC and check if the PowerShell pops up.
  6. If it does, the culprit service is among half of the services that you just enabled.
  7. Keep repeating this process until you find the service causing the pop-up.

Check Startup Application Using Task Manager

Several applications start automatically once the OS loads into the memory. These startup applications might be launching the PowerShell scripts. To disable them, you can disable the startup application.

  1. Open Task Manager by pressing the Ctrl + Shift + Esc key simultaneously.
  2. Go to the Startup tab.
  3. Click on an application with the status Enabled and click on Disable.
    disable startup application powershell keeps popping up
  4. Disable all the applications that have their status Enabled.
  5. Restart your PC and check if the PowerShell still pops up.

Full Scan Your Computer

Malicious applications on your PC could run PowerShell scripts randomly. To ensure this is not the case, we recommend that you perform a full PC scan.

  1. Open Run.
  2. Type mrt and press enter.
    run malicious software removal tool
  3. Click on Next.
    click on next mrt
  4. Check the Full scan and click on Next.
    full scan powershell keeps popping up
  5. Once the scanning completes, click on View detailed result of the scan to view the affected/malicious files.
fix
Deep Shrestha
  • Twitter
  • LinkedIn

Deep Shrestha works as a computer hardware writer at TechNewsToday with several hardware and programming certifications. Although he has been writing technical content for more than a year, his interest in hardware components started at a very young age ever since he heard about PC building. Pursuing his passion, he has assembled several desktop computers. Besides building desktop PCs, Deep also has hands-on experience fixing software and hardware issues on laptops and desktop computers. Using all this knowledge and skills about computer hardware, he's on a quest to make content that's easy to read and understand for everyone. You can contact him at deep@technewstoday.com

Related Posts

how to turn off hardware acceleration

How to Turn Off Hardware Acceleration

September 22, 2023
what happens if you turn off your computer during an update

What Happens if You Turn Off Your Computer During an Update?

September 18, 2023
How to Disable Integrated Graphics

How to Disable Integrated Graphics?

September 16, 2023
System Restore Stuck

How To Fix Windows Stuck on System Restore

September 16, 2023
startup-repair-couldn't-repair-your-pc

How To Fix “Startup Repair Couldn’t Repair Your PC”

September 13, 2023
how to free up ram

How to Free Up Memory

August 4, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
how to turn off hardware acceleration

How to Turn Off Hardware Acceleration

September 22, 2023
motherboard chipset

Understanding Motherboard Chipset and Its Importance

September 20, 2023
Naval-Warfare-Games

Best Naval Warfare Games

September 18, 2023
You may also like
printer-not-printing

How to Fix a Printer That’s Not Printing

September 20, 2023
Share Location With Friends and Family

Share Location With Friends and Family (iPhone and Android)

September 18, 2023
how-to-print-without-a-printer

How to Print Without a Printer

September 18, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.