Monday, 1 June 2015

How to Remove a Virus Using Command Prompt


1) Go to start menu and type “cmd” in the search box or Start>all
programs>accessories>command prompt.

2)Open the infected drive such as write , g: to go to G drive.

3)Now type dir/w/a . It will show all the files of the drive including hidden files.

4) Locate AUTORUN.INF or any Virus and other suspicious files in the
directory.



https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTArbQujdIHD0lx4GZ4Nx3WCrrQnWnjVzmdPg6cKdr7wwYwidz8oEjXLV2dTKZdI1oNG_ZAZZeQxVI9ZQVdL9p0gTNSfuRPH4dJDndjzXXOj1T6pIYrvtjs7n8q33ctjZzOeDhmC8nPHg/s1600/autorun.png
there was no virus in my drive so only autorun.inf is been highlighted.




5)Type command attrib -r –a –s –h to remove attributes of corresponding
file.

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCj-b-bt5TKDR5Xvy6AssvRBUDk4D1SI96vb-kFNNOfC-CqsClnSALc3fCfHz0foXDSaLauNGLZLcj40Gh-9tNQVTT3geh3VQ7IXRvlBmZnLpY9UkNtkbz5AYNKrBbNQR-qRjHZFJfqNQ/s1600/ra.png

6)Type del autorun.inf to delete autorun.inf file.

7)Now type del virus name.exe t delete it, eg : del newfolder.exe .





Author:

0 comments: