How To Enable or Disable File Based Enumeration

To enable or disable Access-Based Enumeration file based Enumeration on Windows server 2012 shares we need to use the Server manager File and Storage Services console

Open Server Manger -> File and Storage Services – Shares -> Right Click on the Share and go to the Settings tab, tick the Enable Access- Based enumeration box