This is one of the common problems with Flash Drives. This is mostly because of the flash drive recycler trojan.
Sanju already has discussed this problem and has written a detailed explanation of how to solve this problem. Even if your system has any trojan in it, he’s written how to clean up the trojan.
Read further: Problem While Double-Clicking To Open A Flash Drive