If you want to hide a folder in Windows, you can do it in under a minute. Right-click the folder, open Properties, check the Hidden attribute, and click OK. That is the fastest way. But there is a lot more to know if you want the folder to stay hidden, stay secure, or be truly invisible to casual users.
This guide covers every method, from the basic built-in option to the command line, with clear steps and honest advice on what each method actually does.
Why People Hide Folders in Windows
People hide folders for many valid reasons. You might want to keep personal files out of sight on a shared computer. You might be organizing your system and want to clean up what shows in File Explorer. Some software also hides its own system folders so users do not accidentally delete critical files.
Hiding a folder does not encrypt it. It does not password protect it. It just makes it not show up in standard views. Anyone who knows where to look, or who enables “Show hidden files” in File Explorer, can still see it. If you need real security, you need encryption, not just hiding.
Keep that in mind as you choose your method.

Method 1: How to Create a Hidden Folder in Windows Using File Properties
This is the built-in Windows method. It works on Windows 10 and Windows 11.
Step 1: Create or Locate the Folder
First, make sure the folder exists. If you need a new one, right-click on the desktop or inside File Explorer and choose New > Folder. Name it whatever you want.
Step 2: Open Folder Properties
Right-click the folder you want to hide. Click Properties at the bottom of the context menu. A small window will open.
Step 3: Check the Hidden Attribute
At the bottom of the General tab, you will see a section called Attributes. There is a checkbox labeled Hidden. Check it. Click Apply.
Windows will ask if you want to apply the change to just the folder, or to the folder and all its contents. If the folder has files inside, choose “Apply changes to this folder, subfolders and files” to hide everything inside too.
Step 4: Click OK
Click OK to close. The folder will now disappear from File Explorer if hidden files are not being shown.
How to Confirm It Is Hidden
If the folder is still visible, it means Windows is currently set to show hidden files. The folder will appear slightly transparent (faded) when hidden items are visible. To verify it disappears for others, go to File Explorer, click View, then Show, and make sure “Hidden items” is unchecked.
Method 2: Hide a Folder Using Command Prompt
The command line is faster once you know it and works well for batch operations or scripting.
How to Use the Attrib Command
Open Command Prompt. You can search for “cmd” in the Start menu. You do not need to run it as administrator for most personal folders.
Type the following command and press Enter:
attrib +h "C:\Path\To\Your\Folder"
Replace the path with the actual path to your folder. The +h flag adds the hidden attribute.
To also make it a system folder, which hides it even more thoroughly:
attrib +h +s "C:\Path\To\Your\Folder"
The +s flag marks it as a system file. When both +h and +s are applied, the folder will not show up even when “Show hidden files” is enabled in File Explorer, unless the user also enables “Show protected operating system files.” This is one of the most effective ways to hide a folder without third-party software.
To unhide it later:
attrib -h -s "C:\Path\To\Your\Folder"
Method 3: Hide a Folder Using PowerShell
PowerShell gives you more control and is especially useful if you are managing multiple folders or writing automation scripts.
Open PowerShell from the Start menu. Use this command:
$folder = Get-Item "C:\Path\To\Your\Folder"
$folder.Attributes = $folder.Attributes -bor [System.IO.FileAttributes]::Hidden
This sets the Hidden attribute using the .NET file attributes system. It is equivalent to checking the box in Properties.
To remove the hidden attribute with PowerShell:
$folder = Get-Item "C:\Path\To\Your\Folder" -Force
$folder.Attributes = $folder.Attributes -band -bnot [System.IO.FileAttributes]::Hidden
Note the -Force flag in the second command. You need it to access a hidden item.
Method 4: Make a Folder Invisible With a Blank Name and Blank Icon
This is a visual trick. It does not use the hidden attribute. Instead, it makes the folder blend into the background by giving it a transparent icon and an invisible name.
Step 1: Rename the Folder With an Invisible Character
Right-click the folder and click Rename. Hold Alt and type 255 on the number pad (Alt+0160 also works). Press Enter. The folder will appear to have no name.
Step 2: Change the Icon to Transparent
Right-click the folder and go to Properties > Customize > Change Icon. Scroll through the icons list and look for a blank/transparent icon. Windows includes a few fully transparent icon options in the default shell32.dll icon set. Select one and click OK.
Now the folder sits on the desktop with no visible name and no visible icon. It is still clickable and accessible, but very easy to miss.
This method is not hiding in the technical sense. Anyone who selects all items (Ctrl+A) on the desktop will select it too.
Hidden Folder Methods in Windows
| Method | Difficulty | Hides From Casual Users | Hides From Advanced Users | No Extra Software Needed |
|---|---|---|---|---|
| File Properties (Hidden checkbox) | Easy | Yes | No | Yes |
| attrib +h (Command Prompt) | Medium | Yes | No | Yes |
| attrib +h +s (Command Prompt) | Medium | Yes | Partially | Yes |
| PowerShell | Medium | Yes | No | Yes |
| Blank name and icon trick | Easy | Yes | No | Yes |
| Third-party encryption tools | Harder | Yes | Yes | No |
How to Show Hidden Folders in Windows
You will need this when you want to access your hidden folder later.
In File Explorer, click the View menu at the top. Click Show. Then click “Hidden items.” A checkmark will appear next to it, and hidden folders will become visible (shown with faded transparency).
In Windows 10, the path is slightly different: click View in the ribbon, then check the “Hidden items” checkbox in the Show/hide section.
To turn off the display of hidden items again, just click the same option to uncheck it.
How to Access a Hidden Folder Without Making It Visible
You do not have to reveal the folder to open it. Just type the full path directly into the File Explorer address bar and press Enter. Windows will navigate to it even if hidden items are not enabled in your view settings.
For example, type:
C:\Users\YourName\SecretFolder
This is useful if you want the folder to stay invisible but still be accessible to you quickly.
Can You Password Protect a Hidden Folder in Windows?
The short answer is no, not with built-in tools alone. Windows does not have a built-in password protection feature for folders.
What you can do:
- Use BitLocker to encrypt an entire drive (available on Windows Pro and Enterprise)
- Use a compressed ZIP file with a password set on it (right-click > Send to > Compressed folder, then use a tool like 7-Zip to add a password)
- Use third-party tools like VeraCrypt, which creates an encrypted container that looks like a file
According to Microsoft’s own documentation on BitLocker, it is designed to protect data on lost or stolen devices by encrypting entire volumes. It is not designed for folder-level protection.
If you need folder-level encryption that is free and reliable, VeraCrypt is the most widely trusted open-source option.
Hiding System Folders vs. Personal Folders
When Windows uses the hidden attribute on its own folders (like AppData or ProgramData), it is protecting you from accidentally deleting files the system needs. These folders use both the hidden and system attributes together.
When you hide your own personal folder, you are only using the hidden attribute. There is a difference in how visible they are:
A folder with only +h will appear when “Show hidden items” is checked. A folder with +h and +s will not show up unless the user also checks “Show protected operating system files” in Folder Options. To access that second setting, go to File Explorer, click the three dots menu (or View on Windows 10), then Options > View tab, and uncheck “Hide protected operating system files.”
This is why using attrib +h +s is more private than just the Properties checkbox method.
Common Mistakes When Hiding Folders
Many people make these errors when they first try this.
They hide the folder but forget to check their folder view settings. If File Explorer is already set to show hidden items, the folder stays visible to everyone on that computer.
They hide a folder inside a folder that is not hidden. If the parent folder is visible and open, the hidden subfolder may still appear with a faded icon.
They confuse hiding with deleting. If you hide a folder and then forget where it is, you can always re-enable hidden item visibility to find it.
They assume hiding means it is secure. Anyone with basic Windows knowledge can show hidden files in seconds.
How to Permanently Show or Hide the Hidden Files Setting
If you want hidden files to always be visible (useful for IT admins or power users), you can lock this setting through Group Policy or the Registry.
Via Registry:
- Press Win+R and type regedit.
- Navigate to: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
- Find the value named Hidden.
- Set it to 1 to show hidden files. Set it to 2 to hide them.
For a shared or managed computer, Group Policy allows admins to enforce this setting so users cannot change it.
Hidden Folders on Windows 11 vs. Windows 10
The process is the same on both versions. The difference is where to find the “Show hidden items” toggle.
On Windows 11: File Explorer > View > Show > Hidden items.
On Windows 10: File Explorer > View (ribbon tab) > Hidden items checkbox.
The Properties method and command line methods work identically on both versions.
Conclusion
Creating a hidden folder in Windows is quick and requires no extra software. The right-click Properties method takes about 30 seconds. The command line method with attrib +h +s gives you a more thorough result if you want to prevent the folder from showing up even when hidden items are displayed.
The most important thing to remember is that hiding is not the same as securing. If your data is sensitive, combine hiding with encryption. Use BitLocker for full-drive protection or VeraCrypt for folder-level encrypted containers.
For most everyday uses, right-click > Properties > Hidden is all you need.
Frequently Asked Questions
Can someone else see my hidden folder on a shared Windows computer?
Yes. Anyone who enables “Show hidden items” in File Explorer can see it immediately. Hidden folders are not private from other users on the same account. If you share a Windows account, hiding provides very little real protection.
Does hiding a folder affect its contents?
The hidden attribute can apply to just the folder or to the folder and everything inside it. When you check Hidden in Properties and click Apply, Windows asks which option you prefer. Choose “Apply to this folder, subfolders and files” if you want everything inside to be hidden too.
Will hidden folders show up in Windows Search?
Yes. Windows Search indexes hidden files and folders by default. Someone searching for a file name inside your hidden folder can still find it through the Start menu search. To prevent this, you need to exclude the folder from the search index in Indexing Options.
How do I find a hidden folder if I forgot where I put it?
Enable hidden item visibility in File Explorer: View > Show > Hidden items on Windows 11, or View > Hidden items on Windows 10. Then browse to the location where you think the folder is, or use Windows Search with hidden items visible.
Is there a way to hide a folder so it cannot be found at all without a password?
Not with Windows built-in tools alone. The most effective free option is VeraCrypt, which lets you create an encrypted volume that looks like a regular file. Without the correct password, no one can even identify it as a folder or container. This is the closest thing to true hidden and locked storage on Windows.
- How to Uninstall Apps from the Start Menu in Windows 11/10 (2026 Guide) - April 2, 2026
- How to Fix Overscan on Windows 11/10: Stop Your Screen Getting Cut Off (2026) - April 1, 2026
- How to Disable Lock Screen on Windows 11/10 in 2026 - April 1, 2026
