Locate Viruses Using the Attrib Command

Nowadays, anti-virus software can be very expensive. If you don't have any money to spare, and can't spend your money on a anti-virus to delete a virus. You can locate a virus manually using the Windows command prompt.

Steps

  1. Hit start.
  2. Click on Run.
  3. In the search-box 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 suspicious 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 virus file
  9. Write down the program's 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.