file share change permission via UNC path

Jerry Su 201 Reputation points
2022-04-21T03:34:57.603+00:00

on windows 2019 file share server, the dept leader own the dept share folder.
e.g. team_a leader is the owner on shared folder team_a (full control), he will manage the folder by himself.
we found : (team_a leader DON'T have the local admin access)
team_a leader can rdp to the server to change the folder permission, add or remove user have access on the folder, that's what we expected.
BUT team_a leader can not change the folder permission via UNC, below is the screenshot:

194906-fs.png

we wondering how to make user can change the permission on UNC path, we don't wanna the user to rdp to the server.
and BTW, we found if we assign user to file server's local admin group, the user can change the folder permission, BUT we dont want to let users have server's local admin access.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,615 questions
0 comments No comments
{count} votes

Accepted answer
  1. Limitless Technology 39,511 Reputation points
    2022-04-25T08:44:27.257+00:00

    Hello

    Thank you for your question and reaching out.

    The “Failed to Enumerate Objects in the Container. Access is denied.” error usually comes up when you try to change the permissions of a file or folder. In most cases, this file or folder is either from an external source (a different computer, for example) or it’s shared between many local users.

    Please try to login to File server and access the Folder locally from file server , For Example C:\MysharedFolder
    Your team_a leader user can take Owner ship of the Folder and then Assign permission to others.

    Execute the following commands, pressing the Enter key in-between each command. Make sure to replace “FULL_PATH_HERE” with the path to your affected file or folder.
    takeown /F X:\FULL_PATH_HERE
    takeown /F X:\FULL_PATH_HERE /r /d y
    icacls X:\FULL_PATH_HERE /grant Administrators:F
    icacls X:\FULL_PATH_HERE /grant Administrators:F /t
    Close the Command Prompt and try changing the permissions for the file or folder affected.


    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

0 additional answers

Sort by: Most helpful