Pages

Wednesday, November 16, 2011

BATCH FILE -TO DELETE AUTORUN.INF

AUTORUN.INF : BATCH FILE -TO DELETE AUTORUN.INF
When your pc get infected with virus through 'autorun.inf', it disables the following



  • Ctrl + Alt + delete ( To get task manager )
  • Registry Tools (regedit)
  • Folder Options
        - Show Hidden
This autorun.inf not only copied in the main boot drive ( c:) but also copied in all logical drives ( D,E,F drives etc ) . Unless you are not removing this inf file from all your drive this will carry on hamper your PC. In order to delete 'autorun.inf" you have to go to command prompt and manually delete by "del" command. Prior to that you have to run "attrib" command also. Some time user may get confuse and tend to forget what should be the syntax to a particular command. And even some time the virus may not allow you to go to command prompt . In this kind of situation you can still able to delete those unwanted autorun.inf file. Just follow the procedure:

Open a note pad and type the following :
 

@echo off
del /f/s/q AutoRun.inf
del /f/s/q/a:H AutoRun.inf
del /f/s/q/a:HR AutoRun.inf
del /f/s/q/a:R AutoRun.inf
del /f/s/q/a:HRS AutoRun.inf
del /f/s/q/a:S AutoRun.inf
del /f/s/q/a:SR AutoRun.inf
Now save the note pad with any name but after file name put a dot and type bat (.bat )

(Ex: antiautorun.bat ). This note pad file will save in a "batch file" format. First place this file in all drive and double click it. Now all autorun .inf information will be deleted.

Note: If you are able to access command prompt ( start->run->cmd) ,then,

1. Type edit

2. You get an edit window

3. Type the above said lines and save as any name but put a "dot" and add "bat".

4. close the editor window.

4. copy this file into all your directory and double click it .




5 comments:

RAJA said...

Useful information. When I open a folder I can see a folder in the same name. I have to delete it manually. Please inform how to stop this problem.

ARUL KUMAR said...

It is because your computer is infected with virus. It is easy to clean. mail me with your e mail Id I explain very clearly about this.

RAJA said...

my email id is smspkraja@gmail.com

ARUL KUMAR said...

Dear Raja ,Instead of going to all procedurte by manually, just download AVIRA antivirus and do a complete scan. It will take care of all your problem.

Saleemullah said...

i have worried to delet autrun.inf file from my hard drive i have tried all method of attribs and others but still it can not be deleted tell me any soution.

Post a Comment