Link to home
Start Free TrialLog in
Avatar of Garry Shape
Garry ShapeFlag for United States of America

asked on

Red X on a GPO in RSOP

I am noticing when I run rsop.lmsc I get warning symbols for Computer and  User section.

When I go to "Properties" to see what's going on and click on Computer Properties, I show this first initial message in the tab:

User generated image
I went further into RSOP.MSC to Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment and saw a red X on Log on as a service GPO.
User generated image
I'm not sure what is causing the error or how to trace from there.

I'm also showing red X's in many other GPOs but there aren't any explanations as to why or how to resolve.
Avatar of John
John
Flag of Canada image

Have you installed the snap-in properly?

https://support.microsoft.com/en-ca/kb/323276

And are you using Server 2008 or 2008 R2?

(I just ran it in Windows 8 and only have Server 2012 at my disposal).
Avatar of Garry Shape

ASKER

it is 2008 r2 I'm running rsop from Windows 7 on my local system
Did you install the Microsoft Administration Tools for Server 2008 on your Windows 7 machine?

Here is a link to the tools

https://www.microsoft.com/en-us/download/details.aspx?id=7887
I think so, I tried to download and install just now and got:
Update for Windows (KB958830) is already installed on this computer.
Follow the article above all the way down.

1. You can only have one copy of SAT on the computer at one time. Perhaps uninstall the package, restart and install the current download again.

2. You need to enable the feature you want in Windows Features (in Programs and Features).
I already have RSAT tools installed and the feature enabled
I am not sure why they do not work. Have you tried RSOP directory on the server?
You ARE using Windows 7 Pro or higher ?   Yes?   And you used the x86 or x64 install package for your system?
Yes I have all the tools that come from the RSAT install/features. Have Group Policy Management, Active Directory, all that stuff.
The issue I have here is tracing GPO issues that I am finding via rsop.msc
There is a Hotfix available for this issue

https://support.microsoft.com/en-us/kb/2575866

Here is a general article on avoiding conflicts with GPO

http://www.techrepublic.com/article/solutionbase-check-group-policy-assignment-with-rsop/5165777/

Here is an EE Solution (although older and for Server 2003)

https://www.experts-exchange.com/questions/21982476/rsop-msc-shows-some-group-policies-will-not-apply-in-Windows-XP.html

Please let us know. Thanks
The event log has a corresponding error:

Log Name:      Application
Source:        SceCli
Date:          6/20/2015 9:31:47 PM
Event ID:      1202
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      PC0477.domain.com
Description:
Security policies were propagated with warning. 0x534 : No mapping between account names and security IDs was done.

Advanced help for this problem is available on http://support.microsoft.com. Query for "troubleshooting 1202 events".

Error 0x534 occurs when a user account in one or more Group Policy objects (GPOs) could not be resolved to a SID.  This error is possibly caused by a mistyped or deleted user account referenced in either the User Rights or Restricted Groups branch of a GPO.  To resolve this event, contact an administrator in the domain to perform the following actions:

1.      Identify accounts that could not be resolved to a SID:

From the command prompt, type: FIND /I "Cannot find"  %SYSTEMROOT%\Security\Logs\winlogon.log

The string following "Cannot find" in the FIND output identifies the problem account names.

Example: Cannot find JohnDough.

In this case, the SID for username "JohnDough" could not be determined. This most likely occurs because the account was deleted, renamed, or is spelled differently (e.g. "JohnDoe").

2.      Use RSoP to identify the specific User Rights, Restricted Groups, and Source GPOs that contain the problem accounts:

a.      Start -> Run -> RSoP.msc
b.      Review the results for Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment and Computer Configuration\Windows Settings\Security Settings\Local Policies\Restricted Groups for any errors flagged with a red X.
c.      For any User Right or Restricted Group marked with a red X, the corresponding GPO that contains the problem policy setting is listed under the column entitled "Source GPO". Note the specific User Rights, Restricted Groups and containing Source GPOs that are generating errors.

3.      Remove unresolved accounts from Group Policy

a.      Start -> Run -> MMC.EXE
b.      From the File menu select "Add/Remove Snap-in..."
c.      From the "Add/Remove Snap-in" dialog box select "Add..."
d.      In the "Add Standalone Snap-in" dialog box select "Group Policy" and click "Add"
e.      In the "Select Group Policy Object" dialog box click the "Browse" button.
f.      On the "Browse for a Group Policy Object" dialog box choose the "All" tab
g.      For each source GPO identified in step 2, correct the specific User Rights or Restricted Groups that were flagged with a red X in step 2. These User Rights or Restricted Groups can be corrected by removing or correcting any references to the problem accounts that were identified in step 1.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="SceCli" />
    <EventID Qualifiers="32768">1202</EventID>
    <Level>3</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2015-06-21T02:31:47.000000000Z" />
    <EventRecordID>36663</EventRecordID>
    <Channel>Application</Channel>
    <Computer>PC0477.domain.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data>0x534 : No mapping between account names and security IDs was done.

Advanced help for this problem is available on http://support.microsoft.com. Query for "troubleshooting 1202 events".

Error 0x534 occurs when a user account in one or more Group Policy objects (GPOs) could not be resolved to a SID.  This error is possibly caused by a mistyped or deleted user account referenced in either the User Rights or Restricted Groups branch of a GPO.  To resolve this event, contact an administrator in the domain to perform the following actions:

1.      Identify accounts that could not be resolved to a SID:

From the command prompt, type: FIND /I "Cannot find"  %SYSTEMROOT%\Security\Logs\winlogon.log

The string following "Cannot find" in the FIND output identifies the problem account names.

Example: Cannot find JohnDough.

In this case, the SID for username "JohnDough" could not be determined. This most likely occurs because the account was deleted, renamed, or is spelled differently (e.g. "JohnDoe").

2.      Use RSoP to identify the specific User Rights, Restricted Groups, and Source GPOs that contain the problem accounts:

a.      Start -&gt; Run -&gt; RSoP.msc
b.      Review the results for Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment and Computer Configuration\Windows Settings\Security Settings\Local Policies\Restricted Groups for any errors flagged with a red X.
c.      For any User Right or Restricted Group marked with a red X, the corresponding GPO that contains the problem policy setting is listed under the column entitled "Source GPO". Note the specific User Rights, Restricted Groups and containing Source GPOs that are generating errors.

3.      Remove unresolved accounts from Group Policy

a.      Start -&gt; Run -&gt; MMC.EXE
b.      From the File menu select "Add/Remove Snap-in..."
c.      From the "Add/Remove Snap-in" dialog box select "Add..."
d.      In the "Add Standalone Snap-in" dialog box select "Group Policy" and click "Add"
e.      In the "Select Group Policy Object" dialog box click the "Browse" button.
f.      On the "Browse for a Group Policy Object" dialog box choose the "All" tab
g.      For each source GPO identified in step 2, correct the specific User Rights or Restricted Groups that were flagged with a red X in step 2. These User Rights or Restricted Groups can be corrected by removing or correcting any references to the problem accounts that were identified in step 1.</Data>
  </EventData>
</Event>
I run the command:

C:\>FIND /I "Cannot find"  %SYSTEMROOT%\Security\Logs\winlogon.log

Open in new window


And get output:

---------- C:\WINDOWS\SECURITY\LOGS\WINLOGON.LOG
        Cannot find IIS_WGP.
        Cannot find MSSQL$MICROSOFT##WID.

But I do see IIS_WGP in Active Directory. Hmmm....
Oh wait, no it's not. There's an IIS_WPG in AD, but not an IIS_WGP. lol. I guess somebody messed with something. Very strange, let me check further.
Ok yeah I traced it down to two accounts not existing in AD. I guess one was a typo and the other was a past account.
It would appear that this GPO doesn't validate names/groups typed in unless you "browse" for a name, so that is likely the case.
ASKER CERTIFIED SOLUTION
Avatar of Will Szymkowski
Will Szymkowski
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial