Showing posts with label Autorun. Show all posts
Showing posts with label Autorun. Show all posts

Oct 27, 2008

When AutoPlay is activated n our Data CD/DVD or flash drives inserted, Windows will execute an Applications which is configured in autorun.inf. Read Wiki for more information of Autorun.inf

Mostly all viruses travels from autorun to system directory or drive

Here ill tell you how to block specific files from autoplay instead of Disabling Autoplay system.

Settings:
1] Run > regedit
2] go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\CancelAutoplay\Files
3] Add New String value and name it with application name which you want to block.
4] e.g.- Some bad coders use shell32.exe (system contains shell32.dll, see the difference between .exe n .dll) to execute virus from autorun.inf
[note:- shell32.exe, run32.exe, ntdetect1.exe these used to run virus cause system contains this named dll]
5] so to block shell32.exe from autorun i'll add new string value - name 'shell32.exe'
6] to block any other applications which contains 32.exe, so ill add '*32.exe'
7] you can block any file formats, e.g- vb scripts like 'killtask.vbs'
8] or you can set '*fun*' something like for blocking fun.exe
9] read by default string names to better understand..

Done. :)



Aug 27, 2008


Do you want to change your drive icons?
Do you wanna set different icons for different drives??

OK, then I'll tell you very simple trick to change our drive icons.
We don't need edit in registry for change icons. We will use an drive's autorun property, so we need add autorun command file at the root of our drive where icon want to change.

Let's first collect/select some good icon files (*.ico - icon files) to use or set to our drives.

Then Start to set icons,

setting:
1] Open 'notepad' > Save as 'autorun.inf' (*.inf file- setup information file) at the root of drive (which drive's icon we want to change) (e.g. - C:\autorun.inf)
2] in autorun.inf file write below two lines

[Autorun]
icon="myiconfilename.ico"

and save this file.
3] Copy your icon file at the root of drive where we saved autorun.inf file.
4] Rename icon file as 'myiconfilename.ico' [icon file name and autorun icon names must be same]
4] Set hidden property for both (icon n inf) files.
5] Restart your system.
6] Do that same above process for other drives if you want to change all drive icons.
(you can't change CD/DVD drive icons, but you can use for flash drives, if you want to change CD/DVD icons then you can burn 'autorun' n 'icon' file on disk)