Results 1 to 4 of 4

Thread: Automatic execution on removable media

  1. #1
    Join Date
    Nov 2005
    Posts
    100

    Automatic execution on removable media

    Hello,
    Since 2 days ago my external hard drives are recognized fine, but their content is displayed automatically, even if I configure the automatic execution model (Opening files) since the job action is not taken into account. What do I do? (What is the registry key to change .... or I will have to clean install) ?

    Thank you

  2. #2
    Join Date
    May 2006
    Posts
    2,812

    Re: Automatic execution on removable media

    Restore the double-click on a drive by following an infection
    When you double click or you right-click a drive, an error message appears and you can not view the contents.
    Following an infection spreading through removable media, sometimes the antivirus on the system treats immediately executable associated with the infection.
    But it will remain for a file "autorun.inf" of infectious origin, calling the file disappeared.
    So when you want to open the drive, the autorun.inf file is executed and tries to execute the file deleted.
    Not, windows displays an error message and does not open the browser on the player.

    To resolve this problem, you should restore autorun:

    1) Start> Run and type cmd, and then click OK.
    A black window prompt will open.
    Then type the following command where X is the drive letter problem.
    attrib -s -r -h -a X:\autorun.inf
    And then validate
    Delete the file by typing the following command:
    del X: \ autorun.inf
    Close the window.
    If the drive was a problem with removable media, disconnect it and reconnect it.
    Otherwise restart your PC.
    Your concern should be resolved.
    If the problem persists, then your system is infected.

    2) Another way, disable autorun (auto)
    Copy / paste the following in the note, no blank line at the beginning.
    Save on the desktop under regis.reg.
    Right-click the file -> merge
    Agree to modify the registry:

    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer]
    "NoDriveTypeAutoRun"=dword:000000ff
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
    "NoDriveTypeAutoRun"=dword:000000ff
    Finally plug your support (or restart if it is not removable media).
    All you have to delete the file autorun.inf in the root of the drive that is a problem.
    It may be necessary to enable viewing of hidden files and folders to view and delete the file

  3. #3
    Join Date
    Dec 2007
    Posts
    765

    Re: Automatic execution on removable media

    I don't know if a folder action will work or not. If it can be attached to /Volumes, it might work.
    on adding folder items to this_folder after receiving added_items
    repeat with item_ in added_items
    if name of (info for item_) is "Removable Disk Name" then
    tell application "Finder" to set image_mounted to exists disk "name of disk image when mounted"
    if image_mounted is false then
    -- do stuff to open disk image
    end if
    exit repeat
    end if
    end repeat
    end adding folder items to
    FYI, the stay open app (script) wouldn't use much in the way of resources when it was idle. I have a couple that run 24/7.
    No TechArena No Experts, Know TA know Experts!

  4. #4
    Join Date
    May 2006
    Posts
    2,335

    Re: Automatic execution on removable media

    it's a virus, undetectable with antiviruses, there is a file named autorun.inf in the drive delete the file and recheck it.

Similar Threads

  1. Cannot use any Removable Media (USB)
    By franciz234 in forum Portable Devices
    Replies: 7
    Last Post: 02-04-2012, 11:27 PM
  2. removable media
    By mitomom in forum Technology & Internet
    Replies: 1
    Last Post: 10-08-2009, 12:49 PM
  3. How to disable automatic execution of my external hard drive?
    By Simpson in forum Hardware Peripherals
    Replies: 2
    Last Post: 30-12-2008, 03:20 PM
  4. Automatic execution.
    By Mirinda in forum Windows Software
    Replies: 2
    Last Post: 19-12-2008, 06:02 PM
  5. Disable automatic execution DVD
    By Crawdaddy in forum Hardware Peripherals
    Replies: 2
    Last Post: 10-12-2008, 07:41 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,212,330.01098 seconds with 17 queries