Introduction: SAFE Fake Virus - - - Great for Trolling

Easy to use, fake virus using VBScript, a feature built in to recent windows computers. THIS WILL NOT WORK ON MAC! 

Step 1: Open Up Notepad

open up a blank notepad, this can be found in Accessories in the 'all programs' section of the start menu.

Step 2: Copy + Paste This Code Into the Notepad

Set WshShell = WScript.CreateObject("WScript.Shell")

strName = wshShell.ExpandEnvironmentStrings( "%USERNAME%" )

x=msgbox ("Critical: Your system is severely affected by multiple threats.. To abort all processes, press 'Abort'. To Scan again, press 'Retry'. To continue all processes, click 'Ignore'." ,2+16, "Virus found by Windows Defender©")
WScript.sleep 2000
msgbox "Sytem failure in %WINDIR%",48,ERROR

WshShell.Run "cmd"
WScript.sleep 200
wshshell.sendkeys "cls"
WScript.sleep 200
wshshell.sendkeys "{ENTER}"
WScript.sleep 200
wshshell.sendkeys "A"
WScript.sleep 200
wshshell.sendkeys "r"
WScript.sleep 200
wshshell.sendkeys "e"
WScript.sleep 200
wshshell.sendkeys " "
WScript.sleep 200
wshshell.sendkeys "y"
WScript.sleep 200
wshshell.sendkeys "o"
WScript.sleep 200
wshshell.sendkeys "u"
WScript.sleep 200
wshshell.sendkeys " "
WScript.sleep 200
wshshell.sendkeys "s"
WScript.sleep 200
wshshell.sendkeys "c"
WScript.sleep 200
wshshell.sendkeys "a"
WScript.sleep 200
wshshell.sendkeys "r"
WScript.sleep 200
wshshell.sendkeys "e"
WScript.sleep 200
wshshell.sendkeys "d"
WScript.sleep 200
wshshell.sendkeys ","
WScript.sleep 200
wshshell.sendkeys " "
WScript.sleep 200
wshshell.sendkeys strName
WScript.sleep 200
wshshell.sendkeys "?"
x=msgbox ("?",4)
wshshell.sendkeys "{ENTER}"
wshshell.sendkeys "cls"
wshshell.sendkeys "{ENTER}"
if x=6 Then
WScript.sleep 200
wshshell.sendkeys "G"
WScript.sleep 200
wshshell.sendkeys "o"
WScript.sleep 200
wshshell.sendkeys "o"
WScript.sleep 200
wshshell.sendkeys "d"
WScript.sleep 200
wshshell.sendkeys ","
WScript.sleep 200
wshshell.sendkeys " "
WScript.sleep 200
wshshell.sendkeys "y"
WScript.sleep 200
wshshell.sendkeys "o"
WScript.sleep 200
wshshell.sendkeys "u"
WScript.sleep 200
wshshell.sendkeys " "
WScript.sleep 200
wshshell.sendkeys "s"
WScript.sleep 200
wshshell.sendkeys "h"
WScript.sleep 200
wshshell.sendkeys "o"
WScript.sleep 200
wshshell.sendkeys "u"
WScript.sleep 200
wshshell.sendkeys "l"
WScript.sleep 200
wshshell.sendkeys "d"
WScript.sleep 200
wshshell.sendkeys " "
WScript.sleep 200
wshshell.sendkeys "b"
WScript.sleep 200
wshshell.sendkeys "e"
WScript.sleep 200
wshshell.sendkeys "."
WScript.sleep 200
wshshell.sendkeys "."
WScript.sleep 200
wshshell.sendkeys "."
wshshell.sendkeys "{ENTER}"
WScript.sleep 100
wshshell.sendkeys "exit"
WScript.sleep 100
wshshell.sendkeys "{ENTER}"
End If

if x=7 Then
WScript.sleep 200
wshshell.sendkeys "N"
WScript.sleep 200
wshshell.sendkeys "o"
WScript.sleep 200
wshshell.sendkeys "?"
WScript.sleep 500
wshshell.sendkeys " "
WScript.sleep 200
wshshell.sendkeys "."
WScript.sleep 200
wshshell.sendkeys "."
WScript.sleep 200
wshshell.sendkeys "."
WScript.sleep 200
wshshell.sendkeys "Y"
WScript.sleep 200
wshshell.sendkeys "o"
WScript.sleep 200
wshshell.sendkeys "u"
WScript.sleep 200
wshshell.sendkeys " "
WScript.sleep 200
wshshell.sendkeys "s"
WScript.sleep 200
wshshell.sendkeys "h"
WScript.sleep 200
wshshell.sendkeys "o"
WScript.sleep 200
wshshell.sendkeys "u"
WScript.sleep 200
wshshell.sendkeys "l"
WScript.sleep 200
wshshell.sendkeys "d"
WScript.sleep 200
wshshell.sendkeys " "
WScript.sleep 200
wshshell.sendkeys "b"
WScript.sleep 200
wshshell.sendkeys "e"
WScript.sleep 200
wshshell.sendkeys "."
WScript.sleep 200
wshshell.sendkeys "."
WScript.sleep 400
wshshell.sendkeys "{ENTER}"
WScript.sleep 100
wshshell.sendkeys "exit"
WScript.sleep 100
wshshell.sendkeys "{ENTER}"

End If
WshShell.Run "cmd"
WScript.sleep 500
wshshell.sendkeys "dir"
WScript.sleep 100
wshshell.sendkeys "{ENTER}"
WScript.sleep 1000
wshshell.sendkeys "dir"
WScript.sleep 100
wshshell.sendkeys "{ENTER}"
WScript.sleep 2000
wshshell.sendkeys "cls"
WScript.sleep 40
wshshell.sendkeys "{ENTER}"
WScript.sleep 40
wshshell.sendkeys "prompt deleting cookies..."
WScript.sleep 40
wshshell.sendkeys "{ENTER}"
WScript.sleep 40
wshshell.sendkeys "cls"
WScript.sleep 40
wshshell.sendkeys "{ENTER}"
WScript.sleep 2000
wshshell.sendkeys "prompt deleting Users..."
WScript.sleep 40
wshshell.sendkeys "{ENTER}"
WScript.sleep 40
wshshell.sendkeys "cls"
WScript.sleep 40
wshshell.sendkeys "{ENTER}"
WScript.sleep 2000

wshshell.sendkeys "prompt deleting drive 'C:'..."
WScript.sleep 200
wshshell.sendkeys "{ENTER}"
WScript.sleep 40
wshshell.sendkeys "cls"
WScript.sleep 40
wshshell.sendkeys "{ENTER}"
WScript.sleep 1000
x=msgbox ("Are you sure that you want to permanently delete all directories, files, and subfiles in environment variable: '%ALLDATA%' ? " ,4+32, "C:\")
WScript.sleep 2000
wshshell.sendkeys "prompt deleting system 32..."
WScript.sleep 70
wshshell.sendkeys "{ENTER}"
WScript.sleep 40
wshshell.sendkeys "cls"
WScript.sleep 40
wshshell.sendkeys "{ENTER}"
WScript.sleep 1000
wshshell.sendkeys "exit"
WScript.sleep 200
wshshell.sendkeys "{ENTER}"
WScript.sleep 4000
msgbox "Just kidding :)"

Step 3: Saving

save the file as anything you want, it just has to end in '.vbs'
   ex.      fakevirus.vbs

***make sure you save it to 'all files' and not 'text documents (*.txt)' 

Step 4: Creating the Shortcut

Right click on your desktop, and select  'create new'  then 'shortcut'  and click 'browse' and find the file you just saved.
Name it something interesting like " Magic Box Game "

Step 5: Editing the Shortcut

In order to get someone to click on it, you have to make this shortcut appealing.   
right click on the shortcut and then click   'properties'  , then   'Change Icon...'  and change the icon to something you think will catch your victim's eye.
Now you're done setting the trap!

Step 6: Tips and Warnings

you can end the program at any time by opening task manager ( CTRL + ALT + DELETE) and going to the 'processes' tab, and ending 'wscript.exe'

Clicking on another window or exiting out of the command prompt while the program is running may cause random files on your desktop to open.

HAVE FUN! 

Comments

author
Enricov8 (author)2016-05-20

I deleted the files from my pc but didnt close it in the procceses tab..

Is it gone now?

author
Gamerd5 (author)Enricov82017-08-15

Well,you can't delete a file while it's running,it ends automaticly so yes it is gone if you can delete it it's because it is not running

author
CadenB9 (author)2017-03-19

What programming language is this? I wanna learn!!

author
Johnny GamingH (author)CadenB92017-08-11

This is a simple case of vbScript it is very hard to find a way to learn

author
WallpingG (author)2016-10-09

....

author
IgorR10 made it! (author)2016-09-23

Boi wazguuuuuuuuuuuud

Yee.png
author
OwenA10 (author)2016-07-28

Functions. FUNCTIONS. FUNCTIONS

author
Ari J.H (author)2016-04-05

what does it do I'm on mac about to send it to my friend

author
rebeccaz4 (author)Ari J.H2016-07-14

It'll show some random text characters or letters on their computer. Otherwise it'll give an error since VBasic is not availibly on Mac

author
OkkuOlio (author)2016-01-28

set wshshell=wscript.createObject("wscript.shell")

wshshell.run "chrome.exe"

wscript.sleep 1000

wshshell.sendkeys "{w}"

wscript.sleep 100

wshshell.sendkeys "{w}"

wscript.sleep 100

wshshell.sendkeys "{w}"

wscript.sleep 100

wshshell.sendkeys "{.}"

wscript.sleep 100

wshshell.sendkeys "{y}"

wscript.sleep 100

wshshell.sendkeys "{o}"

wscript.sleep 100

wshshell.sendkeys "{u}"

wscript.sleep 100

wshshell.sendkeys "{t}"

wscript.sleep 100

wshshell.sendkeys "{u}"

wscript.sleep 100

wshshell.sendkeys "{b}"

wscript.sleep 100

wshshell.sendkeys "{e}"

wscript.sleep 100

wshshell.sendkeys "{.}"

wscript.sleep 100

wshshell.sendkeys "{c}"

wscript.sleep 100

wshshell.sendkeys "{o}"

wscript.sleep 100

wshshell.sendkeys "{m}"

wscript.sleep 100

wshshell.sendkeys "{/}"

wscript.sleep 100

wshshell.sendkeys "{w}"

wscript.sleep 100

wshshell.sendkeys "{a}"

wscript.sleep 100

wshshell.sendkeys "{t}"

wscript.sleep 100

wshshell.sendkeys "{c}"

wscript.sleep 100

wshshell.sendkeys "{h}"

wscript.sleep 100

wshshell.sendkeys "{?}"

wscript.sleep 100

wshshell.sendkeys "{v}"

wscript.sleep 100

wshshell.sendkeys "{=}"

wscript.sleep 100

wshshell.sendkeys "{e}"

wscript.sleep 100

wshshell.sendkeys "{W}"

wscript.sleep 100

wshshell.sendkeys "{u}"

wscript.sleep 100

wshshell.sendkeys "{0}"

wscript.sleep 100

wshshell.sendkeys "{w}"

wscript.sleep 100

wshshell.sendkeys "{C}"

wscript.sleep 100

wshshell.sendkeys "{h}"

wscript.sleep 100

wshshell.sendkeys "{l}"

wscript.sleep 100

wshshell.sendkeys "{W}"

wscript.sleep 100

wshshell.sendkeys "{j}"

wscript.sleep 100

wshshell.sendkeys "{w}"

wscript.sleep 300

wshshell.sendkeys "{enter}"

wscript.sleep 10000

wshshell.run ("notepad.exe")

wscript.sleep 200

wshshell.sendkeys "{S}"

wscript.sleep 100

wshshell.sendkeys "{h}"

wscript.sleep 100

wshshell.sendkeys "{u}"

wscript.sleep 100

wshshell.sendkeys "{t}"

wscript.sleep 100

wshshell.sendkeys "{d}"

wscript.sleep 100

wshshell.sendkeys "{o}"

wscript.sleep 100

wshshell.sendkeys "{w}"

wscript.sleep 100

wshshell.sendkeys "{n}"

wscript.sleep 100

wshshell.sendkeys "{ }"

wscript.sleep 100

wshshell.sendkeys "{i}"

wscript.sleep 100

wshshell.sendkeys "{n}"

wscript.sleep 100

wshshell.sendkeys "{:}"

wscript.sleep 100

wshshell.sendkeys "{ }"

wscript.sleep 100

wshshell.sendkeys "{5}"

wscript.sleep 1000

wshshell.sendkeys "{BACKSPACE}"

wscript.sleep 100

wshshell.sendkeys "{4}"

wscript.sleep 1000

wshshell.sendkeys "{BACKSPACE}"

wscript.sleep 100

wshshell.sendkeys "{3}"

wscript.sleep 1000

wshshell.sendkeys "{BACKSPACE}"

wscript.sleep 100

wshshell.sendkeys "{2}"

wscript.sleep 1000

wshshell.sendkeys "{BACKSPACE}"

wscript.sleep 100

wshshell.sendkeys "{1}"

wscript.sleep 1000

wshshell.sendkeys "{BACKSPACE}"

wscript.sleep 100

wshshell.sendkeys "{y}"

wscript.sleep 100

wshshell.sendkeys "{o}"

wscript.sleep 100

wshshell.sendkeys "{u}"

wscript.sleep 100

wshshell.sendkeys "{ }"

wscript.sleep 100

wshshell.sendkeys "{h}"

wscript.sleep 100

wshshell.sendkeys "{a}"

wscript.sleep 100

wshshell.sendkeys "{v}"

wscript.sleep 100

wshshell.sendkeys "{e}"

wscript.sleep 100

wshshell.sendkeys "{ }"

wscript.sleep 100

wshshell.sendkeys "{o}"

wscript.sleep 100

wshshell.sendkeys "{n}"

wscript.sleep 100

wshshell.sendkeys "{e}"

wscript.sleep 100

wshshell.sendkeys "{ }"

wscript.sleep 100

wshshell.sendkeys "{m}"

wscript.sleep 100

wshshell.sendkeys "{i}"

wscript.sleep 100

wshshell.sendkeys "{n}"

wscript.sleep 100

wshshell.sendkeys "{u}"

wscript.sleep 100

wshshell.sendkeys "{t}"

wscript.sleep 100

wshshell.sendkeys "{e}"

wscript.sleep 100

wshshell.sendkeys "{ }"

wscript.sleep 100

wshshell.sendkeys "{b}"

wscript.sleep 100

wshshell.sendkeys "{e}"

wscript.sleep 100

wshshell.sendkeys "{f}"

wscript.sleep 100

wshshell.sendkeys "{o}"

wscript.sleep 100

wshshell.sendkeys "{r}"

wscript.sleep 100

wshshell.sendkeys "{e}"

wscript.sleep 100

wshshell.sendkeys "{ }"

wscript.sleep 100

wshshell.sendkeys "{s}"

wscript.sleep 100

wshshell.sendkeys "{h}"

wscript.sleep 100

wshshell.sendkeys "{u}"

wscript.sleep 100

wshshell.sendkeys "{t}"

wscript.sleep 100

wshshell.sendkeys "{d}"

wscript.sleep 100

wshshell.sendkeys "{o}"

wscript.sleep 100

wshshell.sendkeys "{w}"

wscript.sleep 100

wshshell.sendkeys "{n}"

wscript.sleep 100

wshshell.sendkeys "{!}"

wshshell.run "shutdown.exe -r -t 60"

author
Paperpoker (author)OkkuOlio2016-03-06

What Does It Do??

author
MichaelC356 (author)2016-01-28

what does it do?

author
RalfP1 (author)2015-11-26

XDD This was fun as hell bruh

author
somef (author)2015-11-25

Set WshShell = WScript.CreateObject("WScript.Shell")


strName = wshShell.ExpandEnvironmentStrings( "%USERNAME%" )

x=msgbox ("Critical: Your system is severely affected by multiple threats.. To abort all processes, press 'Abort'. To Scan again, press 'Retry'. To continue all processes, click 'Ignore'." ,2+16, "Virus found by Windows Defender©")
WScript.sleep 2000
msgbox "Sytem failure in %WINDIR%",48,ERROR

WshShell.Run "cmd"
WScript.sleep 200
wshshell.sendkeys "cls"
WScript.sleep 200
wshshell.sendkeys "{ENTER}"
WScript.sleep 200
wshshell.sendkeys "A"
WScript.sleep 200
wshshell.sendkeys "r"
WScript.sleep 200
wshshell.sendkeys "e"
WScript.sleep 200
wshshell.sendkeys " "
WScript.sleep 200
wshshell.sendkeys "y"
WScript.sleep 200
wshshell.sendkeys "o"
WScript.sleep 200
wshshell.sendkeys "u"
WScript.sleep 200
wshshell.sendkeys " "
WScript.sleep 200
wshshell.sendkeys "s"
WScript.sleep 200
wshshell.sendkeys "c"
WScript.sleep 200
wshshell.sendkeys "a"
WScript.sleep 200
wshshell.sendkeys "r"
WScript.sleep 200
wshshell.sendkeys "e"
WScript.sleep 200
wshshell.sendkeys "d"
WScript.sleep 200
wshshell.sendkeys ","
WScript.sleep 200
wshshell.sendkeys " "
WScript.sleep 200
wshshell.sendkeys strName
WScript.sleep 200
wshshell.sendkeys "?"
x=msgbox ("?",4)
wshshell.sendkeys "{ENTER}"
wshshell.sendkeys "cls"
wshshell.sendkeys "{ENTER}"
if x=6 Then
WScript.sleep 200
wshshell.sendkeys "G"
WScript.sleep 200
wshshell.sendkeys "o"
WScript.sleep 200
wshshell.sendkeys "o"
WScript.sleep 200
wshshell.sendkeys "d"
WScript.sleep 200
wshshell.sendkeys ","
WScript.sleep 200
wshshell.sendkeys " "
WScript.sleep 200
wshshell.sendkeys "y"
WScript.sleep 200
wshshell.sendkeys "o"
WScript.sleep 200
wshshell.sendkeys "u"
WScript.sleep 200
wshshell.sendkeys " "
WScript.sleep 200
wshshell.sendkeys "s"
WScript.sleep 200
wshshell.sendkeys "h"
WScript.sleep 200
wshshell.sendkeys "o"
WScript.sleep 200
wshshell.sendkeys "u"
WScript.sleep 200
wshshell.sendkeys "l"
WScript.sleep 200
wshshell.sendkeys "d"
WScript.sleep 200
wshshell.sendkeys " "
WScript.sleep 200
wshshell.sendkeys "b"
WScript.sleep 200
wshshell.sendkeys "e"
WScript.sleep 200
wshshell.sendkeys "."
WScript.sleep 200
wshshell.sendkeys "."
WScript.sleep 200
wshshell.sendkeys "."
wshshell.sendkeys "{ENTER}"
WScript.sleep 100
wshshell.sendkeys "exit"
WScript.sleep 100
wshshell.sendkeys "{ENTER}"
End If

if x=7 Then
WScript.sleep 200
wshshell.sendkeys "N"
WScript.sleep 200
wshshell.sendkeys "o"
WScript.sleep 200
wshshell.sendkeys "?"
WScript.sleep 500
wshshell.sendkeys " "
WScript.sleep 200
wshshell.sendkeys "."
WScript.sleep 200
wshshell.sendkeys "."
WScript.sleep 200
wshshell.sendkeys "."
WScript.sleep 200
wshshell.sendkeys "Y"
WScript.sleep 200
wshshell.sendkeys "o"
WScript.sleep 200
wshshell.sendkeys "u"
WScript.sleep 200
wshshell.sendkeys " "
WScript.sleep 200
wshshell.sendkeys "s"
WScript.sleep 200
wshshell.sendkeys "h"
WScript.sleep 200
wshshell.sendkeys "o"
WScript.sleep 200
wshshell.sendkeys "u"
WScript.sleep 200
wshshell.sendkeys "l"
WScript.sleep 200
wshshell.sendkeys "d"
WScript.sleep 200
wshshell.sendkeys " "
WScript.sleep 200
wshshell.sendkeys "b"
WScript.sleep 200
wshshell.sendkeys "e"
WScript.sleep 200
wshshell.sendkeys "."
WScript.sleep 200
wshshell.sendkeys "."
WScript.sleep 400
wshshell.sendkeys "{ENTER}"
WScript.sleep 100
wshshell.sendkeys "exit"
WScript.sleep 100
wshshell.sendkeys "{ENTER}"

End If
WshShell.Run "cmd"
WScript.sleep 500
wshshell.sendkeys "dir"
WScript.sleep 100
wshshell.sendkeys "{ENTER}"
WScript.sleep 1000
wshshell.sendkeys "dir"
WScript.sleep 100
wshshell.sendkeys "{ENTER}"
WScript.sleep 2000
wshshell.sendkeys "cls"
WScript.sleep 40
wshshell.sendkeys "{ENTER}"
WScript.sleep 40
wshshell.sendkeys "prompt deleting cookies..."
WScript.sleep 40
wshshell.sendkeys "{ENTER}"
WScript.sleep 40
wshshell.sendkeys "cls"
WScript.sleep 40
wshshell.sendkeys "{ENTER}"
WScript.sleep 2000
wshshell.sendkeys "prompt deleting Users..."
WScript.sleep 40
wshshell.sendkeys "{ENTER}"
WScript.sleep 40
wshshell.sendkeys "cls"
WScript.sleep 40
wshshell.sendkeys "{ENTER}"
WScript.sleep 2000

wshshell.sendkeys "prompt deleting drive 'C:'..."
WScript.sleep 200
wshshell.sendkeys "{ENTER}"
WScript.sleep 40
wshshell.sendkeys "cls"
WScript.sleep 40
wshshell.sendkeys "{ENTER}"
WScript.sleep 1000
x=msgbox ("Are you sure that you want to permanently delete all directories, files, and subfiles in environment variable: '%ALLDATA%' ? " ,4+32, "C:\")
WScript.sleep 2000
wshshell.sendkeys "prompt deleting system 32..."
WScript.sleep 70
wshshell.sendkeys "{ENTER}"
WScript.sleep 40
wshshell.sendkeys "cls"
WScript.sleep 40
wshshell.sendkeys "{ENTER}"
WScript.sleep 1000
wshshell.sendkeys "exit"
WScript.sleep 200
wshshell.sendkeys "{ENTER}"
WScript.sleep 4000
msgbox "Just kidding :)"

not copy plz

*-*

author
somef (author)2015-11-25

It scared me to

author
somef made it! (author)2015-11-25

omg *-*

somef.jpg
author
somef (author)2015-11-25

omg*-*

author
somef (author)2015-11-25

omg*-*

author
gunnlaugursig (author)2015-10-28

This is so cool :)

author
KeenanS1 (author)2015-09-07

It scared me when i opened it up even though i made it... i got scared when my name popped up. this is amazing. C;

author
DempseyF (author)2015-08-04

it dont work

author
TilenG (author)2015-08-02

dude... you... are... awsome!! i just changed some text to fit me and thx for the code dude is gonna be soooo scared thx again!!

author
HevilmetalG (author)2015-05-23

Nice!

author
HevilmetalG (author)2015-05-23

author
Abby_cash3 (author)2015-03-05


author
NitroJoe64 (author)2014-03-21

I tried opening this on a computer that didn't have access to the cmd prompt, so instead it opened random things on my Desktop and really freaked me out.

author
Abby_cash3 (author)NitroJoe642015-03-05

Mmmmmwwwwwhahahahahahaha

author
Abby_cash3 (author)2015-03-05

It deleted all of my well EVERYTHING!!!!

author
ranjith.robbers (author)2015-01-25

man really i was afraid are u sure it wont affect my computer

author
asherd (author)2014-09-16

I accidentally created a vbs file that was a NIGHTMARE

author
crazy locoa (author)2014-08-21

Ive a better 1

m=Inputbox ("TELL ME YOUR PASSWORD!!!")

do

msgbox "Your Password Is: "+m

loop

save as TROLL.vbs

author
Cyclone1764 (author)2012-06-04

I called my one minecraft and got rid of my desktop icon (put it in tempory storage) and so whem my friend comes to my house tomorrow . . .

author
instructa-seal (author)2012-05-23

Mwahahahahah!
Thanks so much for this!
My sisters will freak out....:)

About This Instructable

288,673views

33favorites

License:

More by ig2s4tg:SAFE fake virus - - - great for trolling
Add instructable to: