Delete Autorun.inf from the root...

Solved
MattathYah -  
 mohamednjah -
Hello,
Due to a virus, I have the autorun.inf file at the root of my hard drive, and no matter how many times I delete it, it automatically reappears when I open My Computer or restart my PC... so I don't know how to permanently delete it...

Because of this file, I'm facing several issues... when I open C:/ it opens in a new window... when I right-click on C:/ instead of having Open in bold, it says Auto... when I check "Show hidden files and folders," it automatically unchecks itself once I close the options dialog... and even if I uncheck "Hide protected operating system files," they do not appear....

So how can I effectively delete the autorun.inf file???

Thank you for your help...
Configuration: Windows XP Internet Explorer 6.0

16 answers

  1. ohlala85 Posted messages 44 Registration date   Status Member Last intervention   32
     
    Hello,

    To delete the autorun.inf file on a partition or a USB device:

    1. Start > Run > cmd
    2. Type x: and press Enter (x corresponds to the drive letter)
    3. ATTRIB -R -A -S -H autorun.inf
    4. DEL autorun.inf

    To check that the file has been deleted: DIR /a

    If it's a USB device, you need to disconnect and then reconnect it to finally display its contents

    Good evening!
    17
    1. mcjak1 Posted messages 2 Status Member
       
      Hi,

      thank you very much!

      I was able to delete it thanks to the command you provided.

      The directory was still there, but empty!

      So I managed to delete it and it’s no longer on my hard drive.

      Thanks again!
      0
    2. ZIRI
       
      A big THANK YOU from Algeria, the order is working wonderfully, long live the net and long live YOU.
      0
    3. prob
       
      Hello, how to execute in CMD
      Thank you because I also have an autorun but on important drives, thanks.
      0
    4. Lynne6040 Posted messages 31 Status Member 6
       
      Thank you! The autorun file was uninstalled using this technique.

      To Prob: Make sure to read the instructions provided by ohlala85 carefully. It's very well explained and, above all, write everything as it should be.
      0
    5. zguibi
       
      Thanks for the trick, dude, it's really perfect +1.
      0
  2. Faust
     
    c:\> attrib -r -s -h autorun.inf
    c:\> del autorun.inf
    d:\> attrib -r -s -h autorun.inf
    d:\> del autorun.inf

    I tried to apply these commands, but I'm being told that these CMDs are either incorrect or do not exist.
    5
    1. lanick
       
      Hi guys
      I tried your maneuver that is to say
      c:\>attrib -r -s -h autorun.inf
      c:\> del autorun.inf
      but a message appears on the screen telling me that the process is still busy, what should I do in this case
      thanks in advance
      0
    2. zguibi
       
      You need to run ATTRIB -R -A -S -H autorun.inf and then DEL autorun.inf.
      0
    3. regex
       
      your maneuver is bogus because it doesn't work, guys.
      0
    4. regex
       
      By the way, I think we should first disable the read-only attribute of the autorun.inf file in order to modify its content instead of deleting it.
      0
  3. ihbougie2008 Posted messages 6 Status Member 6
     
    Hello everyone, I have the same problem as you MattathYah, there's an autorun.inf file on my hard disk c,d,e, I would be grateful if you could give me a solution. Thank you. Best regards, ihbougie.
    3
    1. oussama
       
      Il faut télécharger un bon logiciel qui résout ce problème sur internet, qui s'appelle : Antiautorun RAV ou bien Autorun Eater.
      0
  4. chimay8 Posted messages 7947 Status Security Contributor 60
     
    Hello everyone,

    an autorun is often significant of an infection... and there is a multitude of malware that use autoruns.

    To disinfect your system, I recommend creating your own topic like this

    http://perso.orange.fr/rginformatique/section%20virus/demofairesontmessage.htm
    See you soon

    --
    Welcome to CCM. NO disinfection by PM!!
    Disinfection is NEVER finished until the helper says so!!
    2
  5. MattathYah
     
    I was able to remove it because last night when I opened c:/ it displayed the dialog box to choose a program... since I had Explorer XP on my computer, I deleted it, so now it opens again in the same window...

    But I still have the same problem with the options... where does it come from??
    1
  6. mlah
     
    I did what you said oh dear but the autorun.inf file is still there!
    1
  7. siiimo
     
    How can we delete this autorun.inf
    please, it has entered my server.
    1
  8. feel
     
    here is how to permanently remove this virus with a single click

    http://www.boxinformatique.com/2009/08/comment-supprimer-definitivement.html
    1
  9. mouden Posted messages 4 Status Member 1
     
    aller à l'invite de commande et écrire cette commande
    ouvrir exécuter puis écrire cmd puis écrire ces commandes

    c:\> attrib -r -s -h autorun.inf
    c:\> del autorun.inf
    d:\> attrib -r -s -h autorun.inf
    d:\> del autorun.inf

    redémarrer le pc
    1
  10. betonnier
     
    I have a solution for everyone suffering from these annoying little viruses
    download usbfix and run it, follow the instructions:
    http://usbfix.softonic.fr/
    Don't thank me, it was a real pleasure to help you.
    1
    1. louri21
       
      When I run the command, it tells me
      impossible to find the file c:\autorun.inf
      and when
      I type dir/a
      I see that the file is present. Did I make any application errors?
      c:\>attrib -r -s -h autorun.inf
      c:\>del autorun.inf
      0
    2. gayo
       
      Sorry, but I can't delete the autorun.inf on my USB drive.
      0
  11. RALF82
     
    Hello
    can someone tell me if this virus (which is in the system) will remain if I change the hard drive
    sincerely
    0
  12. Enzo
     
    I don't want to bring you down, but all your ideas to remove autorun.inf don't work; mine must be write-protected, which prevents me from deleting it from the command prompt, and the anti autorun found it but doesn't delete or rename it...
    0
  13. seb
     
    I noticed that when installing usbfix and asking it to remove the vaccination, the hidden folder autorun.inf disappears.
    0
  14. Enzo-du-24
     
    Moreover, by reformatting the disk, the autorun in question is removed, but it forces you to save somewhere else the data that is on it ;)
    0