From: ThomasMc07 on
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.
From: Pavel A. on
"ThomasMc07" <ThomasMc07(a)discussions.microsoft.com> wrote in message
news:89D0C559-3970-4712-AB5E-FE547904D628(a)microsoft.com...
> 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.

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


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

-Thomas

"Pavel A." wrote:

> "ThomasMc07" <ThomasMc07(a)discussions.microsoft.com> wrote in message
> news:89D0C559-3970-4712-AB5E-FE547904D628(a)microsoft.com...
> > 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.
>
> 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
>
>
> .
>
From: Pavel A. on
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


"ThomasMc07" <ThomasMc07(a)discussions.microsoft.com> wrote in message
news:7583250D-F391-4349-A563-1667D08F566D(a)microsoft.com...
> OK, how do I reset permissions after I've modified them? I don't know what
> they were before I changed them.
>
> -Thomas
>
> "Pavel A." wrote:
>
>> "ThomasMc07" <ThomasMc07(a)discussions.microsoft.com> wrote in message
>> news:89D0C559-3970-4712-AB5E-FE547904D628(a)microsoft.com...
>> > 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.
>>
>> 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
>>
>>
>> .
>>
From: ThomasMc07 on
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)?

"Pavel A." wrote:

> 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
>
>
> "ThomasMc07" <ThomasMc07(a)discussions.microsoft.com> wrote in message
> news:7583250D-F391-4349-A563-1667D08F566D(a)microsoft.com...
> > OK, how do I reset permissions after I've modified them? I don't know what
> > they were before I changed them.
> >
> > -Thomas
> >
> > "Pavel A." wrote:
> >
> >> "ThomasMc07" <ThomasMc07(a)discussions.microsoft.com> wrote in message
> >> news:89D0C559-3970-4712-AB5E-FE547904D628(a)microsoft.com...
> >> > 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.
> >>
> >> 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
> >>
> >>
> >> .
> >>
> .
>