In this post, we are going to show how to show hidden files in Pendrive or memory cards caused by the Shortcut virus. See the step-by-step simple guide to recovering your lost data.
Sometimes the folders in your Pendrive or USB drive turned into shortcuts and all the files disappeared from your USB Drive. Your USB drive appears empty even if the data is present. Also, the computer shows that Pen Drive is using blank space but it does not show files or folders. Actually, this problem is caused by a virus called “Shortcut Virus”. When you connect your USB drive to an infected PC, this virus automatically infects your USB drive and makes your data disappear. In this article, we will discuss and show you how to easily remove shortcut viruses from your removable drive and recover your data without losing it.
Removable media like a flash drive, memory card, and external hard disk are essential computer accessories and common devices to transfer data from one computer to another. But sometimes, when we connect our USB to a computer, It appears that all the files are missing from the drive and it only showing just some folder’s shortcuts, or sometimes the drive show empty even when data exists.
When we are in hastle, this problem causes a lot of trouble. All the files and folders in the pen drive are just shown as shortcuts and are not accessible. This problem is caused by a virus called Shortcut Virus.In this post, we will discuss and guide you on how to easily remove the shortcut virus from your removable drive without losing your important data or how to recover lost files in Pendrive that are hidden by the shortcut virus.
You can simply format the flash drive to directly remove the virus. But it is not a good idea to remove the Shortcut virus. Because formatting the USB drive will remove all the important data along with the virus from your drive.
But, not to worry about this. A short and simple piece of command can easily make your flash drive accessible and you will get your files back.
First of all, connect your infected pen drive or memory card to your PC. Now you have to open the “CMD” program. To open CMD, click on the start button and type cmd in the search box as shown in the below picture. Now right-click on cmd and click the “Run as Administrator” option to start cmd.
If you are unable to use this method to open cmd program for any reason, Then open RUN Command Box from the start menu or by simply pressing the Windows key and R at the same time (Win+R) on your keyboard to open it. Now type CMD in the run command box and press OK to open the cmd window.
|Type cmd in the run command box|
Now we have to find the drive letter of the infected drive to use in the CMD command in our computer (see, what is drive letter). To know the drive letter, open My Computer and find the letter of the drive as shown in the image below:
|Drive letter example|
In the CMD window, first, enter the Drive Letter followed by a colon sign (:) without any space between the letter and the colon sign, and then press enter. Now the default drive letter (C:) will be changed to the new drive letter (i.e. H: or I: etc). See the below image for an example. (Click on the image to enlarge)
Now type the following command/code in the cmd window after the new drive letter and press ENTER button on your keyboard.
attrib -s -h /s /d
H:>attrib -s -h /s /d
(please add only one blank space before -s, -h, /s and /d)
See the below image for an example. (Click on the image to enlarge)
|Use of the attrib command in the cmd window|
Now, wait for a minute or two to complete the process. Once you have completed the whole process, you will again see the drive letter as H:> or according to the drive letter of your computer. now type “exit” and press enter again to close the cmd window. (for example H:>exit press enter).
You can view these steps on YouTube here:
‘-‘ = remove attribute/permits
s = system
h = hidden
How to Remove Shortcut Virus from USB Drive:
The safest and easiest way to remove the Shortcut virus from a flash drive or memory card is scanning by it an up-to-date antivirus. You can download some popular and effective antivirus software here.
If you search the internet, you can find some posts about removing shortcut viruses by editing the Windows registry. But editing the Windows registry is not advisable if you do not have enough knowledge about Windows Registry.
In this article, you have learned how to recover hidden or lost files on Pendrive due to the shortcut virus. By following the above steps correctly, you can easily show or unhide your original files instead of the shortcuts.