How to create a task to shutdown PC when AC power is off - Microsoft Community


hi,

i trying create task to shutdown pc when ac power off, couldn't find event/log trigger task. ac power connected/disconnected logs stored default , can find them?

in event viewer, had checked windows logs couldn't see log when disconnect/connect ac power. , there lot of log folders under application , services logs > microsoft > windows, had checked of them no luck far.

thanks,

kadir

hi genevieve,

after hour of searching in event viewer, have found logs of power source change. can found under "application , services logs">"microsoft">"windows">"universaltelemetryclient"

ac power on log:

ac power off log:

so have created shutdown task trigger configuration below:

now task working intended, hope post can others well. 

thanks,

kadir



Windows / Windows 10 / Power on or off a device / PC



Comments

Popular posts from this blog

$AV_ASW folder - Microsoft Community

WTouch_Message_Window app running in the background is preventing - Microsoft Community

Windows error No Certificate Available - Microsoft Community