How to Check a USB for a Virus
Computer viruses can be spread from computer to computer through the use of a USB drive. Infected USB drives spread the viruses through the AutoRun function that is enabled on many computers. The AutoRun function automatically starts when the computer detects that the USB drive has been inserted in the USB port and the virus that is on the USB drive is then spread to the computer. There are some easy steps to take to ensure that your USB drive is not infected with viruses.
Things You'll Need
- Anti-virus program
Disable Autoplay. In Windows Vista, click "Start" and select "Control Panel." Go to "Hardware and Sound" and select "Autoplay." Uncheck the box "Use Autoplay for all Media and Devices." Click "Save" at the bottom.
Insert the USB stick into the computer. If you have not turned off the Autoplay and the Autoplay feature comes up on the screen, click "cancel." Do not run the Autoplay.
Click "Start." In the Search field, type "CMD" and press "Enter." A command prompt will appear.
Type the drive letter for the USB drive and press "Enter." The drive letter will change to something from C:\Users\ to H:, depending on what your drive letter is.
Type "dir /w/a" and press "Enter." This will bring up a directory list of the files that are on your USB drive. Look to see if any of the following is listed in the directory list: "Autorun.inf," "Ravmon.exe," "New Folder.exe," "svchost.exe" or "Heap41a." If any of these are present, the USB drive is more than likely infected and the viruses will need to be removed from the USB drive.
Tips & Warnings
- Do not use the same USB drive for both personal and business.
- Do not use a USB drive that is found on the ground or given to you by someone you don't know. It could be infected with viruses.
- Running an anti-virus program on the USB drive will also tell you whether the drive is infected or not.
- If you are unsure about using the command prompts, have a friend who is familiar with programming do this for you.