Subscribe to How-To Geek

Welcome to the How-To Geek Forums

We encourage you to register on our forums and post any questions you might have. The How-To Geeks monitor this forum and will respond to your question quickly.

How-To Geek Forums » Windows Vista

folder hidden attribute greyed out

(21 posts)
  • Started 1 year ago by agacult
  • Latest reply from learner
  • Topic Viewed 8342 times

agacult
Posts: 23

HELP! My externel hard drive got infected with a virus and now all my files/folders have their hidden attributes greyed out. I have to select the "show hidden files and folders" just to see them, is there any way around this?

Posted 1 year ago #
Top
 
whs
whs
Posts: 10354

Easiest is to reset to a recovery point from before the infection. If it really was a virus, these are probably not your only troubles.

Posted 1 year ago #
Top
 
jd2066
Justin
Posts: 3792

Try this:
1. Click Start.
2. In the search box type command prompt and press enter.
3. Type the following commands and press enter after each (Note: Assumes your external drive is H:\ and the folder that is hidden is named "My Folder"):

cd H:\
attrib -H -S "My Folder" /D
Posted 1 year ago #
Top
 
agacult
Posts: 23

Thanks alot for the tip jd2066.

Posted 1 year ago #
Top
 
eddn
Posts: 2

I had the same thing happened to me traced it down to Norton System works. Nortons helped me fix the know problem.

Posted 1 year ago #
Top
 
agacult
Posts: 23

Following the tip from jd2066 I did the following(Asuming "My Folder" is the hidden folder & "Their Folder" is the sub folder,which is also hidden with every file/folder in it!) H:\>attrib -H -S "My Folder"\"Their Folder"\*.* /S & I managed to retrieve "My Folder" and the files in the sub folder "Their Folder", however the sub folder's hidden attribute is still greyed out, is there a way I can fix the sub folder also?

Posted 1 year ago #
Top
 
jd2066
Justin
Posts: 3792

Try doing: attrib -H -S "My Folder\Their Folder" /S

Posted 1 year ago #
Top
 
agacult
Posts: 23

Hi there and thanks for all your tips, especially jd2066 but I seemed to have hit a brick wall as when I type: (attrib -H -S "My Folder\Their Folder" /S)the cmd prompt gives: (File not found - My folder\Their Folder.) The virus that has stared my problem is called W32.SillyFDC and I use Norton 360 Version 2 antivirus, which is always up to date.

Posted 1 year ago #
Top
 
jd2066
Justin
Posts: 3792

Did you do the "cd H:\" (Assuming the drive is H:\) first?

Posted 1 year ago #
Top
 
agacult
Posts: 23

Yes I am in the H drive, it looks something like this H:\>attrib -H -S "My Folder\Their Folder /S and when I press enter the cmd gives the above mentioned response. To get into my H drive I do the following from the cmd, C:\Users\agacult>H:
H:\>

when I include "cd" it goes
C:\Users\agacult>cd H:
H:\
C:\Users\agacult>
it gets back to C drive, I don't know why. I'm using vista business on my machine

Posted 1 year ago #
Top
 
jd2066
Justin
Posts: 3792

Oh, sorry about that. I forgot the command is different for switching drives then folders.
Just type "H:" instead of "cd H:\" for the command.

Posted 1 year ago #
Top
 
agacult
Posts: 23

It's still giving me the "file not found - My Folder\Their Folder". I first got around this problem by following your first tip but I added [\*.*] before the , it looked something like this H:\>attrib -H -S "My Folder\Their Folder"\*.* /S, [\*.*] to clear whatever I want to clear from the folder and it's subfolders & everthing in the in it. But it's not working for the sub folder.

Posted 1 year ago #
Top
 
jd2066
Justin
Posts: 3792

So the files in that sub folder are still hidden? Or is it the folder itself that is still hidden?

Posted 1 year ago #
Top
 
Lighthouse
Lighthouse
Posts: 5573

maybe /d switch needed

Posted 1 year ago #
Top
 
agacult
Posts: 23

The files in the subfolder are ok its the the subfolder that I can't get the hidden attribute working

Posted 1 year ago #
Top
 
jd2066
Justin
Posts: 3792

Try the command: attrib -H -S "My Folder" /S /D
That should work for the sub folders too.

Posted 1 year ago #
Top
 
agacult
Posts: 23

Thanks alot jd2066 it worked like a charm, I also found that to remove the hidden attribute from everything in the infected hdd/fdd is to go H:\>attrib -H -S \*.* /S /D assuming H is my external hdd,thanks again.

Posted 1 year ago #
Top
 
JJF
Posts: 1

This was very helpful, but when one have a lot of folders to change back this way, it takes a lot of time!

Is there not a simple program available with which this can be done?

Posted 1 year ago #
Top
 
learner
Posts: 5

Hello there!

I just read the bogs Q & A's and as I am going through a similar problem, wanted to request a little more input....

The infected(hidden by W32.SillyFDC virus) files are on my hard drive and it was full to capacity (approx. 80GB).... right now I tried doing the attrib func thru command line but it give a message that it cannot change a system file! please advice, whether '-s' switch is for the same. I have used the following command line function:

e:\>attrib *.* -r -h /s/d

looking forward to your help and support

regards,
learner

Posted 8 months ago #
Top
 
LH
LH
Posts: 7493

learner. Welcome to the forum. Please could you start a "New Topic" with your problem.

Posted 8 months ago #
Top
 

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

Our Friends
Getting Started


About How-To Geek
What Is That Process?
svchost.exe
jusched.exe
dwm.exe
ctfmon.exe
wmpnetwk.exe
mDNSResponder.exe
wmpnscfg.exe
rundll32.exe
wfcrun32.exe
Ipoint.exe
Itype.exe
Wfica32.exe
Mobsync.exe
conhost.exe
Dpupdchk.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. All Rights Reserved.