Remove Shortcut Viruses from a Pen Drive Without Losing Data

The Internet is available all over the world and every single person is using it for work, shopping, entertainment, shopping, etc. But all this is possible because of the computer. All we need is a computer or internet connection to perform these tasks. But the internet is filled with a lot of good stuff, even the harmful ones. Sometimes our computers get affected by viruses, which is dangerous for our system. Some viruses, like trojans, infect our internal drives and cause corruption or deletion, or may cause nothing till the time you plug your pen drive into the system. The virus started creating clones of files and now your pen drive is virus infected. The virus makes your USB drive inaccessible and the data unreadable. So in this post, we will learn about how to remove shortcut viruses from a pen drive without losing data.

This article is a pen drive saver from viruses. Lots of users are facing the same issue and are looking for a correct guide to make a pen drive free from virus infection and make the database safe and secure. This page will help you get rid of these issues and convert shortcut file to original file in Windows 10.

Let’s Learn a Bit about the Shortcut Virus.

This shortcut virus is a similar combination of a trojan and a worm virus. The virus infects your database and makes copies and replaces the files with shortcuts that appear to be the same as the actual ones. When you try to open the files, the malware activates and starts infecting the computer’s hard drive. Sometimes these viruses end up stealing personal information. Physical data transmission devices such as USB flash drives, Pen Drives, SD cards, memory cards, external hard drives, and so on are affected by these shortcut files. Viruses can also be transported to other computers via these physical devices and infect other systems.

How to Remove Virus From Pen Drive Without Losing Database

Here we will learn a few steps to remove shortcut viruses from a pen drive.

Method 1: Using CMD, Prevent the Shortcut Virus

The command prompt is a brilliant choice to stop the shortcut virus on a Pendrive. Let’s follow the steps below:

  • Firstly, connect your pen drive to your PC.
  • Now press the keys together: window+R
  • Then, in the Command Prompt, type the following command and hit Enter.

ATTRIB H:*.* /R /S -S -D -G

Note: Replace the letter H with the letter of your drive.

ATTRIB refers to the characteristics of the selected drive.
-H: Shows all of the pen drive’s hidden files.
-R: the re-creation of files on a storage device.
-S: Broke the link from the PC

Method 2: Creating a BAT File

A BAT file is a second option to remove shortcut viruses from the pen drive. You just need to use the notepad to generate the BAT file. Follow the instructions below:

  • Open notepad on your PC and laptop.
  • Just copy and paste the code given below.

@echo off
attrib -h -s -r -a /s /d H:*.*
attrib -h -s -r -a /s /d H:*.*
attrib -h -s -r -a /s /d H:*.*
@echo complete

Note: Replace “H” with your drive letter.

  • Save the file with a name that ends with .bat
    For example: (shortcutvirus.bat)
  • Click on the Save button and close the notepad. Now open the .bat file that you recently saved. and save it on your desktop.
  • This will help you remove all the shortcut viruses from your PC.

Method 3: Third-Party Software to Remove Shortcut Viruses from a Pen Drive without Deleting the Files

This method is mind-relaxing. You just need to plug in your pen drive and the utility will start working. The USB recovery software is capable of recovering any type of file, regardless of its format or corruption, from the USB drive. Use this software method when the above method fails to give the exact result.

Steps to Remove Viruses from a USB Drive Easily:

  • Get USB Data Recovery Wizard on your computer.
  • Install it on any Windows OS version.
  • Select the USB partition and click “Scan.”
  • After the scan, it will remove all the viruses from the pen drive.
  • Finally, save all the restored data to your computer.

Above all

In conclusion, in this blog, we described three methods. If the manual method fails to work the way you wanted it to, then choose the professional method to remove shortcut viruses from a pen drive. However, if you have already lost important files from a pen drive, then we recommend going for the USB recovery tool.

Related Articles

Back to top button