lundi 10 novembre 2014

Unhide Files and Folders after virus (Flash Disk / USB Drive / HDD)

After scanning your drive and removing all viruses, you may have noticed that all your files are gone, but the drive is still not empty.


This is because the virus made them Hidden and it is impossible to unhide them using file peroperties dialog. (Disabled checkbox)

So you need to do it using Windows command line (CMD)

1) Start Menu => Type "cmd"

2) Type these 2 commands and provide the drive letter of your device after the first command :

set /p driveletter=
Type your device's drive letter (I or K or L...)
attrib -s -h -a /s /d  %driveletter%:\*.*
3) Voila