Device properties registry permissions

Discussion in 'Windows Vista Drivers' started by ThomasMc07, Jun 22, 2010.

  1. ThomasMc07

    ThomasMc07 Guest

    Hello,

    What are the "correct" Win7 registry permission and ownership settings for
    device properties?

    When I try to view device Properties keys (e.g. enum\PCI) in Regedit a popup
    says: "Properties cannot be opened. An error is preventing this key from
    being opened. Details: Access is denied" even though I'm a machine
    administrator. When I try to view permissions a popup says: "You do not have
    permission to view the current permission settings for Properties, but you
    can make permissions changes." I can't even view the owner of the key. So I
    can't view permissions without changing them first.
     
    ThomasMc07, Jun 22, 2010
    #1
    1. Advertisements

  2. ThomasMc07

    Pavel A. Guest

    What you see is correct. The enum tree is by default NOT accessible for
    any user including administrator -
    even though administrator can change permissions.

    -pa
     
    Pavel A., Jun 23, 2010
    #2
    1. Advertisements

  3. ThomasMc07

    ThomasMc07 Guest

    OK, how do I reset permissions after I've modified them? I don't know what
    they were before I changed them.

    -Thomas
     
    ThomasMc07, Jun 24, 2010
    #3
  4. ThomasMc07

    Pavel A. Guest

    Just leave it as is, it should work.
    Restoring the permissions to original state is a bit difficult, because
    there's no way
    to give ownership away - you can only take it.
    This is so exactly to let the original owner easily detect tampering with
    security :)
    The original owner of enum branch is not human, it won't mind.
    --pa
     
    Pavel A., Jun 25, 2010
    #4
  5. ThomasMc07

    ThomasMc07 Guest

    I see. On my Win7 x64 development machine, owner of the enum branch shows as
    the machine adminstrators group, it's just the various properties branches
    that have the mystery owner. Just as a point of curiosity, is it supposed to
    be Local System (S-1-5-18)?
     
    ThomasMc07, Jun 26, 2010
    #5
  6. ThomasMc07

    Tim Roberts Guest

    Yes.
     
    Tim Roberts, Jun 27, 2010
    #6
    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.