Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Administration > HKEY_CLASSES_ROOT Permissions

Reply
Thread Tools Display Modes

HKEY_CLASSES_ROOT Permissions

 
 
Mark
Guest
Posts: n/a

 
      07-05-2007
I am using Windows Vista Home Premium and have noticed that there are no
permissions set for HKEY_CLASSES_ROOT. The following message is displayed.

No permissions have been assigned for this object.

Warning: this is a potential security risk because anyone who can access
this object can take ownership of it. The object’s owner should assign
permissions as soon as possible.

I don't think this is correct and was wondering if anyone knows what
permissions should be set.
 
Reply With Quote
 
 
 
 
Jimmy Brush
Guest
Posts: n/a

 
      07-05-2007
Mark wrote:
> I am using Windows Vista Home Premium and have noticed that there are no
> permissions set for HKEY_CLASSES_ROOT. The following message is displayed.
>
> No permissions have been assigned for this object.
>
> Warning: this is a potential security risk because anyone who can access
> this object can take ownership of it. The object’s owner should assign
> permissions as soon as possible.
>
> I don't think this is correct and was wondering if anyone knows what
> permissions should be set.


Users: read
Administrators: full control
System: full control
CREATOR OWNER: full control on subkeys only

Note that HKEY_CLASSES_ROOT is HKEY_LOCAL_MACHINE\Software\Classes and
HKEY_CURRENT_USER\Software\Classes combined together, with entries in
HKCU taking precedence.

I believe writes to this location get sent to HKLM, but not exactly sure.

--
-JB
Microsoft MVP - Windows Shell/User
Windows Vista Support FAQ - http://www.jimmah.com/vista/
 
Reply With Quote
 
cquirke (MVP Windows shell/user)
Guest
Posts: n/a

 
      07-07-2007
On Thu, 05 Jul 2007 18:49:02 -0400, Jimmy Brush <> wrote:
>Mark wrote:


>> I am using Windows Vista Home Premium and have noticed that there are no
>> permissions set for HKEY_CLASSES_ROOT. The following message is displayed.


>> No permissions have been assigned for this object.


That's possible - as JB says, HKCR is really a merging together of
HKLM..Classes and HKCU..Classes, so I can't see how one could map a
single set of permissions to it. I'd expect that to be "greyed".

>> Warning: this is a potential security risk because anyone who can access
>> this object can take ownership of it. The object’s owner should assign
>> permissions as soon as possible.


That's the part that looks buggy to me...

>> I don't think this is correct and was wondering if anyone knows what
>> permissions should be set.


JB (Jimmy Brush) said:

>Note that HKEY_CLASSES_ROOT is HKEY_LOCAL_MACHINE\Software\Classes and
>HKEY_CURRENT_USER\Software\Classes combined together, with entries in
>HKCU taking precedence.


>I believe writes to this location get sent to HKLM, but not exactly sure.


Ew... bad place for doubts, eh? Maybe it's like rt-clicking a flyout
in the Start Menu, that you get whichever exists. Hmm.



>--------------- ---- --- -- - - - -

Saws are too hard to use.
Be easier to use!
>--------------- ---- --- -- - - - -

 
Reply With Quote
 
Jimmy Brush
Guest
Posts: n/a

 
      07-07-2007
cquirke (MVP Windows shell/user) wrote:
> On Thu, 05 Jul 2007 18:49:02 -0400, Jimmy Brush <> wrote:
>> Mark wrote:

>
>>> I am using Windows Vista Home Premium and have noticed that there are no
>>> permissions set for HKEY_CLASSES_ROOT. The following message is displayed.

>
>>> No permissions have been assigned for this object.

>
> That's possible - as JB says, HKCR is really a merging together of
> HKLM..Classes and HKCU..Classes, so I can't see how one could map a
> single set of permissions to it. I'd expect that to be "greyed".
>


I thought that at first too, but when I check in my regedit it had
permissions set! I will see if I can dig up a real answer to the
question "does this beast really have security or does it delegate to
the backing store and what really happens when you modify a key here"

--
-JB
Microsoft MVP - Windows Shell/User
Windows Vista Support FAQ - http://www.jimmah.com/vista/
 
Reply With Quote
 
Mark
Guest
Posts: n/a

 
      07-11-2007
Should I replace all inheritable permissions on all descendants from this
obect?

"Jimmy Brush" wrote:

> cquirke (MVP Windows shell/user) wrote:
> > On Thu, 05 Jul 2007 18:49:02 -0400, Jimmy Brush <> wrote:
> >> Mark wrote:

> >
> >>> I am using Windows Vista Home Premium and have noticed that there are no
> >>> permissions set for HKEY_CLASSES_ROOT. The following message is displayed.

> >
> >>> No permissions have been assigned for this object.

> >
> > That's possible - as JB says, HKCR is really a merging together of
> > HKLM..Classes and HKCU..Classes, so I can't see how one could map a
> > single set of permissions to it. I'd expect that to be "greyed".
> >

>
> I thought that at first too, but when I check in my regedit it had
> permissions set! I will see if I can dig up a real answer to the
> question "does this beast really have security or does it delegate to
> the backing store and what really happens when you modify a key here"
>
> --
> -JB
> Microsoft MVP - Windows Shell/User
> Windows Vista Support FAQ - http://www.jimmah.com/vista/
>

 
Reply With Quote
 
Jimmy Brush
Guest
Posts: n/a

 
      07-12-2007
Mark wrote:
> Should I replace all inheritable permissions on all descendants from

this
> obect?


I would not recommend doing that, as I am not sure how those security
settings would be applied.

I did dig up this information from MSDN though:

"If you write keys to a key under HKEY_CLASSES_ROOT, the system stores
the information under HKEY_LOCAL_MACHINE\Software\Classes. If you write
values to a key under HKEY_CLASSES_ROOT, and the key already exists
under HKEY_CURRENT_USER\Software\Classes, the system will store the
information there instead of under HKEY_LOCAL_MACHINE\Software\Classes."

So, creating keys always goes to HKLM. However, writing values goes to
HKCU, iff the containing key exists in HKCU; otherwise, it goes to HKLM.

It doesn't talk about security, though, so I will keep looking.

I would recommend checking the security on your
HKEY_LOCAL_MACHINE\Software\Classes and
HKEY_CURRENT_USER\Software\Classes keys to make sure they are all right.

And making sure they are not "empty".

They need different security settings, so don't apply the same security
settings to both of them.

--
-JB
Microsoft MVP - Windows Shell/User
Windows Vista Support FAQ - http://www.jimmah.com/vista/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ultimate: permissions permissions permissions... maya Windows Vista General Discussion 1 04-14-2008 06:14 PM
Enabled permissions for "Everyone" but denied "change permissions" ed Windows Vista Security 0 07-11-2007 07:42 PM
Cannot acces registry entries in HKEY_CLASSES_ROOT in x64 mvalpreda Windows Vista General Discussion 0 03-01-2007 05:33 AM
Permissions Josh Windows Vista General Discussion 2 01-29-2007 05:58 PM
RE: Permissions shooter902 Windows Vista General Discussion 0 07-04-2006 03:00 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59