Right, and if you wanted to do this through GP, you could create a startup
script batch file that calls shutdown.exe from an AT command line:
at 20:00 /every:M,T,W,Th,F,S,Su “shutdown /r /f”
Note that this will create a new scheduler job every time it runs, so you
probably only want it in your startup script for a day or two. Otherwise you
could preface it with the following command:
at 1 /d
at 20:00 /every:M,T,W,Th,F,S,Su “shutdown /r /f”
Note that this assumes that the current job id is always 1, which may not be
the case.
—
Darren Mar-Elia
MS-MVP-Windows Server–Group Policy
Simplify Group Policy Troubleshooting with the NEW GPExpert Troubleshooting
Pak 1.0 at http://www.sdmsoftware.com/products.php
Visit the GPOGUY: http://www.gpoguy.com — The Windows Group Policy
Information Hub:
FAQs, Training Videos, Whitepapers and Utilities for all things Group
Policy-related