Share via


How to hide share folder from specific group or user?

Question

Thursday, July 30, 2015 2:19 AM

Hi I'm using Windows Server 2012 R2 Standard.

I have Active Directory domain, and I want to hide share folder from specific group.

I don't care about what I should use to do it. ex) Group Policy, Access-Based enumeration, command, ...

I just want to hide share folder itself.

I used Access-Based enumeration but, I couldn't hide share folder itself with ABE.

Can anybody help me?

All replies (3)

Thursday, July 30, 2015 9:02 AM âś…Answered

Hi JungiHong,

As for as I know, ABE works great for the files and folders in a share, but it will not hide the share itself from a users view. You could refer to the thread, Russ Burden gives a specific explanation.

https://social.technet.microsoft.com/Forums/windowsserver/en-US/43835987-7f6f-4b9a-92ef-368244e31a7e/unable-to-hide-shared-folders?forum=winserverfiles

I suggest that you could have a try to create a root share and place all the previous share's below that (remove the previous shares from being shared). Then enable access base enumeration.

Hope it is helpful.

Best Regards,

Mary Dong

Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected].


Thursday, July 30, 2015 6:49 AM

Hi JungiHong,

Thanks for your post.

>>I just want to hide share folder itself.

Do you mean that you just want to hide the folder?

If it is this case, you could follow the steps:

Right-click the folder you want to hide and select > Properties.

In the > General tab check the option > Hidden

Click>OK to apply

Go to > Advanced change archive and index attributes.

Click > view>Choose Hidden files, folders, or drives.

Click>ok to save changes

But once someone change the setting, the Hidden files still could be seen.

And when you use access base enumeration, once you deny any user access, they wont see the folder at all.

http://blogs.technet.com/b/hugofe/archive/2010/06/21/windows-2008-access-based-enumeration-abe.aspx?Redirected=true

If you have any problems related to the issue, please feel free to contact us.

Best Regards,

Mary Dong

Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected].


Thursday, July 30, 2015 7:46 AM

Hi Mary Dong.

Thanks for your Reply.

I mean that I want to hide the SMB share Folder.

For example, there is two groups in domain, named A_group, B_group.

And I shared 'C:\A_Share' to network.

So, what I want is A_group can see 'A_Share' shared folder when they connect to Server with Run >  \Server\

And B_group can't see 'A_Share' shared folder when they connect to  Server with Run > \Server\

ABE can hide subfolder on share but not sharefolder like 'A_share'.

I have to hide "Share Folder" to specific group.