Windows 2016 Server | Manager would like access to unlock/close open files.

Rudolf Amarlapudi 546 Reputation points
2021-12-24T22:28:21.307+00:00

Hello,

We have a user that would like to be able to access the server "Computer Management" to close any locked files. They have had situations where a file is open...and they don't know who does.

I would like to limit access to anything else that he can break. What are the minimum permissions the AD account would need to access Computer Management and close any open files?

Thanks in advance.

Regards,
Rudy

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2021-12-24T22:34:30.32+00:00

    You'll need to grant local administrator permissions on the server hosting the shares.

    --please don't forget to upvote and Accept as answer if the reply is helpful--


1 additional answer

Sort by: Most helpful
  1. MotoX80 36,401 Reputation points
    2021-12-25T16:30:02.1+00:00

    What I have done in the past is to write my own ASPX page to perform certain administrative functions for users that are not members of the Administrators group. The key is to authenticate the user but not impersonate them and use SYSTEM for the IIS worker process account.

    While your manager might need access, if you have a help desk you could add those users too.

    If there is no native DotNet API to perform the desired function, then write code to shell out command line programs and capture stdout and stderr. Thay way, anything an admin can do from a command prompt can be implemented in a web page. The added benefit is that the page can also log activity so when the inevitable 'who closed my session" question gets asked you can examine the log to see who did what.

    0 comments No comments

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.