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 réponses

ohlala85 Posted messages 44 Registration date   Status Membre 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
mcjak1 Posted messages 2 Status Membre
 
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
ZIRI
 
A big THANK YOU from Algeria, the order is working wonderfully, long live the net and long live YOU.
0
prob
 
Hello, how to execute in CMD
Thank you because I also have an autorun but on important drives, thanks.
0
Lynne6040 Posted messages 31 Status Membre 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
zguibi
 
Thanks for the trick, dude, it's really perfect +1.
0
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
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
zguibi
 
You need to run ATTRIB -R -A -S -H autorun.inf and then DEL autorun.inf.
0
regex
 
your maneuver is bogus because it doesn't work, guys.
0
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
alex
 
For a root removal, use anti-autorun.inf
http://www.delphiz.fr/programme.php?prog=anti-autorun-inf
4
Lynne6040 Posted messages 31 Status Membre 6
 
Attention, the installation file contains malware (detected by Antivir)!
0
pseudo
 
It's not a malware that it's detecting but the file's compression system; the file is clean.
0
ihbougie2008 Posted messages 6 Status Membre 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
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
chimay8 Posted messages 7947 Status Contributeur sécurité 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
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
mlah
 
I did what you said oh dear but the autorun.inf file is still there!
1
siiimo
 
How can we delete this autorun.inf
please, it has entered my server.
1
feel
 
here is how to permanently remove this virus with a single click

http://www.boxinformatique.com/2009/08/comment-supprimer-definitivement.html
1
mouden Posted messages 4 Status Membre 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
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
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
gayo
 
Sorry, but I can't delete the autorun.inf on my USB drive.
0
MattathYah
 
Apparently it's the virus Ravmon.exe???
0
RALF82
 
Hello
can someone tell me if this virus (which is in the system) will remain if I change the hard drive
sincerely
0
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
seb
 
I noticed that when installing usbfix and asking it to remove the vaccination, the hidden folder autorun.inf disappears.
0
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