Bookcafe

Tuesday, April 29, 2014

How To Remove Virus LNK/Autorun Manually On Your Thumb Drive/USB Flash Drive

Your antivirus cannot delete the infected files because of the attributes of the files have been set to Read-only , Archive ,System  and Hidden file attribute.

Therefore, you need extra works to remove the virus and these are the steps that I have been using (My System Windows 7 Pro Sp1 other OS might have different approaches):

1. Disable autorun on all drive (Click Start the Start->Gpedit.msc -> Computer Configuration->Administrative Templates,->Windows Components,-> Autoplay Policies-> Turn off Autoplay-> Enabled->select All drives->Restart the computer)

2. Run cmd as administrator

3. Type at the command prompt the following (O is my thumb drive)

               C:\Windows\System32>attrib -R -S -H  O:\*.* /s /d

               C:\Windows\System32>attrib -A  O:\*.* /s /d

4. And now all the files attributes have been cleared

5. Finally, scan your Thumb Drive using any antivirus  to remove the infected files (I used AVG 2014 Free Edition) make sure you have updated your Antivirus before you doing this

No comments:

Post a Comment