Here is another trick to shutdown at a specific time, for example you wish to shutdown at 1:45am. Type this in

start=>Run

Type Code: at 1:45 shutdown -s

(Time should put when u want to shutdown your PC)

TO ABORT:
Code:shutdown -a