To keep USB viruses from injecting themselves to your PC or laptop is to Disable the USB Autorun feature:

  1. Click the Start button, then Run and enter "gpedit.msc" without the quotes
  2. Go to Computer Configuration -> Administrative Templates -> System
  3. Scroll down to "Turn off Autoplay" and double click on it
  4. Click on the "Enabled" radio button, then for "Turn off Autoplay on" select "All drives"

just keep holding Shift when you insert a USB disk. It cancels the autorun.

Delete autorun.inf file in the usb drive if you suspect it is infected with virus.

Stop windows from executing AUTORUN.INF