none
Manage auditing and security event

    Question

  • I want to list out the users which are available in gpedit.msc -> User Right Assignment ->Manage auditing and security event . Help me with the powershell or commandline command.

    Can i use GPResult for getting the list, if so what is the syntax of it?


    Thursday, May 07, 2015 11:40 AM

Answers

  • Hi Ashok,

    You can refer to the cmdlet "Get-UserRight" in this module to list the user in "User Right Assignment":

    UserRights PowerShell Module

    Bcause you want to list the users in "Manage auditing and security" option, you can set the "priviledge" parameter to "SeSecurityPrivilege" like:

    Get-UserRight -privileges SeSecurityPrivilege

    To get the priviledge setting, please refer to this article:

    http://windowsitpro.com/windows/jsi-tip-9480-how-can-i-display-user-rights-assignment-specified-computer

    If there is anything else regarding this issue, please feel free to post back.

    Best Regards,

    Anna Wang


    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 Support, contact tnmff@microsoft.com

    Sunday, May 10, 2015 2:03 AM
    Moderator