automatically reboot windows if it was on lock screen

-1

I wanted to see if there is anyway on windows 10 that I can do a automatic reboot if device was on lock screen. the reason is our machines randomly stuck on lock screen which they will be fixed with simple reboot. I wanted to see if there is anyway I can automate it.

Morteza Sahebkar

Posted 2018-07-24T18:03:46.973

Reputation: 1

You could try to create a task in task scheduler. Then set "on workstation lock" as the trigger and add a script which reboot comptuer as the action. – Joy – 2018-07-26T09:32:28.840

you do not have any idea how your solution helped me. Thanks a million. I wish I could like your comment million times. – Morteza Sahebkar – 2018-07-26T15:28:04.410

Answers

0

Update here: Joy's answer worked perfect for me. here is his solution:

You could try to create a task in task scheduler. Then set "on workstation lock" as the trigger and add a script which reboot comptuer as the action

Morteza Sahebkar

Posted 2018-07-24T18:03:46.973

Reputation: 1

Joy, is there anyway you can think about rebooting if the machine was on lock screen for more than 10 seconds? – Morteza Sahebkar – 2018-08-20T15:10:55.767