Powershell Keeps opening and closing when i charge my Lenovo Windows 11 and whenever it reachs 90%

Troubleshooting Persistent PowerShell Pop-Ups on Lenovo Windows 11 Laptops During Charging

Experiencing Unexpected PowerShell Launches When Charging

Many Lenovo users running Windows 11 have reported an unusual issue: the PowerShell application automatically opens and closes repeatedly whenever their device is plugged into a charger, particularly when the battery charge reaches around 90%. This behavior can be both distracting and concerning, especially when it persists despite various troubleshooting efforts.

Understanding the Issue

PowerShell, a powerful scripting environment integrated into Windows, occasionally triggers alerts or scripts that are configured to run during specific system events, such as connecting a charger or reaching certain battery levels. The repetitive opening and closing of PowerShell suggest that there may be a scheduled task, system setting, or script activated during charging events that is causing this behavior.

Common Troubleshooting Steps and Challenges

Users have attempted several common solutions, including uninstalling and reinstalling PowerShell. Unfortunately, these actions often do not resolve the issue, as PowerShell may still be invoked by underlying system mechanisms. Additionally, the fact that PowerShell does not appear in the Task Manager’s processes makes it difficult to identify or terminate the script or process responsible for this behavior.

Recommended Approaches

  1. Check for Scheduled Tasks:
  2. Use the Task Scheduler to review tasks that run at system events, such as plugging in the charger or reaching specific battery percentages.
  3. Look for tasks linked to battery or power management that may trigger PowerShell scripts.

  4. Examine Power Settings and Power Plans:

  5. Access the Power & Sleep settings in Windows and review any custom configurations or scripts associated with power events.
  6. Reset to default power plans if necessary.

  7. Investigate Battery Management Software:

  8. Some Lenovo devices include proprietary battery management tools that may execute scripts during charging cycles.
  9. Check for any pre-installed utility applications and review their settings or update them.

  10. Use Event Viewer:

  11. Utilize Windows Event Viewer to identify system events or logs that occur at the same time as the PowerShell pop-ups.
  12. This can help pinpoint the source or trigger.

  13. Run System Diagnostics:

  14. Use Lenovo’s diagnostic tools to rule out hardware issues that might cause abnormal power behavior.

  15. Seek Expert Support:

  16. If the issue persists, consider reaching out to Lenovo support or a professional technician who can perform a detailed system analysis.

Preventive Tips

  • Keep your system up to date with the latest Windows updates.
  • Ensure all device drivers

Share this content:

Leave a Reply

Your email address will not be published. Required fields are marked *