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

(18 posts)
  • Started 7 months ago by agacult
  • Latest reply from JJF
  • Topic Viewed 1948 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 7 months ago #
 
whs
whs
Posts: 6322

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 7 months ago #
 
jd2066
Posts: 3331

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 7 months ago #
 
agacult
Posts: 23

Thanks alot for the tip jd2066.

Posted 7 months ago #
 
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 7 months ago #
 
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 7 months ago #
 
jd2066
Posts: 3331

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

Posted 7 months ago #
 
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 7 months ago #
 
jd2066
Posts: 3331

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

Posted 7 months ago #
 
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 7 months ago #
 
jd2066
Posts: 3331

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 7 months ago #
 
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 7 months ago #
 
jd2066
Posts: 3331

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

Posted 7 months ago #
 
Lighthouse
Lighthouse
Posts: 5574

maybe /d switch needed

Posted 7 months ago #
 
agacult
Posts: 23

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

Posted 7 months ago #
 
jd2066
Posts: 3331

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

Posted 7 months ago #
 
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 6 months ago #
 
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 2 months ago #
 

RSS feed for this topic

Reply

You must log in to post.

Sponsored Links
Getting Started
About How-To Geek
What Is That Process?
svchost.exe
jusched.exe
dwm.exe
ctfmon.exe
wmpnetwk.exe
wmpnscfg.exe
rundll32.exe
wfcrun32.exe
Ipoint.exe
Itype.exe
Wfica32.exe
Mobsync.exe
Cmd.exe
Dpupdchk.exe Adobe_Updater.exe

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