Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have this perplexing folder that I'm the "Owner" and I have all NTFS rights on it: it's invisible. I would like to make it visible without having to check the "Hide protected operating system files" in Windows Explorer.

Powershell does not even let me see the file, even with Run as Administrator.

Any command line tool I can use? Windows Explorer will not let met unhide it. Option is greyed out.

share|improve this question
Try "attrib" from a command window. – Carlos Garcia Nov 30 '10 at 12:54
up vote 2 down vote accepted

If you have the full path, you can try using attrib to remove the system/hidden attributes from the folder.

attrib -s -h

share|improve this answer

Get-ChildItem -Force will show you the folder.

share|improve this answer

To unhide the directory in PowerShell:

(get-item -force <name-of-directory>).Attributes = ''

With aliases:

(gi -fo <name-of-directory>).Attributes = ''

I used this article as a reference and simplified the syntax a bit.

share|improve this answer

You may also try this simple windows script for unhiding files and directories. Instruction how to use it can be found in the link below.

Windows Script For Unhiding Hidden Files and Folders

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.