I am having a hard time getting our middle school student to shutdown their computers at the end of the day. They usually put them to sleep. This is important with patch management as they are installed silently. Instead the kids put their laptops to sleep and never reboot them. I can remove the sleep option with GPO (which I've already done for hibernate) but then when the kids change classes, they need that ability to put so they don't have to wait for their latpop to boot up at every class.
Here are some of the options that I have thought of what do you guys think
1. Add a scheduled task to shut down at the end of the day. The only problem with that is what if the laptop is applying a patch at that time? How would I prevent the shutdown?
2. Add a scheduled task to go off during the last class of the day that takes away the ability to put the PC to sleep. So shutdown or reboot would be the only options would have. Then I would also need a task that would give back the ability to sleep at the start of the next day. (I’m not sure how to write this script)
3. Have a script that would run once a day so see the uptime and if it has been a few days it would force a reboot. (This might be easier to do, but I'm not quite sure how to script it yet).
Also some kids turn off their laptops by holding down the power button. Doing that keeps some patches from installing. Is there a way to disable that? I don't think so given that it’s a hardware issue. I don't see any options in bios that would change that.