Disable autorun.inf To Prevent Virus InfectionThere are so many viruses spread out due to usb drive. It activates by inserting it through a port and after double clicking the drive it infects the computer.
lt scans and check if there is a ‘autorun.inf’ file and then write into ‘mountpoint2′ registry,’mountpoint2′ and will modify the act to open a disk or pop up menu. Although you already set up ‘ disable auto play’ ,use right click or use ‘explore’ to open disk,the result still will run ‘virus .exe’.
And so we need to restrict the ‘mountpoint2′ registry area.
1.START ->RUN ->Key in ‘regedit’ to open registry.
2. HKEY_CURRENT_USER\ Software\Microsoft\ Windows\CurrentVersion \Explorer\MountPoints2,
3.Right click ‘mountpoints2′ and select ‘permission’
4.Then click ‘Advance’,uncheck ‘inherit from parent the permission entires that apply to child objects. Include these with entires explicity defined here’.
5.Click ‘remove’.’Yes’ and ‘ok’.
Now,even you insert a usb drive with virus and your computer couldn’t affected.
Be careful in editing your registry, this should be done if you are quite familiar in doing so. Backup your registry before trying this.
Start -> Run -> gpedit.msc -> User Configuration -> Administrative Templates -> System -> Prevent access to registry editing tools -> Right Click Properties -> Disabled
Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Windows\CurrentVersion\Policies\System
Name: DisableTaskMgr
Type: REG_DWORD
Value: 1=Enablethis key, that is DISABLE TaskManager
Value: 0=Disablethis key, that is Don’t Disable, Enable TaskManager