-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.
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