Remove Shortcut Virus From Pen Drive & SD Card

There are two different methods available to remove this virus, First is using CMD and secondary is using a Software. Before going though a method, I highly recommend you to First Scan the infected storage with an antivirus, and then go for the below methods. If your USB IS BOOTABLE then it may change to normal.

Method 1 > Using command prompt

Follow the steps below to remove shortcut virus using command prompt (CMD):
  1. Run Command prompt as Administrator. (Windows key + R > Type CMD & press ENTER, or search CMD > Right click to CMD and Select “Run as Administrator” or right click over Start button and select command prompt (Admin))
    cmd-admin-vt
  2. Connect your infected USB storage (Pen drive, SD card, etc.) with your Computer.
  3. Scan USB with an antivirus program (Not compulsory but its effective) and if the antivirus found some virus or threats, so delete it.
  4. Type the following command in Command prompt:  attrib -h -r -s /s /d X:\*.*, (Where, X is the USB drive letter) and press Enter. (For example: If your drive letter is D, then the command is attrib -h -r -s /s /d D:\*.*)
    cmd-attrib-cmd
  5. Copy all data from USB flash drive to your computer.
  6. Format the USB drive.
  7. And, copy all data back to the USB flash drive.
Now all Shortcut files are fixed and working as normal files. The reason why I suggest you to format the USB is because there was some unknown files automatically generate as you use the command.....

-----VYSHNAV VIZZ----

Comments