5 Ways To Fix Windows PowerShell Keeps Popping Up.
Windows processes run a number of PowerShell scripts to carry out a number of duties required to run the system easily. However, typically this would possibly set off the PowerShell interface to open abruptly.
Most of the time, these pop-ups are brought on by legit Windows processes. However, some purposes or providers might randomly run the script to make unsolicited modifications to the system settings.
To stop PowerShell from popping up, you’ll want to decide if a scheduled activity or a startup utility or service is working a PowerShell script.
Check for Scheduled Task
Using the Task Scheduler, you’ll be able to set a selected activity to run when the system meets the required standards.
The Task Scheduler might have a activity that runs the PowerShell script, and if the set off is ready to repeat each couple of minutes, PowerShell will keep popping up.
- Press the Windows + R key to open Run.
- Type
taskschd.msc
and press Enter. This will open the Task Scheduler Window. - On the left panel, increase Task Scheduler Library.
- You will see a set of folders. Click on it to view all of the scheduled duties.
- Click on a activity. The Task Scheduler will now show all the small print in regards to the chosen activity.
- Go to the Action tab and examine its particulars to see whether it is working a PowerShell script. The PowerShell script may have a
.ps1
extension. - Check the motion tab on all of the folders contained in the Task Scheduler Library.
- Once you discover the PowerShell script, right-click on the duty and choose Disable.
Note: You have to examine all of the folders inside Task Scheduler Library to find out the duty that’s working the PowerShell Script.
Some purposes would possibly have to run the PowerShell script to operate. In such instances, you’ll be able to change the triggers so the script doesn’t run incessantly. To change the triggers,
- Double-click on the Task that launches the PowerShell script.
- Go to the Triggers tab.
- Click on Edit. Here, you’ll be able to change the settings that set off the script.
- Once you set the specified configuration, click on OK to save lots of modifications.
Use Autoruns
Checking particular person folders on the Task scheduler library could also be tedious, so you’ll be able to as an alternative use Autoruns to examine duties which may set off a PowerShell Script. Autoruns permits customers to get full particulars about providers, DLL recordsdata, scheduled duties, and drivers that run on startup.
- Download Autoruns and Autorunsc.
- Extract the downloaded file and open the extracted folder.
- Right-click on
Autoruns.exe
and click on on Run as Administrator. - Select Yes if it asks for affirmation.
- Go to the Everything tab.
- Check the Image Path column for any file with
.ps1
extention. - Once you discover the file, examine its corresponding Autoruns Entry and disable it.
- Restart your pc and examine for those who nonetheless get the PowerShell pop up.
Perform Clean Boot
Most of the time, checking the Task Scheduler and working the Autoruns ought to assist you determine the Powershell script answerable for popping up PowerShell.
But, providers from a third-party utility in your PC may be launching a PowerShell script.
When you clear boot the system, your PC won’t run any providers besides essential Microsoft Services, serving to you to determine if any third-party providers are inflicting the difficulty.
- Open Run.
- Type
msconfig
after which press Enter. This will open the System Configuration window. - Go to the Services Tab.
- Check Hide all Microsoft Services and click on on Disable All.
- Click on Apply.
- Restart your PC and examine if PowerShell pops up.
If the PowerShell nonetheless pops up, you’ll be able to soar to the subsequent resolution. However, if the pop-up stops, you’ll want to decide the service that’s inflicting it.
- Open System Configuration.
- Go to the Services tab.
- Check Hide all Microsoft Services.
- Enable half of the providers that you just beforehand disabled.
- Restart the PC and examine if the PowerShell pops up.
- If it does, the offender service is amongst half of the providers that you just simply enabled.
- Keep repeating this course of till you discover the service inflicting the pop-up.
Check Startup Application Using Task Manager
Several purposes begin routinely as soon as the OS hundreds into the reminiscence. These startup purposes may be launching the PowerShell scripts. To disable them, you’ll be able to disable the startup utility.
- Open Task Manager by urgent the Ctrl + Shift + Esc key concurrently.
- Go to the Startup tab.
- Click on an utility with the standing Enabled and click on on Disable.
- Disable all of the purposes which have their standing Enabled.
- Restart your PC and examine if the PowerShell nonetheless pops up.
Full Scan Your Computer
Malicious purposes in your PC might run PowerShell scripts randomly. To guarantee this isn’t the case, we advocate that you just carry out a full PC scan.
- Open Run.
- Type
mrt
and press enter. - Click on Next.
- Check the Full scan and click on on Next.
- Once the scanning completes, click on on View detailed results of the scan to view the affected/malicious recordsdata.
Check out more article on – How-To tutorial and latest highlights on – Technical News