Geek Dashboard Home
  • News
  • Smartphones
    • Android
    • iOS
  • Computers
    • Windows
    • macOS
  • Internet
  • Reviews
  • Tools
    • Password Generator
    • iFrame Tester
Search Geek Dashboard
Home • Computer

How to Remove Shortcut Virus from Pen drive, Memory card and PC

Amar Ilindra • Updated March 27, 2020 • 3 min read • 1 Comment

Do you often find hidden folder or shortcut of other folders within our memory cards, pen drives and PC as well?

Well, then your PC, memory card or pen drive is infected with a virus that we commonly term as Shortcut Virus. And if you are searching online on How to remove shortcut virus from your infected PC, memory card or pen drive, then you reached the right place.

Today, we are here to help you out, as we write down a detailed guide on How to remove shortcut virus quite easily from your infected medium.

Remove shortcut virus

Before beginning, you must know that this kind of viruses cannot be resolved by using an Antivirus. An infection called Autorun worm is causing this error, and even if your antivirus software detects this worm and you delete it, when you restart your PC again, it’ll appear. Don’t worry, there are still some quick, easy and effective methods to remove the shortcut virus from the infected medium, and below is How to remove shortcut virus.

Method to Remove Shortcut Virus

Below is the detailed guide on how to remove shortcut viruses from the infected medium easily. This can be done via two different methods.

remove shortcut virus from PC and pendrives

First one is the method using Command Prompt and the second one using BAT file. First, let’s solve the issue using Command Prompt method, which is shown below:

  • Close all existing programs and windows on your PC.
  • Then go to the infected drive and note down the path of the infected drive.
  • Now, press “Win key+R” to bring up the “RUN” menu or simply launch it from the Start menu.
  • Now type in the following command into the RUN search box attrib -h -s -r -a /s /d drive_letter:*.* 
  • Then replace the words “drive_letter” with the infected drive’s path name that you noted earlier. Go to My Computer and see which drive is effected, for example if D drive is effected with shortcut virus, type attrib -h -s -r -a /s /d d:*.* and press ENTER.
    remove shortcut virus
  • Once you run this code, the Autorun worm will be eliminated, and therefore all files and folders will be restored and you’ll be then able to delete and remove all those duplicate folders and files that were created as a result of the Shortcut Virus.

The above method was to remove the Shortcut virus by using command prompt method, below is how you can achieve the same using BAT file method:

  • Create a new notepad file.
  • Now, as you did above, paste the following code attrib -h -s -r -a /s /d drive_letter:*.* and replace “drive_letter” with the path name of your infected drive. Once you finish editing, save the notepad with the name “remove_virus.bat”.
  • Now once again double-click on the file you saved, a new window will open where you can find all the files infected by shortcut virus and you can then remove them.

Final Words

That was a very quick and easy tutorial guide on how to remove shortcut virus from your infected medium. I hope you found this tutorial helpful. In case of any queries, please leave them as comments below.

Computer Antivirus Geeky Tricks

Be the Change!

Spread the word and help us create better tech content

Facebook Twitter Reddit WhatsApp Pinterest
Avatar for Amar Ilindra

Amar Ilindra

•
Facebook LinkedIn Instagram GitHub

Amar Ilindra is a tech-savvy individual who is passionate about gadgets and new technology. He is a full-stack developer who enjoys experimenting with technology and sharing his experiences through blogging. When he's not writing, he devotes his time to creating practical web and mobile applications for both Android and iOS platforms.

Read all 480 articles from Amar

Comments

  1. Avatar for Sophia MoorsSophia Moors says

    March 25, 2014 at 8:15 AM

    Hey Amar, I just enjoy reading your blog. All the information you mentioned is really knowledgeable. Its like ready to eat food , anywhere anytime ready to eat. Thank’s a lot for increasing my knowledge.

    Reply

Leave a Reply Cancel reply

The comments section is to assist our readers with any inquiries. Each comment undergoes rigorous moderation before it can be approved for publication.Your name and comment will be publicly visible. Your email address will not be published.Required fields are marked *

Over 1,30,286+ Followers

Join now to get all latest updates from Geek Dashboard

Facebook Twitter Telegram Pinterest YouTube Instagram

Recently Published

  1. TAGRY X08 True Wireless Earbuds Review: Budget-Friendly Excellence with Long Battery Life
  2. Why Are Tech Lawsuits Becoming the New Normal in the US
  3. My Experience of Using TuneFab Amazon Video Downloader
  4. Wondershare Dr. Fone 13 Review - The Ultimate Mobile Toolkit for iOS and Android
  5. TOZO OpenEgo Review - Is It a Reliable and Practical Headphone?
  6. Samsung Lost its Crown as the Top Foldable Smartphone Seller Worldwide

Download the Apps Now

We put a lot of effort and resources in writing our articles, and we believe it is our responsibility to satisfy your tech hunger

Download Geek Dashboard Android App on Google PlayAndroid App onGoogle Play Download Geek Dashboard Extension on Chrome Web StoreBrowser Extension onChrome Web Store
Geek Dashboard Logo

Geek Dashboard brings you the latest and greatest in technology news, reviews, and how-to guides. From smartphones to laptops, drones to VR and everything in between, we've got you covered

Got a Tip? Write In? tip@geekdashboard.com

© 2012 - 2025 · Geek Dashboard, product of ikva eSolutions

  • Blog
  • Advertise
  • About
  • Jobs
  • Contact
  • Privacy Policy
  • Write For Us
  • T&C
  • Office Setup

No dogs were injured while working on this website because we love them