Editing GPO with Powershell

Tagged: ,

This topic contains 2 replies, has 3 voices, and was last updated by Profile photo of Richard Siddaway Richard Siddaway 5 months, 2 weeks ago.

  • Author
    Posts
  • #63622
    Profile photo of Jays
    Jays
    Participant

    Hi, is-it possible to edit a GPO with Powershell, what I'm looking for is to update a the Security Parameter – File System.
    For example add authenticated user , folder and subfolder in write execute on the directory D:\EXPL
    Thanks

  • #63631
    Profile photo of Daniel Krebs
    Daniel Krebs
    Moderator

    The area you'd like to edit is not directly exposed via the Group Policy cmdlets (https://technet.microsoft.com/en-us/library/ee461027.aspx) as far as I know.

    As alternative you could backup the GPO with the Backup-GPO cmdlet, modify the .inf file for the file system permissions and import the modified backup again via Import-GPO again.

    However, you need to ask yourself if a group policy modification really needs to be automated.

  • #63633
    Profile photo of Richard Siddaway
    Richard Siddaway
    Moderator

    Only way I know to read/write GPO settings is to use SDM software

You must be logged in to reply to this topic.