How to hide shared folder for users

Arvind Dahiya 1 Reputation point
2024-07-05T05:38:36.5333333+00:00

We have Windows Server 2022 Domain and folder shared with users with NTFS permission but user's can see all shared folders (but access only which have right)

\SERVER-IP , they can see all shared folder,

is any way that we can hide shared folder to users and visible only which have user right?

any help will highly appreciated.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,228 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,644 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Olaf Helper 45,101 Reputation points
    2024-07-05T06:24:58.5733333+00:00

    Not really.

    You can use "hidden shares" by adding a dollar $ sign to the share, but then no one can list the share name(s), they have to know them to access them, see

    https://learn.microsoft.com/en-us/iis/web-hosting/configuring-servers-in-the-windows-web-platform/configuring-share-and-ntfs-permissions

    => Configuring Permissions, Point 5.

    0 comments No comments

  2. Yanhong Liu 12,180 Reputation points Microsoft Vendor
    2024-07-05T07:30:10.7033333+00:00

    Hello,

    Thank you for posting in Q&A forum.

    You can achieve this by enabling Access-Based Enumeration (ABE) on your shared folders. Access-Based Enumeration hides files and folders from users who do not have the appropriate permissions, so they will only see the resources they have access to.

    Please refer to the link: Access-based Enumeration | Microsoft Learn

    User's image

    For information on how to enable access-based enumeration on shared folders in Windows Server 2022, refer to the following links: SOLVED: How to Hide Folders Users Do Not Have Access To – Up & Running Inc – Tech How To's (urtech.ca)

    I hope the information above is helpful.

    Best Regards,

    Yanhong Liu

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.