How to remove shortcut virus from Pendrive without data loss?

0
14
Remove Shortcut Virus From Pendrive Without Data Loss

We use Pendrive, hard disk, memory card, and other devices through a USB port for file transfer between the computer and the storage. During that time, we used to connect our devices in the public devices/ other unprotected devices which will make our device infected. In this case, the most common virus that will affect the Pendrive, Memory card or hard disk or any other Storage Storage is the Shortcut Virus, which can be removed without data loss based on the severity of the affected USB device.

Time needed: 6 minutes.

Remove shortcut virus from Pendrive without data loss

  1. What is the Shortcut Virus?
    What is the Shortcut Virus

    Shortcut virus should be a well-known name if you are using your Pendrive in the college systems or public system which is unprotected.

  2. How to remove a shortcut virus from a Pendrive/Portable Devices?
    How to remove a shortcut virus from a Pendrive-Portable Devices

    Removing the shortcut virus is very simple and an easy process for which you don’t need any coding knowledge or an experienced technician.

What is the Shortcut Virus?

Shortcut virus should be a well-known name if you are using your Pendrive in the college systems or public system which is unprotected. It affects the system very quick and easy. In this case, it will change all the files and folders in the drive into a shortcut file. Suppose you clicked on the files without knowing about it then it is like executing the malware which runs and creates the shortcut files in your system. It may lead to stealing personal information from your affected device and it will stop the system by executing a continuous process more than what the system is capable of.

Remove shortcut virus in pendrive

How to remove a shortcut virus from a Pendrive/Portable Devices?

Removing the shortcut virus is very simple and an easy process for which you don’t need any coding knowledge or an experienced technician. If you can understand by contents and if you can replicate the same on your affected devices then that’s done.

  • Insert the Pendrive or other infected devices to your computer. Be aware that you have attached the infected Pendrive and don’t open the shortcut files which will affect the entire system.
  • Open the file explorer or My Computer (Shortcut: Windows Key + E) in your system. Note down the drive letter allocated to the affected Pendrive or USB devices.
  • Open the command prompt in your computer. To do that follow the simple steps as mentioned below,
    • Open the run command (Shortcut: Windows Key + R)
    • Type “cmd” and press enter.
  • In the command prompt, you will be located in C: Drive by default. Navigate to the appropriate drive by typing the drive letter followed by colon and press enter.
    • For example: If my affected drive is in I: drive then I should type “I:” in the command prompt and press enter. Now you will be entered into the exact drive.
  • So now we should clear the shortcut files. It is not possible to clear the files one by one and so we going to use the All files command.
  • Enter the below command and press enter
    • del *.lnk
    • Note: Here lnk is a link or shortcut file which is used by Windows as a reference to the original file.
  • Once the shortcut links got cleared, now we should restore all the files and folders in the infected device.
  • Enter the below command and press enter
    • attrib -s -r -h /s /d *.*
    • Note: Here attrib command is altering the attributes of a particular file or folder.
    • -s removes the “system file” status from all matching files and folders.
      -r removes the “read-only” status from all matching files and folder.
      -h removes the “hidden” status from all matching files and folders.
      /s makes the command recursively apply to all files and folders in the current directory and all subdirectories, basically the entire device in this case.
      /d makes the command apply to folders as well (normally attrib only handles on files).
      *.* means all file names and folder names should be considered a match.

LEAVE A REPLY

Please enter your comment!
Please enter your name here