On one of my article, I discussed how to disable the autorun feature in Windows to minimize the spread of USB viruses. In addition to that, I also created an article about creating a folder named “autorun.inf” on your USB drive to prevent viruses from creating an autorun.inf file.

Unfortunately there are some malware which are smart enough to delete the autorun.inf folder so they could successfuly create an autorun.inf file on your portable drives. To prevent this, we will create a special folder inside your autorun.inf folder. Once this is created, even you wouldn’t be able to delete the autorun.inf folder easily.

Follow the steps below to create a special folder called CON inside your autorun.inf folder. Let us assume that your USB drive letter is E:

  1. Click Start->Run… and type CMD.
  2. At the command prompt type, E: then hit Enter
  3. Type MD AUTORUN.INF, hit Enter (skip this step if you already have an autorun.inf folder)
  4. Type CD AUTORUN.INF, hit Enter
  5. Type MD .\CON\, hit Enter.

Creating a CON folder

Creating a CON folder


For an explanation about the CON folder, read my article about the “magic” in Microsoft.


Tell a Friend

See also: