Safer way to Delete Viruses from USB flash drives

Now a days viruses are coming from USB flash drives. So here is the tip to protect your USB flash drives and computer from viruses.
Just follow these simple steps and delete viruses from USB flash drives without affecting your system.
 
Here are steps:
1. Connect your USB flash drive and do not open it by using autorun.

2. Open Run and type cmd and press enter.

3. In the Command Prompt, Type the drive letter of your USB flash drive(you can check it from My computer) and then press enter.

4. Type dir/w/o/a/p and press Enter.
It will display list of files.

5. Now in that list search for virus files like:
Autorun.inf
New Folder.exe
Bha.vbs
Iexplore.vbs
Info.exe
New_Folder.exe
Ravmon.exe
RVHost.exe
any other files with .exe Extension

6. If it contains any of the files above file then type attrib -h -r -s -a *.* and press Enter.

7. Delete each of that file using delete Command
del filename (For example: del autorun.inf )
Its done!

Now you can scan your USB flash drive with any good antivirus and then can open it without affecting your system.

0 comments:

Post a Comment

Pages