Hello folks, today i am going to to tell you how to remove virus using
command prompt. I know many antivirus are available to do this job but
many of them fail to remove these suspicious virus files such as
autorun.inf etc. Why don't we understand that we made tools for
decreasing our efforts, tools can not defect us.
Now come to point, following steps can be used to remove a virus file using command prompt:
Now come to point, following steps can be used to remove a virus file using command prompt:
- First, press Windows Button + r then type cmd in it and press enter.
- Open Infected drive such as write E: to go E drive.
- Now type dir/w/a . It will show all the files of the drive including hidden files.
- Locate your virus file name i am using AUTORUN.INF.
- Type command attrib -r –a –s –h to remove attributes of corresponding file.
- Now type del virus name.exe t delete it, eg : del newfolder.exe
Syntax for rename is (rename filename.extension new name , for example: (rename autorun.inf virus) to rename autorun.inf file. Here I have renamed it by “virusfile”.
- Now you can access the defected drive without affecting the virus.
- To delete the renamed file go to the defected drive and select the file you renamed, and delete it.
- Type cd recycler command.
- Again type dir/w/a to locate all file of the folder.
- Identify malicious files and delete them using above commands.
:)
thanks
ReplyDelete