Geek Dashboard

How-To's, Smartphones, News and Reviews

  • Home
  • News
  • Smartphones
    • Android
    • iOS
  • Computers
    • Windows
    • macOS
  • Internet
  • Reviews
You are at Home » Computer

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

Last Updated on March 27, 2020 by Amar Ilindra 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.

#Antivirus#Geeky Tricks
Posted inComputer

Spread the Word!

Avatar for Amar Ilindra

Amar Ilindra Facebook Twitter 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.

Related articles

Computer

iPhone Data Recovery Software to Recover Lost Data

iPhone data recovery for MAC
Mobiles

How to check if Phone is Rooted or Not

check if Phone is Rooted
Computer

7 Interesting Mac Hacks All Geeks Should Know

macbook pro tips

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

Comment Policy:

The comments section is aimed to help our readers in case of any questions or you can even appreciate us for our hard work. Every comment is strictly moderated before approving it.

Your name and comment will be visible to the public. Never share your personal information in the comments section.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Over 1,30,286+ Followers

Join to get latest updates from Geek Dashboard

Facebook Twitter Telegram Pinterest YouTube Instagram

Recently Published

  1. Lenovo Yoga 9i 2-in-1 Laptop with 13th Gen Intel Core i7 Launched in India

  2. Lenovo Tab P11 5G Launched with 11-inch 2K Display and Snapdragon 750G SoC in India

  3. How To Select All Photos on iPhone and iPad Quickly

  4. iQOO 11 5G with Snapdragon 8 Gen 2 SoC and 120W Fast Charging Launched in India

  5. Realme 10 Officially Launched with 90Hz AMOLED Display and Dual Cameras in India

Geek Dashboard Placeholder

Download the apps and never miss a story from us

We put a lot effort and resources in writing our articles and we believe it is our responsibility to satisfy your tech hunger. We will keep you filled forever!

  • Get Geek Dashboard App from Google Play
  • Get Geek Dashboard App from Chrome Web Store
Geek Dashboard Logo

At Geek Dashboard, we are dedicated to bringing you the latest and greatest in technology news, reviews, and how-to guides. From smartphones to laptops, and everything in between, we've got you covered.

Got a Tip? Write In tip@geekdashboard.com

© 2012 - 2023 · 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