How to Hide Folders in Windows 10/11: Explorer, Search, Permissions, and Hidden Shares

The Practical Guide to Hiding Folders on Windows 10/11 (and How to Unhide Them)

Folders are where privacy and access control really matter. In this post, we’ll cover several ways to make a folder vanish from File Explorer, keep it out of Windows Search, block other local users from opening or even listing it, and a network trick to hide a share from browse lists. For each method, you’ll see what it hides from, how to do it, and how to undo it safely. By the end, you’ll know which option to use for tidying up, casual privacy, or stricter local control.

Before you start: how to reveal hidden items (so you can check your work)

Show hidden folders:

  • Windows 11: File Explorer > View > Show > Hidden items
  • Windows 10: File Explorer > View tab > check “Hidden items”

Show protected OS files (super-hidden):
File Explorer > Options > View tab > uncheck “Hide protected operating system files (Recommended)”

Tip: Turn these back off afterward if you don’t want to see hidden stuff all the time.




Way 01: Hidden attribute (and optionally its contents)

Hides from: File Explorer when “Show hidden items” is off.

GUI: Right-click the folder > Properties > check “Hidden” > OK. If prompted, choose whether to apply to this folder only or also to subfolders/files.

Command line:

# Hide just the folder
attrib +h "C:\Path\SecretFolder"

# Hide everything inside too
attrib +h /s /d "C:\Path\SecretFolder\*"

# Unhide all
attrib -h /s /d "C:\Path\SecretFolder\*"

Notes: This is quick camouflage. Anyone who enables “Hidden items” will still see it. The folder remains accessible by direct path (e.g., typing C:\Path\SecretFolder).




Way 02: Super hidden (System + Hidden)

Hides from: Explorer even when “Show hidden items” is on—so long as “Hide protected operating system files” remains enabled (default).

Command line:

# Hide the folder
attrib +s +h "C:\Path\SecretFolder"

# Optionally apply to contents
attrib +s +h /s /d "C:\Path\SecretFolder\*"

# Unhide
attrib -s -h "C:\Path\SecretFolder"
attrib -s -h /s /d "C:\Path\SecretFolder\*"

Reveal in Explorer: File Explorer > Options > View > uncheck “Hide protected operating system files (Recommended)”.

Caution: Some backup/sync tools treat System files differently. Don’t mark big data trees as System unless you mean it.




Hides from: Start/Explorer search results that rely on the index.

GUI (recommended):

  • Right-click the folder > Properties > Advanced… > uncheck “Allow files in this folder to have contents indexed in addition to file properties” > OK.
  • Or exclude the path entirely: Control Panel > Indexing Options > Modify > uncheck the folder > OK.

Command line (sets the “Not content indexed” attribute):

# Mark folder and contents
attrib +i "C:\Path\SecretFolder" & attrib +i /s /d "C:\Path\SecretFolder\*"

# Revert
attrib -i "C:\Path\SecretFolder" & attrib -i /s /d "C:\Path\SecretFolder\*"

Tips:

  • Excluding the folder in Indexing Options is more reliable than toggling attributes on individual items.
  • Search can still find some non-indexed items by filename during on-demand scans. If you use “Enhanced” search (Settings > Privacy & security > Searching Windows), double-check your exclusions.



Way 04: Hide from other local users (permissions/ACLs)

Hides from: Standard users you remove from access. They won’t be able to list or open the folder. Administrators can still take ownership.

Best practice: Put sensitive files inside a private folder and restrict that folder (so listing is blocked too).

Lock down via Command Prompt (run as your account; keep Administrators and SYSTEM):

# Stop inheriting from the parent
icacls "C:\Path\Private" /inheritance:r

# Give yourself full control (propagate to children)
icacls "C:\Path\Private" /grant:r "%USERNAME%":(OI)(CI)F

# Remove broad groups
icacls "C:\Path\Private" /remove:g Users "Authenticated Users" Everyone

# Optional: explicitly keep admins/system
icacls "C:\Path\Private" /grant Administrators:(OI)(CI)F SYSTEM:(OI)(CI)F

# Undo (restore inheritance from parent)
icacls "C:\Path\Private" /inheritance:e

Tips: Test with a different standard user account to confirm the lock-down. Avoid “Deny” entries unless you have a specific reason; allow-only ACLs are simpler to manage.




Way 05: Hide a shared folder name (network)

Hides from: Network “browse lists” (it won’t show up in Network/Explorer). It does not block direct access.

# Create a “hidden” share (trailing $ hides the name)
net share Secret$="C:\Path\SecretFolder" /grant:DOMAIN\User,READ

# Access directly
\\ComputerName\Secret$

# Remove the share
net share Secret$ /delete

Important: This is obscurity only. Enforce NTFS and share permissions for real access control.




Which method should you use?

  • Quick cleanup or light privacy: Hidden or Super hidden.
  • Keep it out of search results: Exclude the folder in Indexing Options.
  • Prevent other local users from listing or opening it: Restrict ACLs on a private folder.
  • Avoid casual discovery on the network: Use a hidden share name (with proper permissions).

Pro tip: hiding ≠ protecting

If confidentiality matters, use encryption:

  • EFS (Encrypting File System): Right-click folder > Properties > Advanced > “Encrypt contents to secure data.” Great for single-user machines. Back up your EFS certificate.
  • BitLocker: Full-drive encryption for laptops/shared PCs. Protects everything at rest.

Wrap up (and what’s next)

Now you can hide a folder cleanly, keep it out of Search, and lock it down from other local users, while still having a clear path to unhide or revert. For anything sensitive, pair these visibility tweaks with encryption. In the next post, we’ll tackle disks and partitions, how to hide entire volumes by removing drive letters, using mount points and flags, and even taking disks offline.