Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: All files 'hidden' attribute set

23 Dec 2010   #1

Windows 7 Home Premium 64bit
All files 'hidden' attribute set


I'm a first time poster here as I'm a new user of Win7, so please excuse my ignorance if I am being a moron, but I have a strange problem!!

For the past week or so, ALL of my files on desktop and in every folder have turned translucent. When I checked properties, the hidden attribute has been set. However this includes my special Libraries icons (Pictures, Music etc).

Fair enough, I could simply go and manually unset the hidden property via DOS or Properties on the root C: folder, but this will be time consuming on a 640GB hard drive and it still won't answer why it happened in the first place.

My first step was to perform an Antivirus scan which found nothing, then a malware scan which only picked up an infestation of 31 Relevant Knowledge files/registry entries. It tells me these are all now all removed but my icons are still "hidden".

I have just done a test run to unset H on my C:\users\username folder (which required administrator privaleges to run) and it seems to have done the trick on folder and file icons, but my special Libraries icons are still translucent, and when I right click I don't get the usual properties dialog to unset the hidden attribute.

After days of googling, I can't find anyone with a similar story for an explanation of why this may have happened, if it will happen again, if there are any other underlying issues/threats that are not obvious to me, or if I'm just being a numpty.

In addition to this, around the same time but probably totally unrelated, my Chrome Shockwave Flash has crashed and have unsuccessfully uninstalled and reinstalled to no avail and I have now been forced to resort to using IE !

If anyone has any ideas, feel free to divulge.

Ciao fur now.

My System SpecsSystem Spec
23 Dec 2010   #2

Windows 7 Ultimate x86

Well I have no idea how that came to be but to help you a little bit with the time consuming part:
Open an elevated command prompt, navigate to the top folder you need to change and type

ATTRIB -H [[drive:][path]filename] /S /L /D

/S Processes matching files in the current folder
and all subfolders.
/D Processes folders as well.
/L Work on the attributes of the Symbolic Link versus
the target of the Symbolic Link
My System SpecsSystem Spec
23 Dec 2010   #3

Microsoft Community Contributor Award Recipient

Windows 10, Home Clean Install

Run a full, updated scan with anti virus
Download and run a full and updated malwarebytes

When done if clean, just reset the folders the way that you want
This is for information.
I never suggest that anyone without expertise in the area tamper with registry

(Option Two) File and Folder - Hide or Unhide
My System SpecsSystem Spec

20 Mar 2011   #4

Windows 7 x64

I apologize that this is a late reply to this thread, but I wanted to offer a solution that worked for me while having the same issue with Windows XP. All of my files were hidden after a virus. I did a System Restore from Safe Mode and everything appeared fine afterward. Hope this helps someone.

My System SpecsSystem Spec
26 Apr 2012   #5

Win 7 32
Win 7 attributes -h on directory & files

To SledgeDG tried your method & got access denied all directories (MS message on Users directory).
I have no visibility on one user directory (under C:\Users) and it has removed associated icons on desktop. (Weird uh?)
My System SpecsSystem Spec
26 Apr 2012   #6

Windows 7 Ultimate x86

It sure is weird. Are you sure you used an ELEVATED command prompt?
Elevated Command Prompt

The cause could be something nasty so try this, let it update after install and scan your system.

In the worst case you could always restore your system to a former state.

My System SpecsSystem Spec
30 Apr 2012   #7

Win 7 32
All files ‘hidden’ attribute set

Yes I used the elevated command prompt, but not as an administrator on my son's user side. Which I believe it should of asked for a user name and password that never happened. Glitch in the system may be, don't know. I decided to restore "Windows 7" successfully. I was able to get his user files back. I did however lose at least one desktop short cut to the internet. First time I was able to use restore successfully. I tried it on my Gateway Vista several times with no luck, but that's another story.
Thanks a million for your support now know a short cut to cdm.exe .
My System SpecsSystem Spec
01 May 2012   #8

Windows 7 Ultimate x86

I'm glad you got it sorted!
Thanks for the feedback

My System SpecsSystem Spec

 All files 'hidden' attribute set

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar help and support threads
Thread Forum
Hidden Attribute checkbox on file properties greyed out
I want to make a bunch of folder.jpg files so they are no longer hidden. But when I check the file properties, the hidden attribute checkbox is greyed out, so I can't untick it. Any ideas on how I can change the hidden attribute of these files? Thanks Dave
General Discussion
Picture files change attribute to hidden when previewed in Windows Exp
I've got an interesting issue. I'm running Windows 7 Enterprise (x64) SP1. I'm using Windows Explorer to preview a jpeg file (any picture file will do) on a Win 2008 file server. In the preview pane, you rotate the picture either direction twice then the file attribute will change to hidden. I have...
Music, Pictures & Video
Show hidden files that remain hidden
In Appearance Files View, clearing the 2 buttons to reveal hidden files does not allow access to, for instance, C documents and settings, which has a padlock next to it, and others. I had reinstalled the OS from within the machine and uninstalled any junk such as games etc. Have Avast free,...
General Discussion
Hidden System files are no longer hidden
Some of my important system files are no longer hidden and I can't hide them even with the Command Prompt "attrib" command. Files such as bootmgr and ntldr are shown and I can't hide them. Also, show Protected System files is unchecked and show hidden files is also unchecked so they shouldn't be...
General Discussion
accidentally applied hidden folder attribute, subsequent errors
I was clicking around in my C drive because I was trying to find a folder that was hidden. I right clicked, click properties, selected the "hidden" folder attribute to the administrator folder, and clicked apply to all folders, subfolders, etc. I realized this was not the right thing because it...
General Discussion
Atrac3 codec attribute for wav files
I am using a 64-Bit version of Se73n Ultimate. I tried using the software known as WavePad Sound editor and the Atrac3 codec to make a wav file and then change the extension to .at3 in order to use it in a PSP system. But unfortunately, when I try save the open mp3 file in the .wav format, I don't...

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 09:09.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App