How to Locate Viruses Using the Attrib Command

Steps:
1. Click Start Button

2. Then Click on Run


3. In the searchbox type in cmd.exe


4. When you click on OK a windows should come up Similar to this:

5. First, type in the Infected Drive such as for example: dir/p C:






6. DON'T HIT ENTER YET! Type in the end switch such as s - h *. * /s /d and press ENTER




7. The command prompt will load all the files in your drive. If you see anything suspicous for example: Autorun.inf or a .exe file. These files you need to watch out for.


8. If you see the .exe and the autorun.inf than you have just found a tainted file.






9. Write the prgram name and where the program is located.




10. Rename the Autorun.inf so you can open it without activating the virus. Rename it as a rar. extension.




11. Go to start, and double click the My computer icon.


12. Select the tainted drive, that has the infected file. Find the program directory that contains autorun.inf.

 
 13. Right-click on the file you renamed "virusfile" and choose "Delete."




14. Right-click on the ".exe" file and choose "Delete." You have now removed the virus from your computer's hard drive.



Enjoy our tutorials

0 comments:

Post a Comment