You could use the task scheduler to schedule such an event. You would probably want to run the command "shutdown -s"
Forum Rules