How To: Remove a Virus From a USB Stick

How To: Remove a Virus From a USB StickThe easiest way to remove any virus from a USB flash disk is this: format it! Be sure to use the Full Format function, not the quick format function.In the very unlikely event you get an error messages saying you cannot format USB thumb because it’s being used by another program, or for some reason you have data on there you don’t want to format off, then you can try the following.

Before I start however, let me explain the fundamental concept of what we are trying to do.

With most virus’ they make it very hard to delete the files so they can spread their infection. To do this, they use several files and ping each other so they appear to be in constant use. This is why you see the error “being used by another program cannot delete or format.” So what we need to do, is stop that process. In addition, programmers put in attributes to make it hard to delete from the USB storage disk as well. For example they set the file attribute to Archive, or System File so we’ll need to remove those attributes too.

So lets start: In Windows go to START > RUN. In the field type cmd

This will open the DOS command prompt. Here you should be at the C drive root. If not type cd\ and click return. You will then be at the C:\ root.

Next type the drive letter of your flash drive. In my example that is drive letter F. You can find the drive letter of your USB storage drive by going to START > MY COMPUTER > and look for the “Removable Disk“Next, type the drive letter, so for me, type f: and hit enter.

After you are in the drive letter of the flash drive, type dir/w/aThis will list all the files in your flash drive, regardless of it’s attributes of being hidden, System file or archive.

Now we should look for suspicious files such as anything listed as a .exe file or a .inf file. Specifically anything with a autorun.inf should be deleted. Some other popular ones are Ravmon.exe, svchost.exe, Heap41a and pagefile.pif.

If you see any of these, then lets remove all the file attributes and try and delet them.To remove all attributes do the following:In the DOS command prompt type attrib -r -a -s -h *.* This command will remove all attributes for all files.

Now we can delete the files. You do this by typing del filename [be sure to include the exentions too, for example type del autorun.inf and hit enter.

This should do the trick if you’d like to remove problem files from the USB flash memory without running the Full Format function.

Warm attention:The professional China USB flash drive manufacturer World Crown Electronics Ltd with headquarter in Hongkong and China USB flash disk factory in mainland,has amicable suggestions here that the above solutions on flash disk are for reference only! <<<<For more information on flash drive news and flash drive knowledge,USB device fans may visit more webpages of China USB flash disk supplier World Crown Electronics Ltd on this site.

Resource:www.getusb.info

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a comment