Replace owner on subcontainers and objects

Welcome Forums General PowerShell Q&A Replace owner on subcontainers and objects

Viewing 0 reply threads
  • Author
    Posts
    • #232981
      Participant
      Topics: 1
      Replies: 1
      Points: -2
      Rank: Member

      Hi Folks

      I am trying to write a powershell script which take ownership of a reg key – (relatively easy to do) and subcontainers but struggling to work out how to replace owner on subcontainers and objects of the reg key. This is needed to overwrite deny permissions on a subkey of the regkey I have taken ownership of.

      Can anyone point me in the direction of how to do this? I have found a few scripts which partly get the result but not changing permissions on the subcontainers

      This can be done manually but would be great to script it.

      Thaks in advance

       

       

Viewing 0 reply threads
  • You must be logged in to reply to this topic.