![]() |
|
Remote PC Shutdown - by OU - Printable Version +- JapCarForum (https://www.japcarforum.com) +-- Forum: General Discussions (https://www.japcarforum.com/forumdisplay.php?fid=3) +--- Forum: The JCF Lounge (https://www.japcarforum.com/forumdisplay.php?fid=17) +--- Thread: Remote PC Shutdown - by OU (/showthread.php?tid=13103) |
Remote PC Shutdown - by OU - reganlives - 19-09-2021 I know there's quite a few of us that work in IT so thought this would be the best place to ask! What's the best way to initiate an automated shutdown of a machine by OU? There's a number of people that don't shut down their machines so I wanted to put a script or similar into the group policy to initiate a shutdown of any machine still powered up at a certain time of the day. Thanks
Remote PC Shutdown - by OU - Tonyb - 19-09-2021 I know it can be done but I haven't hot a clue how ! Sent from my GT-I9505 using Tapatalk Remote PC Shutdown - by OU - Rolex - 19-09-2021 take a look at scheduled tasks, certain versions of Windows allow you to setup task to restart machines/servers. Remote PC Shutdown - by OU - reganlives - 20-09-2021 Rolex take a look at scheduled tasks, certain versions of Windows allow you to setup task to restart machines/servers. That's what I ended up trying in the end. Set up a scheduled task with the shutdown command and some different switches. Going to do some testing on it today. Remote PC Shutdown - by OU - toxo - 20-09-2021 Surely a query of AD by OU, to get a list of machine names, then just running shutdown -m \\computername -t 0 -s as domain or enterprise admin would do it? Remote PC Shutdown - by OU - DaveEdin - 20-09-2021 Got to watch out for the risk that you'll lose unsaved work people have left open though... Remote PC Shutdown - by OU - Tonyb - 20-09-2021 Well they'll only lose it once......... Remote PC Shutdown - by OU - reganlives - 20-09-2021 Already taken that into account! I may chance the policy to a hibernate one instead of shutdown...not had a chance to look into it again yet today as looking into data issues on our database now but will get back to it on Monday I hope.
|