Batch File Prank

Introduction: Batch File Prank

Hi Boffins of the world!

Today I'm going to show you how to right a random batch file prank.

I'll say it right now, this is NOT A VIRUS, it's a piece of harmless fun!

Have fun!

Step 1: Getting Started

 Okay, first you need to open notepad as this is where you'll type in your batch file.

Step 2: The Actual File

 Okay so here is the actual file (feel free to copy and paste it -

@echo off
@echo WARNING VIRUS ATTACK!
@echo WARNING VIRUS ATTACK!
@echo WARNING VIRUS ATTACK!
@echo All Files Deleted. Reboot to Restore.
@echo Press Enter to Reboot
ping 1.1.1.1 -n 1 -w 5000 >NUL
@echo C: Drive Deleted
@echo WARNING! All Files Lost! Virus Detected 
@echo Contact Administrator
@echo WARNING! FIREWALL BREACHED!
pause
@echo WARNING! System Shutdown in 5!
ping 1.1.1.1. -n 1 -w 1000 >NUL
@echo WARNING! System Shutdown in 4!
ping 1.1.1.1 -n 1 -w 1000 >NUL
@echo WARNING! System Shutdown in 3!
ping 1.1.1.1 -n 1 -w 1000>NUL
@echo WARNING System Shutdown in 2!
ping 1.1.1.1 -n 1 -w 1000>NUL
@echo WARNING! System Shutdown in 1!
ping 1.1.1.1 -n 1 -w 1000 >NUL
@echo Man are you easy to fool! 




Step 3: Also...

 If you want you can change the last line of the batch file (@echo man are you easy to fool!) to this

shutdown -s -f -t 15 -c  

Which will cause the pc to shutdown in 15 seconds, but will do no lasting damage!

Well Bye-Bye!

3 People Made This Project!

Recommendations

  • Holiday Decorations Speed Challenge

    Holiday Decorations Speed Challenge
  • Plywood Challenge

    Plywood Challenge
  • Battery Powered Contest

    Battery Powered Contest

37 Discussions

0
joshualiu1025
joshualiu1025

Tip 5 days ago

This is pretty nice, but for you to see the rest, you have to add a pause or it will close before you can read it.

0
mayank.charlotte
mayank.charlotte

Tip 10 months ago

You can use taskkill /f /im explorer.exe to turn the screen blue
type start explorer.exe to restore! (in cmd)

0
mayank.charlotte
mayank.charlotte

Tip 10 months ago

My Alternative batch code


@echo off
color 0b
title Computer Shutdown
cls

echo Warning! PC Shutdown may occur soon!
timeout 15
echo Sike! Weeeellllllllll...
timeout 1
shutdown -s -f -t 15 -c


0
yay132411
yay132411

Question 1 year ago

What does ping 1.1.1.1 -n 1 -w 1000 >NUL do

0
Histocon
Histocon

3 years ago

@echo off

color 0f

title ©2017 Northern Territory Government of Australia [HDD SEARCH AND SEIZURE]

echo Obtaining Computer's IP Address...

timeout 3

echo VPN found..[active]................................................................

timeout 3

echo ...................................................................................

echo ..Updating the NT Police ©PROMIS system............................................

echo ...................................................................................

timeout 3

echo ...................................................................................

echo . Dialing Northern Territory police headquarters 131 444..

echo ...................................................................................

timeout 5

echo ...................................................................................

echo ..Your IP Address 138.44.213.7 is now being traced by ©PROMIS servers..............

echo ..The Northern Territory Government of Australia [HDD SEARCH AND SEIZURE] program..

echo ..has been activated and detected you as a potential threat to the ©PROMIS system..

echo .."276B. Unlawful access to data..................................................

echo ..[1] A person unlawfully accessessing data held in a computer with intent to-.....

echo ..(a) cause loss or harm to the person entitled to the data or a third person; or..

echo ..(b) gain a benefit or advantage, whether personally or for a third party,........

echo ..-is guilty of a crime and is liable to imprisonment for 10 years.................

echo ..

echo ...................................................................................

timeout 10

echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

echo ::imediate erasure of your computer's Hard Drive(s) to conceal evidence will:::::::

echo ::result in further investigation and severe criminal penalties to include 10::::::

echo ::years imprisonment and a $500,000 fine for obstruction of justice and disclosure:

echo ::of government information::::::::::::::::::::::::::::::::::::::::::::::::::::::::

echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

echo ...................................................................................

echo ..©2017 Northern Territory Government of Australia [HDD SEARCH AND SEIZURE]........

echo ..program will now procede to duplicate and uplaod your hard drive(s) data to......

echo ..©PROMIS servers..................................................................

echo ...................................................................................

timeout 5

echo ...................................................................................

echo ..HDD data duplication successful..................................................

echo ...................................................................................

timeout 2

echo ...................................................................................

echo ..HDD data successfully uploaded to ©PROMIS servers................................

echo ...................................................................................

timeout 5

echo ..to ensure no further offences occur under your name ©PROMIS has concluded........

echo ..to render your computer unserviceable............................................

echo ...................................................................................

echo ..command 3hgw5th6p.exe has successfully been initiated and will render your.......

echo ..computer unserviceable in roughly 5 business days................................

echo ..command 3hgw5th6p.exe will now proceed to boot up within roughly 10-15 seconds...

echo ...................................................................................

timeout 15

set loopvar=1

:looplabel

set /a loopvar=%loopvar%+1

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

if '%loopvar%'=='1500' goto endlabel

goto looplabel

:endlabel

shutdown -s -f -t 15 -c "©2017 Northern Territory Government of Australia [HDD SEARCH AND SEIZURE] program was successful. The ©PROMIS servers will contact you within 8-10 business days reguarding the results of the ©2017 Northern Territory Government of Australia [HDD SEARCH AND SEIZURE]."

0
forrestr6
forrestr6

3 years ago

@echo off

@echo WARNING WINDOWS DEFENDER BREACH!

@echo WARNING WINDOWS DEFENDER BREACH!

@echo WARNING WINDOWS DEFENDER BREACH!

@echo All Files Deleted. Reboot to Restore.

@echo Press Enter to Reboot

ping 1.1.1.1 -n 1 -w 5000 >NUL

@echo C: Drive Deleted

@echo WARNING! All Files Lost! Virus Detected

@echo Contact Administrator

@echo WARNING! FIREWALL BREACHED!

pause

@echo WARNING! System Shutdown in 5!

ping 1.1.1.1. -n 1 -w 1000 >NUL

@echo WARNING! System Shutdown in 4!

ping 1.1.1.1 -n 1 -w 1000 >NUL

@echo WARNING! System Shutdown in 3!

ping 1.1.1.1 -n 1 -w 1000>NUL

@echo WARNING System Shutdown in 2!

ping 1.1.1.1 -n 1 -w 1000>NUL

@echo WARNING! System Shutdown in 1!

pause

SHUTDOWN /s /f /c "just a prank bro"

0
BubbaSkywalker
BubbaSkywalker

3 years ago

You can also mesh this with a windows error .vbs file with a simple opening command embedded into a fork bomb loop.

0
Janneske2
Janneske2

4 years ago

I made this out of it:

@echo off

color 0a

timeout /T 1 /nobreak>nul

@echo WARNING! Virus Attack!

timeout /T 2 /nobreak>nul

@echo WARNING! Virus Attack!

timeout /T 3 /nobreak>nul

@echo WARNING! Virus Attack!

timeout /T 1 /nobreak>nul

cls

timeout /T 1 /nobreak>nul

@echo All files deleted. Reboot to restore.

@echo Press Enter to reboot.

pause>nul

cls

timeout /T 3 /nobreak>nul

@echo C:Drive deleted.

timeout /T 2 /nobreak>nul

@echo WARNING! All files lost.

timeout /T 1 /nobreak>nul

cls

timeout /T 1 /nobreak>nul

@echo Contact Administrator.

timeout /T 4 /nobreak>nul

cls

timeout /T 1 /nobreak>nul

@echo Virus Detected!

timeout /T 2 /nobreak>nul

cls

timeout /T 1 /nobreak>nul

@echo WARNING! System shutdown in 5!

timeout /T 1 /nobreak>nul

cls

@echo WARNING! System shutdown in 4!

timeout /T 1 /nobreak>nul

cls

@echo WARNING! System shutdown in 3!

timeout /T 1 /nobreak>nul

cls

@echo WARNING! System shutdown in 2!

timeout /T 1 /nobreak>nul

cls

@echo WARNING! System shutdown in 1!

timeout /T 2 /nobreak>nul

cls

timeout /T 1 /nobreak>nul

@echo PRANK!!!

timeout /T 1 /nobreak>nul

pause

0
MaxR2
MaxR2

6 years ago on Introduction

So, I pimped this code out a little bit! Please tell me if I can make anything more efficient or better, or even if I made any mistakes! THANKS! :)

@echo off

@echo WARNING VIRUS ATTACK!

@echo WARNING VIRUS ATTACK!

@echo WARNING VIRUS ATTACK!

@echo All Files Deleted. Reboot to Restore.

@echo Press Enter to Reboot

ping 1.1.1.1 -n 1 -w 5000 >NUL

@echo C: Drive Deleted

@echo WARNING! All Files Lost! Virus Detected

@echo Contact Administrator

@echo WARNING! FIREWALL BREACHED!

pause

@echo WARNING! System Shutdown in 5!

ping 1.1.1.1. -n 1 -w 1500>NUL

@echo WARNING! System Shutdown in 4!

ping 1.1.1.1 -n 1 -w 1500>NUL

@echo WARNING! System Shutdown in 3!

ping 1.1.1.1 -n 1 -w 1500>NUL

@echo WARNING! System Shutdown in 2!

ping 1.1.1.1 -n 1 -w 1500>NUL

@echo WARNING! System Shutdown in 1!

ping 1.1.1.1 -n 1 -w 1500>NUL

@echo Man are you easy to fool!

@echo Do you REALLY think I would make a virus to delete all files on your computer?

@echo Well, I might. But not this time.

@echo This time.

@echo THIS TIME.

@echo Press Enter to End

ping 1.1.1.1 -n 1 -w 4000 >NUL

@echo SIKE! Im deleting everything now!

@echo Now I will give you a REAL countdown!

pause

@echo DELETING ALL FILES IN 5

ping 1.1.1.1. -n 1 -w 1500>NUL

@echo DELETING ALL FILES IN 4

ping 1.1.1.1. -n 1 -w 1500>NUL

@echo DELETING ALL FILES IN 3

ping 1.1.1.1. -n 1 -w 1500>NUL

@echo DELETING ALL FILES IN 2

ping 1.1.1.1. -n 1 -w 1500>NUL

@echo DELETING ALL FILES IN 1

ping 1.1.1.1. -n 1 -w 1500>NUL

pause

color 2

:start

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

goto start

0
nova
nova

Reply 9 years ago on Introduction

Sure, we never really did figure out what we were going to do, so for sure.

0
rahulbumwatt
rahulbumwatt

Reply 9 years ago on Introduction

Right then! we may as well get started! Nova, you already have my email, messmaker, ive sent you a private message. reply soon!

0
Alfred17k
Alfred17k

Reply 7 years ago on Introduction

Can I be in on this? I have a few years of practice with these sort of viruses. .




0
messmaker
messmaker

Reply 9 years ago on Introduction

i have added you both to windows live.
im looking forward to working with you both.

0
nova
nova

Reply 9 years ago on Introduction

Absolutely, rahulbumwatt, you could start a group email maybe? As i don't have messmaker's.

0
xXFrEnZyXx
xXFrEnZyXx

8 years ago on Introduction

Does this code work?

@echo off

color a
echo Please wait...
cls
pause>nul

Please reply ;D

------Contact Info--------
AIM: EliteOzzie
------------------------------

0
lukeford
lukeford

8 years ago on Step 2

i fixed your code for you

@echo off

color a
echo WARNING VIRUS ATTACK!
:sleep
ping 1.1.1.1 -n 1 -w 5000 >NUL
cls


echo All Files Deleted. Reboot to Restore.
ping 1.1.1.1 -n 1 -w 1000>nul
echo Press Enter to Reboot
pause>nul
cls

echo C: Drive Deleted
echo WARNING! All Files Lost! Virus Detected
echo Contact Administrator
:sleep
ping 1.1.1.1 -n 3 -w 1000>nul
cls
echo WARNING! FIREWALL BREACHED!
:sleep
ping 1.1.1.1 -n 3 -w 1000>nul
cls

echo WARNING! System Shutdown in 5!
ping 1.1.1.1. -n 1 -w 1000 >NUL
cls
echo WARNING! System Shutdown in 4!
ping 1.1.1.1 -n 1 -w 1000 >NUL
cls
echo WARNING! System Shutdown in 3!
ping 1.1.1.1 -n 1 -w 1000>NUL
cls
echo WARNING! System Shutdown in 2!
ping 1.1.1.1 -n 1 -w 1000>NUL
cls
echo WARNING! System Shutdown in 1!
ping 1.1.1.1 -n 1 -w 1000 >NUL
cls
echo Man are you easy to fool!
pause>nul

0
mthee1
mthee1

8 years ago on Step 2

@echo off
title p@ythee Virus Killer
color 7c
echo.
echo Hey, You have a *** Very Dangerous Virus ***
echo.
echo.
echo Virus is Activating NOW . . . . .
ping localhost > nul
cls
echo Trying to remove ⌡öuX.dll . . . . .
ping localhost > nul
:_1
color cf
dir/s
goto:_1

0
mthee1
mthee1

8 years ago on Introduction

That code is not for Prank...

@echo off
:a
explorer
goto:a