SOLVED: How to Hide Folders Users Do Not Have Access To

Most tech’s know that you can add a dollar sign ($) to the end of the name of a share and make it hidden but you can also have Windows show users ONLY the folders they have access to.  I have this feature enabled with all my clients because it is hard to hack what you cannot see.  It keeps the prying eyes of some staff from just wondering what is in that folder named PAYROLL or ACCOUNTING.

Access Based Enumeration is the feature that hides folders from users that do not have permission to that folder.  Access based enumeration (ABE) came out in Windows 2008 and has remained unchanged since, because it just works.

How to Setup Access Based Enumeration:

  1. Launch SERVER MANAGER in Server 2012 or Server 2016
  2. Click on FILE AND STORAGE SERVICES
  3. Click on SHARES
  4. On EACH SHARE (one at a time), right click on the share and select PROPERTIES
  5. Expand SETTINGS
  6. Click ENABLE ACCESS BASED ENUMERATION

From this point on only users that have permissions to that folder/share will be able to see it.

More information on Access Based Enumeration can be found on the Microsoft Blog HERE.

 

View Comments

  • Veeeery nice! Thanks for the tip. Works perfect!!
    You need to go on SERVER MANAGER... SHARES...

  • server 2016 selected shares for enumeration did not work.
    Folder structure is...
    main data folder....shared, permissions admins only.
    multiple group folders, individually assigned groups with multiple users in said groups.
    data...
    group 1, user 1.
    group 2, user 2.
    i have selected only 'data' for enumeration, i have selected 'group' folders for enumeration, i have selected the 'drive' for enumeration..
    when using windows explorer
    ' \\server' to display shares all shares are displayed to all users.
    what am i doing wrong?

    • I have followed this process many times with different clients and not had it fail. I would check each of the steps to ensure you processed them correctly. Let us know if you have an error message or a question. Thanks

Published by
Ian Matthews

This website uses cookies.