Tuesday, February 8, 2011

Unhide Files in Virus Infected Pendrive Using Command Prompt

Majority of computer users nowadays uses USB flash memory's like pendrives for transferring data, movies, games documents and more.. The only disadvantage of using this kind of memory is that most of these Flash disk's have write protection or virus protection in it.


If you have some nasty virus on USB drive that hide all your file in the drive? ie; hides your files and folders, creates exe file extensions of your folders and even corrupt your files. You can view these files by going to Tools>>Filder Options ..But the attributes of these files often stay unchanged even if you uncheck hidden attribute on file/folder properties.

One sure way to retrieve your file or folder attributes back to unhidden is to use command prompt in windows. All you have to do is described below in steps.

STEP 1:
Plug your pendrive to USB port of your computer. Make sure it is detected.

STEP 2:

Start command prompt by Click Start>>Run and type cmd then hit enter.

STEP3
Find the drive letter for the conected USB drive. For example, G:
In command prompt, type G:
Then type
attrib -s -h /s /d *.*

Make sure that you put space between each elements in the code.
hit enter, wait a moment and this should unhide all your files on your pendrive. Checkout the screenshot for more to clarify.
Add caption

Custom Search

56 comments:

Vincent Raja said...

Wow. thanks... I got recovered ... thanks for your post.. keep updating..

Baba said...

thanks..........this is the wounderful command......and screenshot ...my problem was solve.hope you will be updating few dos cmd.....

Sameer said...

simply amazing a.k.a AWESOME!!

Anonymous said...

Thanks Dear..


It work well.....

amar.goala@yahoo.com

computer repair sydney said...

If you do get a computer virus, will you lose everything on your hard drive? It actually is rare for this type of virus to spread very fast or far. Annoying viruses that stop you from starting your computer or using windows or those that mail spoof emails to your entire email address book are much more common. The hard drive is usually recoverable when the computer has one of these viruses.

samir hussain said...

wow u r the saviour!!!! ... a million thnx...

Anonymous said...

wow! tnx! it works.!

Unknown said...

Thanks vvvvv thanks for the given helpful commands.

Anonymous said...

thanks it worked

Anonymous said...

Great -- working ...

Anonymous said...

Excellent.Thanks a ton

Diomar said...

nice . .post. .it is simple it seems so very useful . .try to watch movie online for free here. .

Anonymous said...

love you .......it works....i searches it at many places bt this is awesome

Umang Galaiya said...

Worked! Thanks!

malik said...

thanqqq.....it works...

Anonymous said...

fuck u man it doesnt workkkk

Anonymous said...

Awesome MAn...Tooo good A Post

Thanx a lot dear

it worked like ....just like that

my virus had made it hidden and my folder option was not coming

was unable to do the changes in the Registry even

Thanx once again...alll my files are now unhidden

if you can mail me accross all the C prompt commands...will be highly grateful to you

my mail ID

nids27itm@gmail.com

Raj said...

Not able to access my pendrive through cmd prompt. Error: The device is not ready.. Please help, i have some very important files on my pendrive

naikrajesh28@gmail.com

Maxie said...

I have managed to type the command prompts but I keep get the "access denied " prompt..what should I do?

Neha said...

its showing
not found -*.*

Anonymous said...

tons of thanks!!!!its works amazingly!!!!

Jeri RZ said...

thnx Guy....it totally WORK>>>> 400% work... ^^

Anonymous said...

alhamdulillah..thanks for sharing.

Anonymous said...

Worked 100% correctly if one follows the snapshot correctly
Thanks

Anonymous said...

awesome work man.. all my probs got fixed nw.. thank you..:)

Abhranil said...

Thanks bro you saved my lyf actually if that code is not there then we cant give our exam.

Thanks again..

Anonymous said...

Thank you sooooooooooooooooooooooooo much ^_^
You are such a life saver!...

Anonymous said...

Awesome! Thank you.

best home wireless router said...

thanks it worked

Kevin said...

thank you very much! -kevin

Anonymous said...

wow ir worked... thank you! And all because that autorun.inf infected.

Anonymous said...

thank you so much for your help :)

Anonymous said...

thanx dude it is awesome

vamshi said...

dude u r awesome...........thanks for posting this......

Anonymous said...

Worked 100% correctly if one follows the snapshot correctly
Thanks.....................mahesh tolmare

Anonymous said...

sameer 9738572440
thanks very much

Anonymous said...

Thank yo so much. That screenshot really made my task so simple :)

Anonymous said...

its not working on unhiding hard drives...

mamane said...

I like this command so much. Thanks a lot

Unknown said...

JS Munde:
Wow, Thanks dear, These hidden files were so much important for me, Thank again...

Anonymous said...

thank u soo much bro...

albin said...

Nice..i got it....
ThankX...

saphir madchen said...

thank you bro...very helpful..

the gokul supermacy said...

thanks bro

Ravin said...

Thank you very much...but how clean the .exe files which effected by virus

Anonymous said...

file not found -*.*

what if this problem prompt if i'll type the attrib -s -h -d *.* - thanks

Anonymous said...

To know if the code "should" work:
Browse the directory where there are files supposedly hidden by the virus - through WinRAR.
If you can see the files on WinRAR, then they CAN be unhidden through these codes, and if you got errors, then check the syntax.
If you can't see any files through WinRAR. Then probably, it's "file not found".
Also check if your root directory is the Pendrive
i.e.
G:\>

Cheers,
A.A.

Anonymous said...

works for me thanks a lot

Anonymous said...

that's some great piece of command you got :D
thnxxx

DILIP.D.S said...

thank you

Nikhil Agarwal said...

Thanks a lot...I was frustrated due to hidden files....This command solved my problems

Balu Ambattur said...

Thanks very much. My problem solved.Once again thanks for screen shot

Anonymous said...

thanks....

Anonymous said...

Mine does nothing my command prompt doesn't reply..

Anonymous said...

amazingly and great. thanks

james said...

Thanks but I'm unable to retreive my files, Im getting an error : "Unable to change attribute - F:\......"

Post a Comment

Please enter your name while commenting.

Related Posts with Thumbnails
 
Free Domain Full RSS - Comments RSS Computer Blogs - BlogCatalog Blog Directory Top Blogs Alitu.com - General Website Directory
Powered by Blogger