|
|
|
date: Mon, 14 Apr 2008 12:49:27 -0700,
group: microsoft.public.platformsdk.security
back
Re: WMI missing security settings
Hi JH,
Thanks for your feedback.
Yes, I can reproduce this problem with the code.
In fact, the rsop (MMC snap-in and WMI class) shows the finally result view
of the GPOs (domain/OU/Local/etc.) applying. So the problem is if the
setting (for example the Guest Account Status) are "Not configured" in
every effective GPO, it will be hidden in the rsop view. The 4 items we
have retrieved with the script
(ClearTextPassword/PasswordComplexity/RequireLogonToChangePassword/ForceLogo
ffWhenHourExpire) are shown with the script is because they are configured
by the "Default Domain Policy". An evidence is if you run this script on a
workgroup machine, it will show nothing at all.
So this behavior -- show only 4 items in a domain member machine with
default setting - is expected.
The other properties are not shown is just because of these setting are not
configured in any GPO. Can you ensure these settings are configured with
rsop and/or gpmc?
In my reproduce, if setting the "Computer Configuration -> Windows Settings
-> Security Settings -> Local Policies ->> Security Options ->
Accounts:Guest account status" to "Enabled" on Domain GPO (this setting is
not work on local GPO), the EnableGuestAccount will be shown with the
script.
Hope this helps.
Best regards,
Jeffrey Tan
Microsoft Online Community Support
=========================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.
This posting is provided "AS IS" with no warranties, and confers no rights.
date: Wed, 16 Apr 2008 07:31:29 GMT
author: (Jeffrey Tan[MSFT])
Re: WMI missing security settings
Thanks for the explanation. You mentioned that EnableGuestAccount does
not work on local GPO. How should I find out if a setting works on local GPO
or ot? Is it true that none of the settings we retrieve from WMI
RSOP_SecuritySettings
works on local GPO?
""Jeffrey Tan[MSFT]"" wrote in message
news:%23i0mpP5nIHA.4932@TK2MSFTNGHUB02.phx.gbl...
> Hi JH,
>
> Thanks for your feedback.
>
> Yes, I can reproduce this problem with the code.
>
> In fact, the rsop (MMC snap-in and WMI class) shows the finally result
> view
> of the GPOs (domain/OU/Local/etc.) applying. So the problem is if the
> setting (for example the Guest Account Status) are "Not configured" in
> every effective GPO, it will be hidden in the rsop view. The 4 items we
> have retrieved with the script
> (ClearTextPassword/PasswordComplexity/RequireLogonToChangePassword/ForceLogo
> ffWhenHourExpire) are shown with the script is because they are configured
> by the "Default Domain Policy". An evidence is if you run this script on a
> workgroup machine, it will show nothing at all.
>
> So this behavior -- show only 4 items in a domain member machine with
> default setting - is expected.
>
> The other properties are not shown is just because of these setting are
> not
> configured in any GPO. Can you ensure these settings are configured with
> rsop and/or gpmc?
>
> In my reproduce, if setting the "Computer Configuration -> Windows
> Settings
> -> Security Settings -> Local Policies ->> Security Options ->
> Accounts:Guest account status" to "Enabled" on Domain GPO (this setting is
> not work on local GPO), the EnableGuestAccount will be shown with the
> script.
>
> Hope this helps.
>
> Best regards,
> Jeffrey Tan
> Microsoft Online Community Support
> =========================================
> Delighting our customers is our #1 priority. We welcome your comments and
> suggestions about how we can improve the support we provide to you. Please
> feel free to let my manager know what you think of the level of service
> provided. You can send feedback directly to my manager at:
> msdnmg@microsoft.com.
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
date: Wed, 16 Apr 2008 16:04:23 -0700
author: JH am
Re: WMI missing security settings
As a matter of fact, I'm not sure if I understand this:
> Accounts:Guest account status" to "Enabled" on Domain GPO (this setting is
> not work on local GPO),
Because when I enable Guest account from MMC, the local Guest user is
indeed enabled, meaning my enabling it was effective. But WMI still does
not show the setting. Am I missing something?
> Yes, I can reproduce this problem with the code.
>
> In fact, the rsop (MMC snap-in and WMI class) shows the finally result
> view
> of the GPOs (domain/OU/Local/etc.) applying. So the problem is if the
> setting (for example the Guest Account Status) are "Not configured" in
> every effective GPO, it will be hidden in the rsop view. The 4 items we
> have retrieved with the script
> (ClearTextPassword/PasswordComplexity/RequireLogonToChangePassword/ForceLogo
> ffWhenHourExpire) are shown with the script is because they are configured
> by the "Default Domain Policy". An evidence is if you run this script on a
> workgroup machine, it will show nothing at all.
>
> So this behavior -- show only 4 items in a domain member machine with
> default setting - is expected.
>
> The other properties are not shown is just because of these setting are
> not
> configured in any GPO. Can you ensure these settings are configured with
> rsop and/or gpmc?
>
> In my reproduce, if setting the "Computer Configuration -> Windows
> Settings
> -> Security Settings -> Local Policies ->> Security Options ->
> Accounts:Guest account status" to "Enabled" on Domain GPO (this setting is
> not work on local GPO), the EnableGuestAccount will be shown with the
> script.
>
> Hope this helps.
date: Wed, 16 Apr 2008 16:10:56 -0700
author: JH am
Re: WMI missing security settings
Hi JH,
Thanks for your feedback.
Oh, it seems that our internal support tool missed this reply again.
Yes, I believe the RSoP_x WMI settings will only account for the group
security policy instead of the local policy. Yes, the SECEDIT command-line
tool should be used to modify the Group Policy immediately. See the KB
below:
"Using SECEDIT to Force a Group Policy Refresh Immediately"
http://support.microsoft.com/kb/227302
Thanks.
Best regards,
Jeffrey Tan
Microsoft Online Community Support
=========================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.
This posting is provided "AS IS" with no warranties, and confers no rights.
"JH" <jh_ng@newsgroup.nospam> wrote in message
news:enjT7%23KpIHA.4904@TK2MSFTNGP03.phx.gbl...
> Jeffery,
>
> Thanks for the reply. If I understand you correctly, all RSoP_x WMI
> settings do not
> consider local settings? If this is the case, secedit should be the right
> way of retrieving and
> modifying these values? Or are there any other ways of doing this?
>
> The link was also helpful.
>
> "Jeffrey Tan[MSFT]" wrote in message
> news:%23qFAX1EpIHA.2208@TK2MSFTNGP04.phx.gbl...
>> The statement "this setting is not work on local GPO" in my last mail is
>> not very exactly. Technically speaking, the items under "Security
>> Settings"
>> node in "Local Group Policy Editor" (Run "gpedit.msc") is not a real part
>> of Local GPO. It's just a combined UI to set "Local Group Policy" and
>> "Local
>> Security Settings" together. You can see the different between UI of
>> setting them in domain GPO and "local GPO". This is the UI for setting
>> domain GPO
>> (Please note the "Define this policy setting" check box): (see attached
>> gp1.jpg)
>>
>> This is the UI for setting "Local GPO" (It only has 2 states of "Enabled"
>> and "Disabled" but cannot be "Not configured"): (see attached gp2.jpg)
>>
>> So that's the reason of security settings are not reflected in RSoP even
>> you set them in local GPO. The settings are effective, but not belong to
>> any "Group Policy Object". It's a little complicate. Design as this is
>> because the local policy and domain group policy are totally different
>> things in win2k, and we migrate them together in win2k3.
>>
>> About the different outputs between MMC/WMI/secedit, you can refer to
>> this KB article: http://support.microsoft.com/kb/257922/en-us
>
>
date: Thu, 24 Apr 2008 11:27:53 +0800
author: Jeffrey Tan[MSFT]
|
|