Pendrive or USB drive displaying only shortcuts ? Here’s the Solution!



Howdy friends! Here I am with a common computer virus issue faced majorly in educational institutions. Usually what happens in this case is that, your pendrive statistics show that it is occupied with data but, inside of it only shows that it has one or few shortcuts! Data in your pendrive shows only one shortcut or looks something like the following image.


Let’s get to the solution:

Here is the solution provided, you have not formatted your pendrive:


Step 1 : Start Command Prompt (with Administrator privileges )  




Click on START   type in cmd and right click cmd.exe and click ‘Run as Administrator’.


Step 2 : Note down the Drive Letter for your pendrive.





Here in this example Drive letter is  I: (as you can see in the Image Above).


Step 3 : Type this command.

attrib -h -r -s /s /d i:\*.*





attrib -h -r -s /s /d i:\*.*    (read it as attribspace-hspace-rspace-sspace/sspace/dspacei:\*.*).

Or simply copy the Command in green color and paste it inside CMD and strike ‘ENTER‘ key.


Step 4 : Wait for some time (depending on the size of data inside the pendrive).

You will notice the cursor blinking but stay patient, and wait till there is something to display on your Command Prompt screen.  Don’t worry even if it displays certain errors like “The file or directory is corrupt or unreadable”. It’s just the system’s message for certain files.


Step 5 : Check back the pendrive.

Data must have returned in the pendrive, possible in a unnamed folder with original folder structure, and many shortcuts. Delete the suspicious files and some stupid ‘.ini’ files and continue.


I hope it solves your issue. And do not forget to share the information with your friends, because this is the most commonly faced issues.

So next  time, don’t FORMAT and groan for your lost data just CMD’ed it!


UPDATE: Some people are facing problem in not reaching the solution. Here is one suggestion I would like to make. before you progress with any commands, try this.


Go to Control Panel> Folder Options, select VIEW tab, SelectShow hidden files, folders and drives” and UncheckHide protected operating system files (recommended)” now click APPLY. And now try the command.

Do not forget to put spaces as mentioned in the command parameters and replacing your drive letter.


Thanks for reading !