Recover Files Infected by the Shortcut Virus

Here you can learn how to open or recover shortcut files from hard drives, USB flash drives, memory cards, pen drives using CMD and EaseUS data recovery software. Keep reading and find more information by yourself!

 Download for Win Recovery Rate 99.7%
 Download for Mac Trustpilot Rating 4.7

Page Table of Contents

Updated By


Written By

Tracy King

Updated on

20 May 2024

Min Reading

9 Min

How to open or recover shortcut files on USB flash drive

"I have a USB flash drive and use it to save all of my favorite pictures and important documents. But, this morning when I connected it to a computer, it was infected by a virus, and suddenly all the files turned into shortcuts. My files, images, and folders on my pen drive were not accessible. I am wondering if it's possible to recover shortcut files and how to open shortcut files in pen drive?

A shortcut virus is a kind of Trojan/worm combination that hides the files and folders on the USB pen drive, external hard drives, and SD memory cards. And then the shortcut virus will replace them all with shortcuts with the same names. If you connect an infected USB drive to your computer, the virus will transfer to your computer and affect the files on your PC.

This annoying issue makes it difficult for people to open or view files. But no worries. It is possible for you to recover virus-infected files and retrieve shortcut files from pen drive or other USB flash drives with the following two ways. 

Video tutorial to recover shortcut files.

Solution 1. Recover Shortcut Files Using CMD

If the flash drive is not formatted, the shortcut files should be stored in the hardware under a hidden mode. You can recover hidden files by using CMD by following these steps:

Step 1. Press Windows + R and type: cmd. Click "Command Prompt" and choose "Run as administrator"

Step 2. Type: attrib -h -r -s /s /d *.* and hit Enter. 

Finish all these steps and you can check your files on the pen drive. If you can't find the files you want, you can try another solution: recover shortcut files with EaseUS data recovery software.

Solution 2. Recover Shortcut Files with EaseUS Data Recovery Software

If the CMD can't unhide the files and recover shortcut files, don't give up, you can use EaseUS EaseUS Data Recovery Wizard. This powerful data recovery tool can help you recover files infected by shortcut virus from hard drives and multiple storage devices, such as USB flash drives, memory cards, pen drives, external hard drives, etc.

Apart from the virus attack recovery, EaseUS data recovery program also does very well in recovering deleted files from USB flash drive or pen drive.

Recover files infected by shortcut virus with 3 steps

 Download for Win Recovery Rate 99.7%
 Download for Mac Trustpilot Rating 4.7

Step 1. Select the virus infected drive to scan

Run EaseUS virus file recovery software on your Windows PC. Select the disk attacked by the virus to scan for lost or hidden files. Note that:

  • If it's an HDD where files were hidden or deleted by virus, it's better to install the software on a different volume or an external USB drive to avoid data overwriting.
  • If the infected device is an external hard drive, flash drive or memory card, it doesn't matter to install the software on the local drive of the computer.
select a location to scan

Step 2. Check all scanned results

EaseUS Data Recovery Wizard will immediately start a scan process to find your deleted or hidden files on the virus infected hard drive. To quickly locate the wanted files, you can use the Filter or search box feature to display only the pictures, videos, documents, emails, etc.

filter deleted or hidden files

Step 3. Preview and recover deleted/hidden files

When the process finishes, you can preview the scanned files. Select the files you want and click the "Recover" button. You should save restored files to another secure location or Cloud drive, not where they were lost.

Restore virus infected files

  • Updated by

    Dany is an editor of EaseUS who lives and works in Chengdu, China. She focuses on writing articles about data recovery on Mac devices and PCs. She is devoted to improving her writing skills and enriching her professional knowledge. Dany also enjoys reading detective novels in her spare time. …
  • Written by

    Tracy became a member of the EaseUS content team in 2013. Being a technical writer for over 10 years, she is enthusiastic about sharing tips to assist readers in resolving complex issues in disk management, file transfer, PC & Mac performance optimization, etc., like an expert.…
Why Trust EaseUSEditor Reviews


Years of experience


Countries and regions

72 Million+


4.7 +

Trustpilot Score

Data Recovery Service