I often use my computer as a media player as i go to sleep.
I threw together these two shortcuts to turn my computer off after a hour.
These auto timed shutdown shortucts open the command prompt and schedule a shutdown with the windows shutdown command.
One shortcut starts the shutdown timer and the other one stops the runnning timer incase you change your mind.
These could also be reconfigured to time delay sleep, hibernate or restart.
Download the two shortcuts here