Assign permissions to Reg. keys and sun keys

Discussion in 'Scripting' started by pkma, Jan 13, 2005.

  1. pkma

    pkma Guest

    I have writtem script from smaples to assigs permissions to Registory key
    with ADSI. it works fine but existing sub keys of that kay doesn't inherit
    permissions parent keys. is there any way to do that.
    pkma, Jan 13, 2005
    1. Advertisements

  2. Hi

    Some code here handling inheritance:;EN-US;269159

    If you can't get the ADSI method to work properly, here is an

    SetACL.exe (freeware)
    Torgeir Bakken \(MVP\), Jan 13, 2005
    1. Advertisements

  3. pkma

    pkma Guest

    Yes, I have used this code also.

    Suppose I have assign permissions to user for Registry key and

    Only newly created registry sub keys inherits permission of Parent key(key
    we have assign permissions with script)

    If there are sub key exist before run script to key, these sub keys doesn't
    inherit permissions of the parent.

    Is there any way with that I will set permissions to one parent key and sub
    keys under it (which is already present) will inherit permissions of the
    parernt key.

    Thanks for fast reply.
    pkma, Jan 13, 2005
  4. Hi

    Sorry, I have never played with this, so I have no further tip for you...
    Torgeir Bakken \(MVP\), Jan 13, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.