1. Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as:

    All that and more! Registration is quick, simple and absolutely free. Join our community today!

Tutorial locate and remove virus using attrib command in cmd

Discussion in 'Windows Tools & Tips' started by connectibyte, May 30, 2015.

  1. Please or Register to view links
    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. Please or Register to view links
      1
      Go hit start
      Ad
    2. Please or Register to view links
      2
      Than click on Run
    3. Please or Register to view links
      3
      In the search-box type in cmd.exe
    4. Please or Register to view links
      4
      When you click on OK a windows should come up similar to this:
    5. Please or Register to view links
      5
      First, type in the Infected Drive such as for example: dir/p C:
    6. Please or Register to view links
      6
      DON'T HIT ENTER YET! Type in the end switch such as s - h *. * /s /d and press ENTER
    7. Please or Register to view links
      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. Please or Register to view links
      8
      If you see the .exe and the autorun.inf than you have just found a tainted file.
    9. Please or Register to view links
      9
      Write down the program's name and where the program is located.
    10. Please or Register to view links
      10
      Rename the Autorun.inf so you can open it without activating the virus. Rename it as a rar. extension.
    11. Please or Register to view links
      11
      Go to start, and double click the My computer icon.
    12. Please or Register to view links
      12
      Select the tainted drive, that has the infected file. Find the program directory that contains autorun.inf.
    13. Please or Register to view links
      13
      Right-click on the file you renamed "virusfile" and choose "Delete."
    14. Please or Register to view links
      14
      Right-click on the ".exe" file and choose "Delete." You have now removed the virus from your computer's hard drive.
    my source: Please or Register to view links
     
    grayironman and st3a7th like this.
  2. Mukhang madugo ah.. Thanks ts!
     
  3. st3a7th

    st3a7th Honorary Poster Established

  4. thanks for sharing :)
     
  5. EARZE

    EARZE PHC Contributor Established

    thanks for sharing boss.. (y)
     
Tags / Keywords: