How to Remove Shortcut Virus from Hard Disk/USB/Pen Drive Without Losing Data

When your hard disk or USB is infected by shortcut virus, all your folders and files on the storage device will become shortcuts which you cannot open or access. To remove shortcut virus from your hard disk or USB without losing data, you can first clean up the virus and then use the reliable software - EaseUS Data Recovery Wizard to recover files from shortcut virus.

Table of Contents

If everything saved on your hard drive, USB, pen drive, or external hard drive became shortcuts, your storage devices and all files are infected with shortcut viruses. So, how to fix it? Follow this page, you'll learn how to remove shortcut virus from hard disk/USB/pen drive without losing any data on your own.

  • Reading Duration: 3-5 minutes.
  • Difficulty Level: Easy & Medium
  • Applies to: Remove shortcut virus and recover files from shortcut virus infected hard disk, pen drive, USB, external hard drive.

Shortcut Virus infection

Follow the content navigation bar and check out how to remove viruses from your devices and recover all lost valuable files immediately:

Overview of Shortcut Virus

In this part, you will learn:

  1. 1. What is a Shortcut Virus?
  2. 2. How does the Shortcut Virus work or spread?
  3. 3. What will happen if your hard drive, USB, pen drive is infected with Shortcut Virus?

Basically, a shortcut virus is a kind of Trojan and worm combination that hides or deletes your original files on the infected device, and then replaces them all with generated shortcuts.

So how does a shortcut virus work or spread? It basically spreads in two ways:

  1. #1. You clicked a shortcut link or downloaded a shortcut virus file from the browser.
  2. #2. You launched a file that contains a shortcut virus, then it duplicates the virus and further infects other files and programs in your device.

When your hard disk or USB is attacked by a shortcut virus, all the files, folders, and even programs will turn to shortcuts. You can neither open nor access the files and folders on it as normal. If you double-click one of these malicious shortcuts, you give the virus the opportunity to spread, which will lead to further damage to your data, system, and more.

Warning
 Once your hard drive or USB is infected with a shortcut virus, stop using the device and don't save any new files to the drive anymore.

So how can I remove the shortcut virus and bring back all the missing files? Follow the fixes presented in the next two parts and you'll learn how to deal with it.

Part 1. How to Remove Shortcut Virus from Hard Disk/USB 

Applies to: Remove shortcut virus from hard disk, USB, pen drive, or external hard drive without losing data, without formatting.

One of the commonest reaction to the shortcut virus of the people who see it is to delete the shortcut links. However, it always fails to work since they will reappear later.

Then, how to remove the shortcut virus or convert the shortcut files into the original file without losing your precious data? Here in this part, we've collected 4 reliable methods to help you remove the shortcut virus from your hard disk or USB without losing any data:

  1. #Method 1. Remove Shortcut Virus Using CMD - Medium
  2. #Method 2. Remove Shortcut Virus Using CMD Alternative - Easiest
  3. #Method 3. Permanently Clear Shortcut Virus Using Registry - Hard
  4. #Method 4. Permanently Remove Shortcut Virus using Antivirus - Easy

Note that we suggest you follow Method 1 or Method 2 to remove the shortcut virus and unhide missing files first. If you didn't see any files, turn to EaseUS data recovery software in Part 2 for help.

After getting all files out of the virus infected drive, follow Method 3 or method 4 to permanently remove shortcut virus from hard disk, USB, pen drive, or external disk.

Method 1. Remove Shortcut Virus Using CMD

  • Difficulty Level: Easy
  • Best for: Experienced Users

Note that improper use of CMD may cause serious results. Be careful while using CMD - command line to resolve your current issue. In the following, we'll guide you to delete the shortcut virus file first and then guide you to make the hidden files and folders show up again.

Connect the shortcut virus-infected USB/pen drive to your PC and follow to remove the shortcut virus from your drive using CMD: 

Step 1. Type cmd in the Search box and right-click Command Prompt, select "Run as Administrator".

Step 2. Type H and hit Enter. (Replace H with the drive letter of your USB, pen drive that is infected with the shortcut virus.)

Step 2. Type del *.lnk and hit Enter.

Or you may also type del autorun.xxx (the extension of the shortcut virus) and hit "Enter".

Replace the file extensions with .exe, .vbs, .lnk, .ini, etc. and repeat this step.

del *.lnk
del autorun.xxx

This command will delete shortcut files and remove the existing shortcut virus from your drive.

Step 3. Type attrib -s - r -h *.* /s /d /l and hit "Enter".

You may also type attrib -h -r -s /s /d H:\*.* and hit Enter to show the hidden files on your device. (Replace "H" with the drive letter of your virus-infected hard disk or USB).

Remove shortcut virus from hard disk, usb, external disk

Step 4. When the process completes, type exit and hit "Enter" to close the command prompt window.

Method 2. Remove Shortcut Virus Using CMD Alternative

  • Difficulty Level: Easiest
  • Best for: All levels of Windows users, beginners' best choice.

Is there an easier way that can replace CMD command to remove the shortcut virus and recover hidden files within only a few simple clicks? Yes, there is. EaseUS CleanGenius is a perfect CMD alternative tool that can help you out.

Manual input of the command line is suitable for computer professionals since wrong commands can cause more severe problems. Therefore, for security and usability, we strongly recommend you try an automatic command line alternative. EaseUS CleanGenius is a practical tool that enables you to check and fix files system error, enable/disable write protection and system update with one-click instead of typing intricate command lines.

Follow the simple steps below to show hidden files with this 1-click-fix software. 

Step 1.  DOWNLOAD EaseUS CleanGenius for Free.

Step 2. Start EaseUS CleanGenius, choose "Optimization" on the left panel. Next, click "File Showing" on the right panel. 

show hidden files - step 2

Step 3. Choose hard drive and click "Execute".

file fixing - step 2

Step 4. After the operation completes, click the View button to check the hidden files. 

show hidden files - step 3

IMPORTANT: If this method works, you can see all the data on your hard disk/USB shown normally and use them as you like. Besides, to thoroughly clean the shortcut virus, you may follow Method 3 or Method 4 for help.

Method 3. Permanently Clear Shortcut Virus Using Registry

  • Difficulty Level: Hard
  • Best for: Experienced Windows users.

As Method 1 and Method 2 are quick tips to delete shortcut virus files from storage devices, it may not be able to remove some hidden virus files on your computer.

The Registry on your Windows is a database that stores information, settings, and more for both the OS and the applications/hardware installed. When your hard disk or USB is infected by a shortcut virus, a new subkey containing the information about the virus will be added to the Windows Registry.

Thus, you can also remove the shortcut virus using Registry Editor with the following steps:

Step 1. Type regedit in the Search box and right-click "regedit" and choose "Run as administrator".

Step 2. Navigate to HKEY_CURRENT_USER > Software > Microsoft > Windows > CurrentVersion > Run.

Step 3. Under Run, look for Registry Keys named as "WXCKYz", "ZGFYszaas", "OUzzckky", "odwcamszas".

Right-click on them and select "Delete" to remove these keys from Registry.

Remove shortcut virus from registry

As the file name of the virus varies, you may need to do more searches and be careful. Do not remove any important or non-virus process.

After deleting the shortcut virus from your hard disk or USB, restart your computer and you will be able to use it as usual.

Method 4. Permanently Remove Shortcut Virus using Antivirus

  • Difficulty Level: Easy
  • Best for: All levels of Windows users.

Except for Registry, you can also use the shortcut virus remover or antivirus software to remove shortcut virus from your storage device.

Step 1. Find and download reliable antivirus software on your computer.

Step 2. Connect the shortcut virus infected device to your PC and then run antivirus to clean up the virus.

According to many professional users, you may try the following virus remover software to clean up shortcut virus from your device and PC:

  • Norton Antivirus
  • Avira
  • McAfee
  • AVG

After removing the virus, you can restart the computer and continue using your drive again. If you find some files are lost or missing, you are highly recommended to recover files from the virus-infected hard disk or USB using powerful data recovery software.

Part 2. How to Recover Files After Removing Shortcut Virus

Applies to: Recover files after removing shortcut virus in Windows 10/8/7. 

As mentioned above, a shortcut virus may hide or delete the existing files on your hard drive or USB. And some of the shortcut virus removal methods may also cause file loss during the process.

Fortunately, professional data recovery software is able to recover the folders or files like documents, photos, audio files, and other important files from the virus-infected hard disk or USB. Here, you can try EaseUS Data Recovery Wizard.

This software enables you to perform virus file recovery, restoring files or folders that are hidden, deleted, or cleared by shortcut viruses. 

Steps to recover files from devices after removing shortcut virus:

Step 1. Select the virus infected drive to scan

Run EaseUS virus file recovery software on your Windows PC.

  • 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 the correct drive according to its drive letter and click Scan

select a location and click scan

Step 2. Wait for the scan results

The software will immediately start a scan process to find your lost files on the virus infected hard drive. Do not stop the deep scan until all lost files show up. To quickly locate the wanted files, you can use the Filter feature to display only the pictures, videos, documents, emails, etc.

When the process finishes, you can double-click files to preview their contents.

scan deleted files

Step 3. Select file(s) to recover

Select the files you want and click the Recover. You should save these files to another safe spot on your PC/storage device, not where they were lost.

Restore lost data from drive which was infected by virus

Moreover, EaseUS Data Recovery Wizard also supports deleted file recovery, formatted data recovery, OS crash recovery, and many other tough situations on various devices. Download the software and make your files usable again immediately. 

Part 3. How to Prevent Shortcut Virus and Virus Infection

Instead of thinking hard about how to remove the virus, it's more important that you pay more attention on how to prevent virus infection.

Here are some tips for you to protect data on your computer or external storage device better from virus infection:

  1. #1. Install professional antivirus software and run it to scan your computer and storage device regularly.
  2. #2. Download and install genuine programs on your computer.
  3. #3. Avoid suspicious websites and links, think twice before you make a click.
  4. #4. Make sure the network connection is safe.
  5. #5. Regularly back up your files with free backup software to an external storage device.

The Bottom Line

Here we have provided you four solutions to remove shortcut viruses without formatting or losing any data. And with the help of EaseUS Data Recovery Wizard, you can clean up the virus without losing any data.

Besides shortcut virus removal, we also listed some tips that you can follow to protect your device and data from the shortcut virus and other types of virus infection. Hope they will be helpful to you.

Was This Page Helpful?

Updated by Daisy

Daisy is the Senior editor of the writing team for EaseUS. She has been working in EaseUS for over ten years, starting from a technical writer to a team leader of the content group. As a professional author for over 10 years, she writes a lot to help people overcome their tech troubles.

Read full bio

Written by Jean

Author Jean has been writing tech articles since she was graduated from university. She has been part of the EaseUS team for over 5 years. Her special focuses are data recovery, disk partitioning, data space optimization, data backup and Mac OS. By the way, she's an aviation fan!

Read full bio

Product Reviews

TrustScore 4.7 | 323 reviews
  • EaseUS Data Recovery Wizard is a powerful system recovery software, designed to enable you to recover files you’ve deleted accidentally, potentially lost to malware or an entire hard drive partition.

    Read More
  • EaseUS Data Recovery Wizard is the best we have seen. It's far from perfect, partly because today's advanced disk technology makes data-recovery more difficult than it was with the simpler technology of the past.

    Read More
  • EaseUS Data Recovery Wizard Pro has a reputation as one of the best data recovery software programs on the market. It comes with a selection of advanced features, including partition recovery, formatted drive restoration, and corrupted file repair.

    Read More