Folders disappeared after sweeping virus

D

Dennis

Last week, I updated my antivirus but my PC started to run very slow. The
virus, I believe it was FUvirus, ran througout the system disabling the task
manager as well as my antivirus. So, I decided to install a new OS, install
and update antivirus to my other drive then took a virus scan the entire
system. I found over 2000 trojans. My problem now is, my folders are hidden.

Please advise how will I unhide them coz the unhide option was disabled.

I appreciate your time reading this and I hope you will also spend a little
time to help. Thanks.
 
G

Gurpreet Singh

Hi Dennis,
Open command prompt by clicking start>>run, type cmd

goto the root of the drive you want to fix, example to do this for c drive
type cd\ and press enter, you should see c:\>

Type the following command and press enter, this command will search all
folders and subfolders and unset the hidden attribute

for /f %s in ('dir /S /b *.*') do attrib -h %s

this will include all files and folders, if you want to only run this for
folders run the following command

for /f %s in ('dir /AD /B /S *.*') do attrib -h %s

Please note that the virus may have done more damage than what you think so
it is highly recommended that you backup your data and reformat and reinstall
the entire OS. I know this sounds absurd but that would be the best course of
action to avoid surprises later.
 
D

Dennis

Thanks Gurpreet Singh!
No worries about the OS coz I have already installed a new one.

I'll give your suggestion a try and let you know what's gonna happen.

Just a question, could this steps be done in my new OS? My old OS is in
E-drive.
 
G

Gurpreet Singh

Yes dennis, this can be done on any drive. If you see the command is not
having a drive letter specified, all you got to do is, go to the drive or
folder and run the command, it would be run against all files and folder in
the drive or folder. from command prompt you just need to change to the drive.

Let me know how it goes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top