I've used this command within a scheduled task script that only runs when someone is logged and only when idle for 30 min, to force sleep mode to engage. It really helps insomina issues for users that don't logout, especially when certain user processes prevent sleep policies from working properly.
%windir%\System32\rundll32.Exe powrprof.Dll,SetSuspendState 0,1,0
POW! Good night! ZZZZZZZZZZzzzzzzzzzzz... Users come back and think nothing happened because their PC resumes from sleep mode alomost as fast a the monitor wakes up. Make sure you enable USB keyboard & mouse wake up for an even nicer user experience.
Comment/Reply (w/o sign-up)