Re: Machine policy registry keys



Hi,

Thanks for the reply. I indeed want to track down why we are writing these
keys just like that but what I don't understand is this. The screensafer
settings are per user settings while the hklm\Software\Policies are machine
policies (Correct ?). So why does windows read these machine keys and
process them as per user keys ? Perhaps it just strips of the
XXX\Software\Policies and then process them for machine and user ? This
would make sure that machine policies override user policies or is that not
how it works (e.g. same key name in user and machine policy) ?

Thanks again,
Jos

"Skywing [MVP]" <skywing_NO_SPAM_@xxxxxxxxxxxxxxxxxxx> wrote in message
news:%231X7Spk0HHA.1184@xxxxxxxxxxxxxxxxxxxxxxx
Yes, you can technically do that, but it's discouraged. By doing that you
are throwing away a lot of the nice "magic" of group policies that makes
them easier to manage, though. Group policies should internally set those
registry keys after the final set of policies is determined, but again,
you are throwing away the nice multiple policy resolution work that GPO
can do by going straight to the registry keys.

I'm also not sure how supported it is to rely on those registry keys being
settable directly, although at least for "current" platforms I don't see
how Microsoft could change them without breaking stuff. They could
theoretically change for new OS releases though.

--
Ken Johnson (Skywing)
Windows SDK MVP
http://www.nynaeve.net
"Jos Scherders" <thrower@xxxxxxx> wrote in message
news:ulSDcGj0HHA.4184@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

I have used an Administrative Template to configure screensavers settings
and this works fine except on some PC's. On the PC's where it does not
work I do see the correct settings in Desktop -> Screensaver settings
(e.g. the values I specified in the administrative templates are shown in
grey) but these settings are not the one applied. Instead, the settings
that are applied are the onces stored in the registry keys under
HKLM\Software\Policies\etc.

So my question is. Can an administrator just create registry keys in
HKLM\Software\Policies and they are processed by windows as normal
policies? The screensafer settings are defined as per User settings so I
am surprised by the fact that these per machine keys can override them ?

Can anyone shed some light into how these registry keys are processed by
Windows ?

Thanks a lot,
Jos.




.



Relevant Pages

  • Re: default setting storage
    ... But I can't find these settings in the registry. ... It has two places to look at: a place like all "normal" registry keys are located and four special keys: ... What GP application does is before applying policies, it clears the whole four keys described above and re-apply the policies over again. ...
    (microsoft.public.windows.group_policy)
  • Re: Come on MS guys -- There MUST be another answer to C00DCD11!!!
    ... Deleting any keys from the registry is a very bad idea. ... Troubleshooting Windows Media Player Error Messages ... Settings to no avail. ...
    (microsoft.public.windowsmedia.player)
  • Re: Removing "BagsMRU" from registry
    ... Type regedit in Start Run and delete all these keys. ... By default the Remember each folder's view settings option is enabled. ... The changes you make to a folder's view is automatically saved when you close the folder. ... Group Policy adds this entry to the ...
    (microsoft.public.windowsxp.general)
  • Re: Removing "BagsMRU" from registry
    ... Type regedit in Start Run and delete all these keys. ... By default the Remember each folder's view settings option is enabled. ... The changes you make to a folder's view is automatically saved when you close the folder. ... Group Policy adds this entry to the ...
    (microsoft.public.windowsxp.customize)
  • Re: need help finding registry keys
    ... Those are not Group Policy keys. ... I have written it in the form of a registry .reg file. ... This one stops editing of the Temporary Internet Files settings page. ...
    (microsoft.public.windowsxp.general)