USB Flash Drive - Disable Autorun

October 2016

Disable autorun by default under Windows to avoid infections through your removable drives: USB flash drives, external hard drives, MP3 players, cards, digital cameras, etc. ...


  • When connected to a PC, the infection is transmitted via removable drives such as cookies!
  • Here are some examples:
    • AdobeR.exe
    • RavMon.exe
    • Host.exe
    • Svchost.exe
    • ise32.exe.
    • Copy.exe
    • MS32DLL.dll.vbs


  • Create a .reg file
  • Open Notepad and copy/paste the following code:


  • Name it as: autorun_disable.reg
  • Double-click the file to run. You will receive a message asking if you want to add data in the registry.
  • Click Yes to allow the change.
  • Restart the system for the changes to take effect

Related :

This document entitled « USB Flash Drive - Disable Autorun  » from CCM ( is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.