Manually remove the shortcut virus from USB

Hi guys. Sometimes its very irritating when you insert any USB and it shows many shortcuts of My Documents and all the important data and files become invisible. This is due to a shortcut virus. It is usually present in many computers of office, college or cyber cafes. Many of my friends are facing the problems with this virus. So here is a simple trick by which you can remove this virus from your pen drive.
  • Open command prompt. go to start > run > type cmd.
  • Insert your USB flash drive. Assuming it is drive I:
  • In the command prompt window type the following code and hit enter

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


          here replace I: with your drives name.
  • That's it. Now you can see the magic that all your invisible files are back now. 
You have successfully removed the shortcut virus from your pen drive.

Keep Learning. Keep Rocking :P
Previous
Next Post »

30 comments

Click here for comments
Anonymous
admin
22 January 2012 at 12:30 ×

pls as i did it i just saw dis attrib -h -r -s /s /d I:\*.* is not recognised as an internal or external command operable program or batch file..

Reply
avatar
H4CK3R
admin
23 January 2012 at 10:19 ×

you either using a restricted account or the system file attributes are changed by that shortcut virus on your PC. Follow these steps:
navigate to the path "C:\Windows\System32" from command prompt and then try the above command to remove virus.

Reply
avatar
22 January 2013 at 17:54 ×

i already tried this attrib -h -r -s /s /d I:\*.*, it takes effect but when i remove my flash drive and insert it again, it all comes back, all the shortcut virus. what kind of virus is this? and do you have any anti-virus specific only for this? i'd be glad if you could point me and to others in the right direction. thanks!!

Reply
avatar
15 February 2013 at 06:59 ×

After about 8 hours, the virus returned to my usb drive?

Reply
avatar
Anonymous
admin
7 March 2013 at 18:40 ×

thanks mate.

the virus on your flash drive returns maybe because your own pc or laptop has the virus. so when you do this tutorial, it will just come back again and again. I suggest you to format your pc and have a strong anti-virus software or scan your whole system

Reply
avatar
21 April 2013 at 01:36 ×

Hello. Thank you so much for the info but how will I be sure that my notebook is not compromised? Thank you.

Reply
avatar
Anonymous
admin
14 May 2013 at 03:46 ×

I tried the command,its showing most of my files but there are some rar files which are still shortcuts.any suggestion how to retrieve them ?

Reply
avatar
Sanjay Verma
admin
31 May 2013 at 22:01 ×

use the Command like this
go to start----- run----
type cmd
you will be on dos prompt
type the command
attrib -a -r -s -h *.* /s /d
press enter
you will get all your files in a folder without name, open it cut it and paste
del all other inf file if you find.

thanks
Sanjay Verma (Network Administrator)
LR group of Institutes, solan HP

Reply
avatar
Anonymous
admin
9 June 2013 at 22:32 ×

Thank u Brother

Reply
avatar
Adil Wasim
admin
10 June 2013 at 09:55 ×

wao, now my usb is showing all data

Thanks

Reply
avatar
Anonymous
admin
10 June 2013 at 19:14 ×

use usb exterminator program and follow the suggested command described above. It helped me a lot. Or, download kingsoft 2012 free antivirus, USB antivirus and usb exterminator. they all work hand in hand. install them all plus the attrib -h -s -a -r /s /d g:\*.* command it will solve your problem. the best is to use avast anti-virus!

Reply
avatar
Anonymous
admin
18 June 2013 at 12:36 ×

I got a variant from the virus described, I picked up at office Depot and what it does is copy all fo my file to an invisible folder while showing a Shortcut with the name of Removable device, I've removed the troyan, but now all of my documents are on a sub folder named " "

Reply
avatar
Anonymous
admin
24 July 2013 at 02:03 ×

it still doesn't work
after I plugged the flash drive again the shortcut returns ...
I need helppppp

Reply
avatar
5 August 2013 at 06:25 ×

Thanks alot , really I Tried many ways , but this way is the perfect one.

thank you veryyyyyyy muchhh

Reply
avatar
Rajni Pathak
admin
13 August 2013 at 18:14 ×

Its So helpful man,,thanx 4 the post

Reply
avatar
Anonymous
admin
11 September 2013 at 08:17 ×

Mr. Sanjay Verma, mine's not working. how do i fix this? Im Sai btw

Reply
avatar
Awais Shaikh
admin
1 October 2013 at 00:56 ×

its working frnd...
Thankx..

Reply
avatar
Anonymous
admin
10 October 2013 at 07:44 ×

the shortcut virus just comes back. help me pls

Reply
avatar
18 October 2013 at 09:31 ×

its working but there are some pictures in the folder which recovered but the the pictures still not recovered
what should i do ????

Reply
avatar
18 October 2013 at 09:41 ×

the attachment's inside the folder in the flash dont open
what should i do ?

Reply
avatar
9 March 2014 at 10:23 ×

i am facing problem of blue screen its start dumping my physical memory whenever i shutdown my laptop so can u please help me to get out of this???

Reply
avatar
9 March 2014 at 10:26 ×

i m getting problem of bluescreen please help me to get out of this

Reply
avatar
Anonymous
admin
4 April 2014 at 13:59 ×

Thanks it really works

Reply
avatar
Anonymous
admin
12 April 2014 at 03:44 ×

it works great!... although i have to be quick in copying the pictures before they turn into shortcuts again...grateful here.

Reply
avatar
Arif Hussain
admin
29 April 2014 at 04:10 ×

I have facing same problem... and that command doesn't work

Reply
avatar
Anonymous
admin
1 October 2014 at 06:43 ×

it came back afterwards? what's next?

Reply
avatar
Sankar che
admin
22 February 2015 at 01:56 ×

thank you ...............

Reply
avatar
Myra Shirey
admin
4 December 2015 at 03:26 ×

thanks for writing this wonderful article.
Crack Software Download

Reply
avatar