💻 Software
Triggering tasks and running programs when Windows 7 is plugged in or unplugged?
Fresh6 days ago
Mar 15, 20266331 viewsConfidence Score0%
0%
Problem
Possible Duplicate: Is there a way to execute a program on power events? Is there a Windows event that I can watch in Task Scheduler that will trigger when the power is plugged in? And an event when the power is unplugged? I want to start and stop CrashPlan while on battery power. (This has been a …
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Triggering tasks and running programs when Windows 7 is plugged in or unplugged?
Low Risk
By default, Windows does not log an event when you unplug or plug in your computer. However, with PowerShell you can listen for such a change and write your own events to the log. This script will do that:
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix