Last Updated on


The autorun.inf Malware is a text that can be used by the AutoRun and AutoPlay components of Microsoft Operating Systems.

In order for the component to be discovered and used by these components, it must be located at the root (outside of the disk). It remains hidden from a unit. Because Windows has a file name view that is not case sensitive, the autorun.inf file can be stored as AutoRun.inf or Autorun.INF or any other combination of upper and lower case letters.

This virus is spread using the autorun.inf function, which usually makes it found in portable storage like a USB Pendrive, USB HDDs, Micro SD, Mobile Phone, etc.

When the Malware is executed (because it is activated by clicking on the icon of the storage medium, or the window that presents the operating system) If it can be set on the PC, you can run the Malware without realizing it.

What is AutoRun and AuroPlay

AutoPlay is a feature found in Windows® operating systems (OS) since Windows XP®, which allows media that is inserted into a drive or connected to a computer to play automatically. This feature will typically create a window that asks if a person wishes to use a certain program in order to play the files on a disc that has been inserted into a drive. The options provided will usually depend on the types of files on the disc or device connected to the computer. AutoPlay also allows a user to indicate that all similar media in the future should be opened using the selected program as well.

First established with Windows XP®, the AutoPlay feature was designed and implemented in order to make media playback easier for computer users. Prior to this addition, whenever a compact disc (CD) or similar media was placed inside of a disc drive, the user would have to select that drive and tell the system what he or she wanted to do with it. With the advent of AutoPlay, however, the OS will search inserted media in order to establish what types of files are on it, and then recommend or use whatever program is appropriate to play those files.

For example, if a CD featuring music files is inserted into a computer with an appropriate Windows® OS, the OS will detect those music files on the disc. An AutoPlay window will then popup indicating the appropriate program to use to play those music files, typically Windows Media Player®. The user can then easily choose to play the music through that program. A computer user can also indicate that in the future, whenever a similar disc with music files is inserted into the computer, it should use AutoPlay to play those files through that program without further prompting.

This is somewhat similar to AutoRun, a feature introduced in earlier versions of the Windows® OS that automatically runs a program or executable found on a disc or other media accessible by the computer. AutoRun is typically used to find executable files on an install disc for a new program, and automatically begin the installation procedure to make the process easier for users. While many computer users enjoy the ease of AutoPlay, there are also users who prefer to be able to manually select the program and files they wish to play. Since AutoPlay opens in a separate window, it is typically quite easy to simply close the window and then access the files on the media directly in order to play them as the user sees fit.


Method 1

Create a text file (.txt) and write the following text:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]

Then save it as Disable_Autorun.reg and open it

Method 2

If the first method did not work, there is an alternative via Command Prompt (CMD)

Open the CMD and write the following commands:

cd ..
cd ..
attrib -h -s -r *.* /s /d

Also Read This

Categories: MalwareWindows

Jonathan Terreo

Jonathan is a Software/Web Developer that loves blogging in the free time. He loves to upload quality content to his websites. He is a WordPress/SEO expert due to his experience.

vulputate, venenatis, tristique commodo libero Sed risus amet, sem, Praesent id, diam