• About
  • Contact
  • Cookie
  • Disclaimer
  • Privacy Policy
  • Change the purpose of use

Tnhelearning.edu.vn - Various useful general information portal

  • Photo
  • Bio
  • How To
  • Tech

How to Remove Viruses from Flash Drive

February 18, 2024 by admin Category: How To

You are viewing the article How to Remove Viruses from Flash Drive  at Tnhelearning.edu.vn you can quickly access the necessary information in the table of contents of the article below.

X

This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.

The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.

There are 7 references cited in this article that you can see at the bottom of the page.

This article has been viewed 3,457 times.

Because of their portability, USB devices are easy means of spreading viruses. USB devices are vulnerable to two main types of viruses: shortcut virus and autorun virus. In this article, we will discuss how to remove the virus using an anti-malware program or manually entering commands. Find out what measures Windows is taking to protect your computer from autorun viruses.

Table of Contents

  • Steps
    • Remove virus to create shortcut
    • Autorun virus removal
  • HARIS SHAFI
  • Advice
  • Warning

Steps

Remove virus to create shortcut

Image titled Remove a Virus From a Flash Drive Step 1

Image titled Remove a Virus From a Flash Drive Step 1

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/1/16/Remove-a-Virus-From-a-Flash-Drive-Step-1-Version-2.jpg/v4- 728px-Remove-a-Virus-From-a-Flash-Drive-Step-1-Version-2.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/1/16/ Remove-a-Virus-From-a-Flash-Drive-Step-1-Version-2.jpg/v4-728px-Remove-a-Virus-From-a-Flash-Drive-Step-1-Version-2. jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Learn shortcut virus. Shortcut creation viruses come in two forms. Type 1 is a virus that replaces folder and file icons on your computer with shortcut icons—the icon with an arrow in the lower left corner, and with the word “shortcut” in the name, and/or extension “shortcuts.exe”. Type 2 is a virus that affects USB or pen drives (portable hard drives). This type of virus will put all files in 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. [1] X Research Source
Image titled Remove a Virus From a Flash Drive Step 2

Image titled Remove a Virus From a Flash Drive Step 2

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/8/8c/Remove-a-Virus-From-a-Flash-Drive-Step-2-Version-2.jpg/v4- 728px-Remove-a-Virus-From-a-Flash-Drive-Step-2-Version-2.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/8/8c/ Remove-a-Virus-From-a-Flash-Drive-Step-2-Version-2.jpg/v4-728px-Remove-a-Virus-From-a-Flash-Drive-Step-2-Version-2. jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Remove shortcut virus with anti-virus software. If the USB is infected with a shortcut virus, you can remove the malicious error with anti-virus software. Select Start > My Computer. Right-click the removable drive and select “Scan for Viruses”. Follow the onscreen instructions to remove 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. [2] X Research Source
  • 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. [3] X Research Sources
READ More:   How to Soothe Inflamed Taste buds
Image titled Remove a Virus From a Flash Drive Step 3

Image titled Remove a Virus From a Flash Drive Step 3

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/5/5f/Remove-a-Virus-From-a-Flash-Drive-Step-3-Version-2.jpg/v4- 728px-Remove-a-Virus-From-a-Flash-Drive-Step-3-Version-2.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/5/5f/ Remove-a-Virus-From-a-Flash-Drive-Step-3-Version-2.jpg/v4-728px-Remove-a-Virus-From-a-Flash-Drive-Step-3-Version-2. jpg”,”smallWidth”:460,”smallHeight”:344,”bigWidth”:728,”bigHeight”:545,”licensing”:”<div class=”mw-parser-output”></div>”}
Remove shortcut virus with command prompt (command prompt). You can remove a virus from a flash drive using a command prompt window. To open a command prompt window, click on “Start” and type “cmd”. Click on “cmd” or “Command Prompt Window” in the list of results and select “Run as Administrator”. In the command prompt window:

  • Type the letter USB and press ↵ Enter . To identify the letter that corresponds 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 flash drive. All messages will return to normal state.
Image titled Remove a Virus From a Flash Drive Step 4

Image titled Remove a Virus From a Flash Drive Step 4

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/6/6c/Remove-a-Virus-From-a-Flash-Drive-Step-4-Version-2.jpg/v4- 728px-Remove-a-Virus-From-a-Flash-Drive-Step-4-Version-2.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/6/6c/ Remove-a-Virus-From-a-Flash-Drive-Step-4-Version-2.jpg/v4-728px-Remove-a-Virus-From-a-Flash-Drive-Step-4-Version-2. jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
File backup. After removing the virus, you can format the drive. Reformatting the USB will erase all data stored on the drive, helping you to clean and remove viruses on the device. Before reformatting, back up all files on the USB. Scan the entire directory on the pen drive and delete strange folders and files. Transfer all files from USB to folder on computer. [4] X Research Sources
Image titled Remove a Virus From a Flash Drive Step 5

Image titled Remove a Virus From a Flash Drive Step 5

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/0/04/Remove-a-Virus-From-a-Flash-Drive-Step-5.jpg/v4-728px-Remove- a-Virus-From-a-Flash-Drive-Step-5.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/0/04/Remove-a-Virus-From- a-Flash-Drive-Step-5.jpg/v4-728px-Remove-a-Virus-From-a-Flash-Drive-Step-5.jpg”,”smallWidth”:460,”smallHeight”:344,” bigWidth”:728,”bigHeight”:545,”licensing”:”<div class=”mw-parser-output”></div>”}
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 [FIT IN DISK DRIVE]: and press ↵ Enter . [5] X Research Source Transfer all files back to USB. [6] X Research Sources

Autorun virus removal

Image titled Remove a Virus From a Flash Drive Step 6

READ More:   How to Clean Stains from Clothes Without Washing

Image titled Remove a Virus From a Flash Drive Step 6

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/4/4a/Remove-a-Virus-From-a-Flash-Drive-Step-6.jpg/v4-728px-Remove- a-Virus-From-a-Flash-Drive-Step-6.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/4/4a/Remove-a-Virus-From- a-Flash-Drive-Step-6.jpg/v4-728px-Remove-a-Virus-From-a-Flash-Drive-Step-6.jpg”,”smallWidth”:460,”smallHeight”:349,” bigWidth”:728,”bigHeight”:552,”licensing”:”<div class=”mw-parser-output”></div>”}
Learn autorun virus. In the past, when you plugged your 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 anymore, ie the autorun.inf file will not automatically execute. This solution will protect the computer from viruses. [7] X Research Sources
Image titled Remove a Virus From a Flash Drive Step 7

Image titled Remove a Virus From a Flash Drive Step 7

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/a/a5/Remove-a-Virus-From-a-Flash-Drive-Step-7.jpg/v4-728px-Remove- a-Virus-From-a-Flash-Drive-Step-7.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/a/a5/Remove-a-Virus-From- a-Flash-Drive-Step-7.jpg/v4-728px-Remove-a-Virus-From-a-Flash-Drive-Step-7.jpg”,”smallWidth”:460,”smallHeight”:345,” bigWidth”:728,”bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Scan for viruses on the drive. You should scan the pen drive for viruses before using it. Click on Start > My Computer. Right click on the removable drive and select “Scan for Viruses”. If a virus is detected, follow the instructions to remove the virus.

  • If you use Windows RT 8.1 or later, the computer is equipped with Windows Defender. To scan for viruses, open Windows Defender. Click on Settings > Advanced. Check the “Scan removable drives” dialog box. Every time a comprehensive scan is conducted, the USB is also checked for viruses. [8] X Research Sources
  • Some anti-malware programs will automatically scan your USB when you plug it into a port on your computer. [9] X Research Source
  • If your Windows computer is not equipped with an anti-virus program, download and install a reputable program. [10] X Research Source
  • Image titled Remove a Virus From a Flash Drive Step 8

    Image titled Remove a Virus From a Flash Drive Step 8

    {“smallUrl”:”https://www.wikihow.com/images_en/thumb/b/b2/Remove-a-Virus-From-a-Flash-Drive-Step-8.jpg/v4-728px-Remove- a-Virus-From-a-Flash-Drive-Step-8.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/b/b2/Remove-a-Virus-From- a-Flash-Drive-Step-8.jpg/v4-728px-Remove-a-Virus-From-a-Flash-Drive-Step-8.jpg”,”smallWidth”:460,”smallHeight”:346,” bigWidth”:728,”bigHeight”:547,”licensing”:”<div class=”mw-parser-output”></div>”}
    Autorun virus removal. To remove the virus from the removable drive, you need to delete the autorun.inf file and restart the computer.

    • Click on 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 once done. [11] X Research Source
    READ More:   How to Lose a Beer Belly
  • Haris Shafi .

    HARIS SHAFI


    HARIS SHAFI HARIS SHAFI facebook: [[1]]

    Advice

    • Remember to scan your computer after performing the steps above, as it may be possible to switch from a USB storage device to the main drive.
    • Try scanning all the files you want to copy to your computer to see if they are safe and not infected with viruses. If a photo you like is infected with a virus, print it out before deleting it, then rescan it to your computer. You will feel grateful to yourself.

    Warning

    • Any file you copy can be infected with a virus, if you can’t lose the infected document or photo, print it out and then scan it to your computer.
    X

    This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.

    The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.

    There are 7 references cited in this article that you can see at the bottom of the page.

    This article has been viewed 3,457 times.

    Because of their portability, USB devices are easy means of spreading viruses. USB devices are vulnerable to two main types of viruses: shortcut virus and autorun virus. In this article, we will discuss how to remove the virus using an anti-malware program or manually entering commands. Find out what measures Windows is taking to protect your computer from autorun viruses.

    Thank you for reading this post How to Remove Viruses from Flash Drive at Tnhelearning.edu.vn You can comment, see more related articles below and hope to help you with interesting information.

    Related Search:

    Related Posts

    How to Create Curved Text in Photoshop
    How to fall asleep faster
    How to Install FBReader to Read eBooks

    Category: How To

    Previous Post: « How to Make a Tassel Ball (Pom Pom)
    Next Post: How to Clean and Polish Seashells »

    Copyright © 2025 · Tnhelearning.edu.vn - Useful Knowledge