USB Flash Drive - Disable Autorun

August 2017




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. ...

Why

  • 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

Solution

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



[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer] 
"NoDriveTypeAutoRun"=dword:000000ff 

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] 
"NoDriveTypeAutoRun"=dword:000000ff 
  • 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


Published by jak58. Latest update on July 17, 2010 at 07:34 AM by jak58.
This document, titled "USB Flash Drive - Disable Autorun ," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).