How to delete virus "autorun.inf" for su [Solved/Closed]

Ask a question Mr. Bridge - Last answered on Feb 24, 2013 at 07:38 AM by mr. ripjaws04
Hello, To whom who might help me (Mr. Ali ?)
It seems that I have succeeded to get rid of virus "autorun.inf" by downloading, updating, and running AVG 8.0.
But I can still not open hidden files or folders, and I can still not open my C or D drive directly from "My Computer"
Is the virus still there ?
How can I know for sure and how to get rid of it for ever ?

Kindly Mr. Bridge (in some troubled water right now)
plus moins
first run your system in safe mode, then go to your my computer properties and enable the system restore function.
then restart your computer and run in command prompt mode. in the command mode type the following.
ATTRIB Autorun.inf -H -S -R.
if the file is found in the Drive then give.
DEL Autorun.inf.
<similarly you can do it for all drives. but you have to restart your system for each drive.>
Was this answer helpful?  
dans- Apr 16, 2010 at 06:38 AM
thanks mr.kannan

based on your suggestion I have removed autorun from my pendrive
dansmeall- May 7, 2010 at 06:37 AM
u can try thro SAFE MODE it will 100% defenatly work
Kannan&Kannan- Apr 29, 2011 at 05:03 AM
Thank you for your valuable suggestion for the removal of autorun.inf virus from my pen drive.
M. Kannan
Govt. Hr. Sec. School-Vaitheeswarankoil &
K. Kannan
D.B.T.R. National Hr. Sec. School-Mayiladuthurai.
mind_hunter- Feb 22, 2013 at 06:20 AM
autorun.inf is not virus, don't worry or create panic
mr. ripjaws04- Feb 24, 2013 at 07:38 AM
autorun.inf is not a virus if you find this file in a CD or DVD..

but when you find this file in a Drive, Hard Disk Drive or Removable
drive (USB Flash Disk Drive), where there are no Setup.exe for an
installer, then it is definitely a file created by Computer Worm
or Computer Virus, that when you autoplay it and execute the
autorun.inf, then the Worm or Virus will be triggered and then
it activates.

use Avast! Antivirus (Avast! Home Edition - free - should be
sufficient. then use Avast boot scan.

Microsoft affiliated Antiviruses like AVG, Avira, McAfee,
Norton Symantec, ESET NOD, Panda and other
microsoft affiliated antiviruses only slows down your system
and they are the ones giving your computer a Malware.

If after deleting autorun.inf, and you still don't see your files,
that is because the viruses did somethings in your file,
like it made your files Hidden (it's a file property).
Viruses/Worms make your files:
- Hidden files
- System files

after deleting autorun.inf and the virus/worm from your computer,
this doesn't show your hidden files. because it is an effect
that the virus did to your files.

to see your files, go to Folder and Search Options.
Or if you have a Menu bar, go to Tools>Folder Options.
a dialog box pops out, go to View tab.
choose the "Show hidden files, folders, and dirves" option...
then uncheck the boxes
- Hide extensions for known file types
- Hide protected operating system files (Recommended).

after doing these steps, then you'll be able to see your hidden
files that your previous worm/virus did to them.
plus moins
my autorun is in phone..... help me to remove please
hihi devils.venom - Oct 26, 2009 at 01:37 AM
u are the man!the solution work for me.but in my pen drive and my hard disk.
sonu- Jan 25, 2009 at 04:03 AM
how to delete autorun.inf in usb drive
prabhu- Mar 8, 2009 at 07:40 AM
how to delete usb pen drive virus
rey- Dec 12, 2012 at 09:59 PM
1.attrib -h -s /S /D
2.attrib -r /S /D
3.rd "system volume infomation" /S
4.system volume infomation are you sure Y/N type "Y"
5.then again step 3 and step 4
jennyher31 2Posts Wednesday December 12, 2012Registration date December 12, 2012 Last seen - Dec 12, 2012 at 10:44 PM


location of "recycler" OR "system volume information" ///// LIKE THIS LOCATION E: ,, F:,, G:,, D:,, C:

1. attrib -r -a -s -h *.*

attrib -h -r -s autorun.inf

del autorun.inf

then use this

2.attrib -s -h /S /D

3.attrib -r /S /D

4.rd "system volume information" /S OR rd "RECYCLER" /S

5system volume information are you sure Y/N TYPE "Y"

6.then repeat 4 and steps

plus moins
How to delete virus "autorun.inf" for su
bong- Jul 31, 2009 at 09:54 PM
asking for HELP!!!

hw can I delete authorun virus to my drive: hardisk can u guide me hw to delete it pls... HELP T_T
plus moins
right choice
plus moins
I'm never infected by an USB Stick virus because I use a french software : Anti-Autorun.inf :, I still launch this program before I connect an USB Stick. If this program see an "Antorun.inf", this program destroy it. For Start the program, click on "Demarrer".
plus moins

Plz Tell Me How can I remove this type of virus and I Don't Know the name of this virus plz help me
What can I Do now

Is there any Anti virus or other programe to protect me
plus moins
Hey I tried everything, but didn't work & did the following.

Booted my computer in DOS, had the virus in D:

D: & entered dir /ah to view the hidden file.

Then keyed "attrib -r -s -h autorun.inf"

Then "del autorun.inf"

Check for the folder recycled

cd recycled

you will find autorun.dll

key "attrib -r -s -h autorun.dll"

Then "del autorun.dll"

"attrib -r -s -h recycled"

"del recycled"

If you don't have any other data, then format the drive or reboot.
amit ghope- Apr 17, 2010 at 03:48 AM
Open Command Prompt -> Type the drive name say G: -> Type ATTRIB -H -R -S AUTORUN.INF -> Type EDIT AUTORUN.INF -> A new window appears; delete all the contents and click on File -> Save and click on File -> Exit

On command prompt -> Type ATTRIB +H +R +S AUTORUN.INF -> Type EXIT

Remove and reinsert the pen drive.

Now, The virus is completely removed.

Regarding any queries or any new problems , viruses or solutions contact me Darkhk3rAmit@H0TMAIL.CoM
eager- Apr 29, 2010 at 02:00 PM
I have autorun.inf in my C drive in which my windows xp is intalled
so how can I run these commands for C drive
plus moins
You cannot remove the autorun.inf and scrap files from you usb drive because you system has been infected by a worm. This worm installs kbdrv16 at startup and runs fake services.exe and lsass.exe it also runs keyboard.exe.
That is, it creates multiples processes in your computer that is not easily removed.

You can follow Lemniscatus' method in removing the worm at

Good luck!
plus moins
even you will reformat yuor drive the worm will still be there----solution--- install latest kaspersky internet security even trial version...thats all ....
plus moins
Whenever you plug a USB drive in your computer, a window will appear (if your autorun is enabled).

Don’t click on Ok , just choose ‘Cancel’.

Open your command prompt. Type ‘cmd’ in the run box or on the search panel if you are using vista

In the command prompt type the drive letter of your usb device and press enter. ex. C:\F: <— then press enter

Type dir /w/a and press enter. ex F:\ dir /w/a <— then press enter

This will display a list of the files in in your flash drive. Check if the following files present on your USB device.

* Autorun.inf
* Ravmon.exe
* New Folder.exe
* svchost.exe
* Heap41a
* or any other exe file that you find suspicious.

If you spotted any of the above files, then most probably your drive is infected.

To remove the virus, type in to your command prompt “attrib -r -a -s -h *.* and press enter. This will remove the Read Only, Archive, System and hidden file attribute from all the files.

To delete the virus just type del and the filename ex. F:\del virus.exe and hit enter.Delete all the files that you suspected is a virus. After deleting the virus, run a virus scan on your USB device just to make sure that your device is clean.

Remove the USB drive and plug it again. In most cases, the real culprit is “Autorun.inf” file which gets executed when someone clicks Ok in the dialog window which appears above. Thus the infections can spread.
eager- May 1, 2010 at 01:06 AM
I followed your steps and get rid off the AUTORUN.INF but how can I rmeove this folder from my drive C in which my windows is installed.
shaika- May 3, 2010 at 01:21 AM
very nice !...thanx for sharing
PARAS- May 3, 2010 at 07:37 AM
When I use this commant.
show this message
""""The process cannot access the file because it is being used by another process.'''''''''''''

Pls.. Tell me,,,
how can I use this commant for delate autorun.inf in Pen Drive.

naveen- May 14, 2010 at 09:41 AM
Good work
saivignesh- May 24, 2010 at 03:20 AM
thanks a lot !!!
plus moins
frist go to command prompt and that unhide autorun.inf fine and edit autorun.inf file after edit the file u can remove all entries in autorun.inf and restart computer now you check ur problem it is ok
plus moins
thanx kannan....i have removed that virus from my machine with the help of your procedure...thanx
mittal dinesh - Jun 10, 2009 at 11:30 PM
Kindly suggest me how to remove autorun.inf file which is hidden in pen drive. I have formatted the same but still unable to remove autorun.inf file. Thanks
Tomal dinesh - Jun 27, 2009 at 10:49 PM
At first ,
1. click on Start Button
2.then Click on Run
3. write down "cmd" in the Run box
then u can see a CMD box.

Here, u will write down cd...(Change directory)
u can see like this C:\>
then write c:\> attrib
when u will write this command "attrib" it will show u all of your affected file.
but u should only attentive for SHR autorun.inf and SHR AUTOTEXT.bat(these are virus)
then follow this instruction>>>
C:\>attrib -s -h -r autorun.inf
C:\> del autorun.inf

and then restart your computer. if u see this problem again then just delete autorun.inf. you should do samething for all of your drivers......

faisal- Apr 11, 2010 at 06:03 AM
C:\>del autorun.inf but cmd show (are you sure<Y/N>) how to select (Y)plz tell me plz plz plz
Mustafa- Apr 15, 2010 at 01:58 AM
sindhu- Apr 28, 2010 at 10:12 AM
i found autoexec.bat in cmd prompt. is this due to autorun virus? how can I remove that?
plus moins
Solution from Search-and-destroy.
If you own a computer, you must have antispyware to keep it running at its best. The problem is choosing a scan that works. I have tried many different types of scans in the past and then I ran across Search-and-destroy Antispyware. I have to say that the antispyware solution from Search-and-destroy is the best that I have used to date. It gets the job done and keeps my computer working like new. If you are interested in seeing for yourself just how good this antispyware works you can click on to learn more. I'm sure it would be worth your time to check it out.
plus moins
hi , if you want to delete the virus from ur system , then do onething instead of runing the anitvirus do the following
1 - boot ur machine in safe mode
2 - run antivirus scan
as I m sure that I will work , then I will tell ur further typical steps
plus moins
1) Go to Command prompt then go to C drive then type the command "dir/ah" then enter u see their Autorun.inf file.
after that start the system in Safe mode.
In safe mode go to Command prompt type the Command " attrib -h -r -s autorun.inf " then type the Command "del autorun.inf" so successfully this virus is remove.

2) Disable autorun from registry
go to run type the command "regedit" then enter , after that r registry edit window open , then going to HKEY_ CURRENT_USER\User\software\Microsoft\windows\current version\policies\explore. In right side area " NoDriveAutorun" value are their just double click on this value and insert value data FF and select hexadecimal.
then close the window and restart the computer .
plus moins
pagal ho time mat zaya karo aisi bakwas par
plus moins
hii ,to delete autorun.inf,enable show hidden files,unchechk the hide extension for knwon types and hide uncheck operting system files also than close that ,open explorer their you can find the autorun.inf in each drive ,restrat the computer
plus moins
Avg antivirus detects some viruses and not all. But u say it is detecting. Then try to heal the virus or delete the virus files with the options in Avg. Better Option is try some other antivirus like Avira or Mcafee antivirus
plus moins
after removing autorun file, my usb drive wont open
plus moins
to delete autorun virus:
1) check in root directory of all drives i.e(c: , d: etc.)with the help of winrar, if there exist autorun.inf file in every partion of ur hard disk then there is autorun virus..
2)download a program called usb firewall by typing in google or
3) install it and then start the sytem in safe mode.
4) run this program in safe will remove the virus from all partions..

Member requests are more likely to be responded to.

Members can monitor the statuses of their requests from their account pages.

A CCM membership gives you access to additional options.

Not a member yet?

Sign up now. It takes less than a minute and is completely free!