How to Remove Shortcut Virus from Pen drive and Memory Card using cmd:

Now a day’s computer users are using Pen drives to transfer the data such as documents, movies, music etc from one system to another system, but the major problem using pen drives is virus.

If you connect your pen drive/ Memory Card to your system all the folders in the pen drive /Memory Card itself converted into shortcut folders as shown below

Sctvirus6This is one of the common problems facing with pen drivers / Memory Card

This tutorial will help you to remove folder shortcut virus from pen drive / Memory Card using command prompt(cmd)

Step 1: Connect your pen drive/Memory Card to your PC

Step 2: Find your pen drive/Memory Card drive Letter

Sctvirus2Here my Pen drive Letter is G:

Step 3: Go to start, search for cmd.

SctvirusStep 4: Right click on cmd ->Run cmd as administrator

Sctvirus1Step 5: Type attrib -h -r -s /s /d g:\*.* Command in cmd as shown below

Virusrmove1Press enter, wait for some time this command will remove shortcut virus from your pen drive/Memory Card

Note: Replace the letter g:\ with your pen drive/memory card letter

Remove your pen drive/Memory Card from your PC and re-connect and check your folders there would be no virus in your drive

Sctvirus7Note: in some computers this process is not working, if it is not working read below articles

How to Remove Folder Shortcut Virus from Pen drive/ External Hard Disk

How to Remove Shortcut Virus from Pen drive/Memory Card without Antivirus Software

Enjoy 🙂

Thank you for visiting  If you find any mistakes help us by leaving a comment.