How to Remove Viruses from Flash Drive
Kill viruses and create shortcuts
Learn about viruses that create shortcuts. Viruses that create shortcuts come in two forms. Type 1 is a virus that replaces folder and file icons on your computer with shortcut icons—icons with an arrow in the lower left corner, and the word 'shortcut' in the name, and/or an extension. 'shortcut.exe'. Type 2 is a virus that affects USB or pen drives (portable hard drives). This type of virus will put all files on the USB into a hidden folder and create a shortcut.exe file of the pen drive. When you open these files, you will activate viruses and they will spread to your computer.
Delete viruses that create shortcuts with anti-virus software. If your USB is infected with a shortcut virus, you can remove the malicious error with antivirus software. Select Start > My Computer. Right-click on the removable drive and select 'Scan for Viruses'. Follow the on-screen instructions to remove the shortcut virus.
If you are using Windows RT 8.1 or later, your computer will be equipped with Windows Defender. You can use this program to scan for viruses. Start Windows Defender and select Settings > Advanced. Check the 'Scan removable drives' dialog box. Each time a comprehensive scan is performed, the USB will be checked for viruses.
If your computer is not equipped with anti-virus software, download a reputable anti-malware program.
You should only download and install an anti-malware program.
Remove shortcut virus with command prompt. You can remove viruses from flash drives (removable drives) using a command prompt window. To open a command prompt window, click 'Start' and type 'cmd'. Click 'cmd' or 'Command Prompt Window' in the list of results and select 'Run as Administrator'. In the command prompt window:
Enter the letters USB and press ↵ Enter. To identify the letter corresponding to the USB drive, open 'My Computer' and locate the letter written next to the removable drive.
Type del *.lnk and press ↵ Enter.
Type attrib -s -r -h *.* /sd/l/ and press ↵ Enter.
Open the flash drive. All information will return to normal status.
Backup files. After removing the virus, you can format the drive. Reformatting the USB will erase all data stored on the drive, helping you clean and remove viruses on the device. Before reformatting, back up all files on USB. Scan the entire directory on the pen drive and delete strange folders and files. Transfer all files from USB to folder on computer.
Reformat the drive. Click on 'Start' and type 'cmd' in the search bar. Start 'Command Prompt Window'. Type the letter corresponding to the drive and press ↵ Enter. Type format /q /x [INSERT DRIVE LETTERS]: and press ↵ Enter. Transfer all files back to USB.
Kill autorun virus
Learn about autorun virus. Previously, when you plugged a USB into a port on your computer, the drive would automatically open. If your USB is infected with a virus, this process will execute the autorun.inf file containing the autorun virus. Thus, when the USB drive automatically opens, it will activate the autorun virus. Currently, USB devices do not automatically open on Windows XP, Windows 7, Windows 8 and Windows 10, meaning the autorun.inf file will not automatically execute. This solution will protect your computer from viruses.
Scan for viruses on the drive. You should scan the pen drive for viruses before using it. Click Start > My Computer. Right click on the removable drive and select 'Scan for Viruses'. If a virus is detected, follow the instructions to remove it.
If you use Windows RT 8.1 or later, your computer is equipped with Windows Defender. To scan for viruses, open Windows Defender. Click Settings > Advanced. Check the 'Scan removable drives' dialog box. Each time a comprehensive scan is performed, the USB is also checked for viruses.
Some anti-malware programs will automatically scan your USB when you insert it into a port on your computer.
If your Windows computer is not equipped with an anti-virus program, download and install a reputable program.
Kill autorun virus. To remove viruses from removable drives, you need to delete the autorun.inf file and restart the computer.
Click Start > Run.
Type 'Cmd' and press ↵ Enter.
In the Command Prompt Window, type the letter corresponding to the drive and press ↵ Enter.
Type attrib -r -h -s autorun.inf and press ↵ Enter.
Type del autorun.inf and press ↵ Enter.
Restart the computer after completion.
Haris Shafi.
You should read it
- Difference between Flash drive and Pen drive
- How to use flash drive on Windows 10
- Use the CMD command to remove viruses on Windows computers
- How to remove viruses hidden on USB
- How to completely remove Adobe Flash on a Mac
- The fastest top 5 USB flash you should buy
- Instructions for using USB Flash drive with iPhone
- How to Remove Viruses
May be interested
- How to Remove Virusesthis is an article showing how to remove viruses on windows or mac computers. in most cases, using your computer's built-in safe mode and antivirus program is enough to remove the virus. however, you need to note that not all viruses can be killed; that means you have to reinstall your computer's operating system to remove the virus.
- How to remove viruses, malware on Macmacos is one of the least virus-infected operating systems, but this does not mean it does not. this article will show you how to check and remove viruses on mac.
- How to Transfer Data from a Flash Drive to a Computerthis wikihow teaches you how to move files and folders from a flash drive onto your windows or mac computer. plug the flash drive into your computer. your flash drive should plug into one of the rectangular usb ports on your computer's...
- USB flash drive, HDD and SSD: Which is the best option for you?if you've ever searched for ways to store large amounts of data via usb, you'll know three main candidates: flash drive (usb), external hard drive (hdd) and external ssd drive. all three drives can store data well, but they are more suited to each specific role.
- How to remove viruses on your computer - Summary of the most effective way to remove viruses on your computerhow to remove viruses on your computer - summary of the most effective way to remove viruses on your computer. computer virus infection is unavoidable in the process we use. viruses can infect our computers from the internet, from strange software
- How to Format a Flash Drivethis article shows you how to change the default file format of a flash drive. formatting a flash drive often deletes files or folders stored on it; so, remember to back up your files before formatting your drive.
- How to Put Pictures on a Flash Drivethis wikihow teaches you how to copy pictures from your computer to your usb flash drive. plug your flash drive into your mac. your computer most likely has rectangular holes, called usb ports, on the sides of its casing (for laptops) or...
- 9 best USB currently according to each criterionusb flash drive is one of the popular technology devices thanks to its high portability. high demand means that many usb flash models are released by manufacturers.
- The most effective way to remove viruses on your phonethe most effective way to remove viruses on your phone. viruses are the leading danger to smart devices such as computers, smartphones, tablets. to protect your devices from virus threats, we must prevent and scan viruses regularly to ensure our device works properly.
- How to Repair USBtoday's wikihow teaches you how to fix a malfunctioning flash drive. for software or driver problems, you can scan and repair the flash drive using your computer's built-in repair utility. if the usb doesn't work because of improper formatting or data corruption, you can reset the drive, but remember that reinstalling the usb will erase all the files inside. finally, if the flash drive still does not work due to hardware damage, you should take the usb to a repair center or professional data recovery service; if that's not possible, you can still fix it yourself by soldering the broken usb circuit to the active usb cable end. however, we do not recommend trying to repair it yourself because you are very likely to destroy the flash drive.