How to remove shortcut virus from your pen drive

The pen drives are the most common tools of storage for portable data. They are small and convenient to carry. All our files and folders that need to be accessed on multiple computer systems are stored and run through pen drives. There are times when our files and folders stored on the pen drive are shown as shortcuts. This happens not only with pen drives but hard disks, memory sticks and phone memories. Whenever we try to access these files the windows show an error saying “shortcut missing”. This may instill a fear of losing data and sometimes we are in a hurry to format our pen drive. What it is actually is that the files and folder become hidden to us and instead a shortcut icon appears which actually doesn’t exist. Formatting the pen drive is not necessary since it is a type of virus which may harm your computer and your files and also folders. There are a few simple methods to delete these shortcuts and recover your data. These steps do not require the use of any anti-virus.

One of the methods which you can follow:

Firstly, plug in your virus infected pen drive in the USB port of your computer or laptop and press ‘Windows’ key plus the ‘R’ key (Another option is to click on the ‘Start’ menu using the mouse and select the Run option). This will open the run box in which you need to type in the word ‘c m d’ (without spaces and single quotes) and press ‘Enter’. This opens a command prompt in which you need to open your drive by typing in a certain command. Now, for example, if your drive letter is ‘g:’ (without single quotes), then you need to type ‘attrib -h -r -s /s /d g:\*.*’.


Note: make sure there is space between each element of this code. After typing in your drive letter press ‘Enter’. The drive letter can be known by opening ‘My Computer’ and checking the pen drive icon. After this wait a few seconds and then open and check your drive, your folders. Your folders will have recovered by now and you can easily access them.

Use of an antivirus to solve your problem:

Apart from this trick, you can also install a good anti-virus which can help you get rid of all the viruses that it detects. The anti-virus in the system can be used to scan the pen drive when it is inserted into the USB port of the computer or laptop and connected. The anti-virus software scans the pen drive for viruses and repairs or removes them and may also offer solutions in the form of extra tools that can be downloaded to remove any special kinds of virus that is irreparable or irremovable from your laptop or computer.

All in all it is very easy to get rid of the virus that threatens to harm your precious data (or your files and folders) stored in your pen drive by simply removing this virus with these easy steps.


Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

23 Responses to How to remove shortcut virus from your pen drive

  1. surya
    Oct 16, 2013

    its toooooooooooo
    nice ,,,,,,…. <3 <3

  2. Shreyans
    Oct 17, 2013

    Very nice..

  3. virus
    Oct 26, 2013

    its working but when i open it again the virus was back what should i do?

  4. raj chaudhary
    Dec 07, 2013

    this is very good idea to remove the virus

  5. Vengat
    Dec 09, 2013

    Super, thanks

  6. Raman
    Dec 21, 2013


  7. Witrik
    Jan 21, 2014

    thanks..it works fine!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  8. Sid
    Jan 23, 2014

    it realy COOL….:)

  9. sachin
    Apr 22, 2014


  10. malik naeem
    Jun 21, 2014

    its cool idea but i think auto detection viruses software is better then this …..

  11. Sourav Choudhury
    Aug 04, 2014

    It is so cool….and it works properly

  12. moses
    Aug 09, 2014

    The first method is good for a quick and short relief.

  13. Sasi Parvathi
    Aug 29, 2014

    I am so happy after reading this great tutorial and following it. Thanks for the post.

  14. Raju
    Sep 01, 2014

    Thanks !!

  15. Eranda Gunathilaka
    Sep 23, 2014

    Worked, Thanks. 🙂

  16. narendra
    Jan 18, 2015


  17. ajeet rai
    Mar 19, 2015

    hey frnss u should try its really fabulous… thnx…for this help

  18. Rajesh Sharma
    May 05, 2015

    Followed by that you can also remove all the shortcuts created by virus by simple typing the command on command prompt as

    c:/> del k:*.lnk

    where k is the drive letter

    Note : Dont use c:/>; You can work from the current path also.

  19. mayur
    May 05, 2015


  20. amar
    May 05, 2015

    Does this trick also works for smartphone memory shortcut viruses?

  21. harish
    May 07, 2015

    Very easy and simple….thank u……:-)

  22. rahul saldanha
    May 13, 2015

    Hey ,
    I was looking for some information on how to remove shortcut virus this morning and came across your article: “how to remove shortcut virus from your pendrive“.
    Good stuff! I especially liked how you simplify and solved virus problem.
    Actually, I just put together an infographic on remove shortcut virus.
    Let me know if you want to check it out.
    Rahul Saldanha

  23. Rasor
    May 22, 2016

    Thanks a lot man.

Leave a Reply