Unhide Files in Virus Infected Pendrive using Command Prompt

Majority of computer users nowadays uses USB flash memory’s like pen drives 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? i.e; 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>>Folder 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 pen drive 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 connected 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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s