Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista account administration

HKEY_CLASSES_ROOT Permissions

Closed Thread
 
Thread Tools Display Modes
Old 07-05-2007   #1 (permalink)
Mark
Guest


 

HKEY_CLASSES_ROOT Permissions

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.
Old 07-05-2007   #2 (permalink)
Jimmy Brush
Guest


 

Re: HKEY_CLASSES_ROOT Permissions

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/
Old 07-07-2007   #3 (permalink)
cquirke (MVP Windows shell/user)
Guest


 

Re: HKEY_CLASSES_ROOT Permissions

On Thu, 05 Jul 2007 18:49:02 -0400, Jimmy Brush <jb@mvps.org> 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!
>--------------- ---- --- -- - - - -

Old 07-07-2007   #4 (permalink)
Jimmy Brush
Guest


 

Re: HKEY_CLASSES_ROOT Permissions

cquirke (MVP Windows shell/user) wrote:
> On Thu, 05 Jul 2007 18:49:02 -0400, Jimmy Brush <jb@mvps.org> 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/
Old 07-11-2007   #5 (permalink)
Mark
Guest


 

Re: HKEY_CLASSES_ROOT Permissions

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 <jb@mvps.org> 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/
>

Old 07-11-2007   #6 (permalink)
Jimmy Brush
Guest


 

Re: HKEY_CLASSES_ROOT Permissions

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/
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Permissions Johnny Vista performance & maintenance 1 04-24-2008 05:38 PM
ultimate: permissions permissions permissions... maya Vista General 1 04-14-2008 01:14 PM
Enabled permissions for "Everyone" but denied "change permissions" ed Vista security 0 07-11-2007 02:42 PM
Cannot acces registry entries in HKEY_CLASSES_ROOT in x64 mvalpreda Vista General 0 03-01-2007 12:33 AM
Permissions Rat_UK Vista performance & maintenance 2 02-06-2007 05:06 PM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

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