SceCli Event 1202: Security Policies Were Propagated with Warning

SceCli event 1202 in the Application log: decode 0x534, 0x6fc, 0x2, 0x5, 0x4b8 and 0xd, turn on ExtensionDebugLevel, search winlogon.log, map GPOPath to a GPO with Get-GPO and fix the bad account, service or path.

Home › Guides › SceCli event 1202

Last updated 20 November 2026

Quick answer

SceCli event 1202 in the Application log means the security settings part of Group Policy (the Security Configuration client-side extension) hit an error. The event itself doesn't name the bad setting; the Win32 error code in its description tells you what kind of failure it was, and the extension's debug log tells you which account, service or path caused it.

Code in the eventMeaningUsual cause
0x534No mapping between account names and security IDs was doneAn account in User Rights Assignment or Restricted Groups can't be resolved to a SID: mistyped, deleted, or across a broken trust.
0x6fcThe trust relationship between the primary domain and the trusted domain failedSame troubleshooting as 0x534.
0x2The system cannot find the file specifiedAn account name that can't be resolved, typically in a Restricted Groups setting.
0x5Access deniedA policy sets permissions on a service but doesn't give the System account Full Control.
0x4b8An extended error has occurredGeneric; Microsoft points to its article on ESENT events 1000, 1202, 412 and 454 for known causes.
0xdThe data is invalidA file system security setting uses an environment variable the client doesn't have, such as %PROGRAMFILES(X86)%.

For every code the method is the same: turn on the extension's debug logging, refresh computer policy, read winlogon.log, find the cached template that holds the bad entry, map it to its GPO and fix the entry there.

What the event looks like

Microsoft's example from a domain controller:

Log Name: Application
Source: SceCli
Event ID: 1202
Level: Warning
Description:
Security policies were propagated with warning. 0x534 : No mapping between account names and security IDs was done.

Don't confuse it with event 1202 from DFS Replication, which is a different event about DFSR contacting a domain controller.

Step 1: turn on Security extension debug logging

Under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\{827D319E-6EAC-11D2-A4EA-00C04F79F83A} add the DWORD value ExtensionDebugLevel with data 2. Back up the key first. The same change from an elevated prompt:

reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\{827D319E-6EAC-11D2-A4EA-00C04F79F83A}" /v ExtensionDebugLevel /t REG_DWORD /d 2 /f

Then reproduce the failure by refreshing computer policy:

gpupdate /target:computer /force

This creates %SYSTEMROOT%\Security\Logs\winlogon.log.

0x534, 0x6fc and 0x2: an account that can't be resolved

  1. Find the problem account in the log:
    find /i "cannot find" %SYSTEMROOT%\security\logs\winlogon.log
    The output names it, for example Cannot find MichaelPeltier. Work out why it doesn't resolve: a typo, a deleted account, the wrong policy applying to this computer, or a trust problem.
  2. Find the cached template and the setting that hold it:
    find /i "MichaelPeltier" %SYSTEMROOT%\security\templates\policies\gpt*.*
    In Microsoft's example the hit is in GPT00002.INF on a line starting SeInteractiveLogonRight =, which is the user right shown as Logon locally.
  3. Open that cached template and find the line starting GPOPath=, for example GPOPath={6AC1786C-016F-11D2-945F-00C04FB984F9}\MACHINE. The GUID is the GPO.
  4. Get the GPO's friendly name on a DC or a server with the RSAT AD tools:
    Get-GPO -Guid 6AC1786C-016F-11D2-945F-00C04FB984F9
    That GUID returns DisplayName : Default Domain Controllers Policy.
  5. Edit that GPO and remove or replace the entry. For 0x2, look in the Restricted Groups section of the policy for the account.

If the account lives in a trusted domain and the trust is broken, the fix is the trust, not the policy. A computer that has lost its own secure channel shows other symptoms too; see the trust relationship between this workstation and the primary domain failed.

0x5: access denied on a service

Search the log for the object that couldn't be opened:

find /i "error opening" %SYSTEMROOT%\security\logs\winlogon.log

Microsoft's example is Error opening Dnscache (Dnscache is the DNS Client service). Find which cached template sets permissions on that service:

find /i "dnscache" %windir%\security\templates\policies\gpt*.*

The hit is a System Services line with a security descriptor, such as Dnscache,3,"D:AR(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;LA)". Map its GPOPath= to a GPO as above, then in that GPO's System Services section grant the System account Full Control on the service.

0xd: an unknown environment variable (with events 7016 and 1091)

When a file system security setting refers to an environment variable the client doesn't define, Windows logs a group of events:

EventWhereText
7016Microsoft-Windows-GroupPolicy/Operational (Vista and Windows Server 2008 and later)Completed Security Extension Processing in 20984 milliseconds. (Event XML: ErrorCode 1252, CSEExtensionName Security)
1091Application, source Userenv (Windows XP and Server 2003)The Group Policy client-side extension Security failed to log RSOP (Resultant Set of Policy) data. Look for any errors reported earlier by that extension.
1202Application, source SceCli (all versions)Security policies were propagated with warning. 0xd: The data is invalid.

With debug logging on, winlogon.log shows the variable:

Process GP template gpt0000x.inf.
Error 13: The data is invalid.
Error converting %PROGRAMFILES(X86)%\MyApplication.

Microsoft's example comes from a policy edited on 64-bit Windows with settings for a folder under C:\PROGRAM FILES (X86). The GPOPath line in the cached gpt0000x.inf tells you which GPO it is. The fix: move those settings into a new GPO at the same level and give it a WMI filter so it only applies to machines that have the variable. Microsoft's filter for this example (its text spells the class Win32_Envrionment; the WMI class is Win32_Environment):

Select * from Win32_Environment where Name = 'PROGRAMFILES(X86)'

Why the settings sometimes apply anyway

The Security extension works in two phases: it first reads every policy's settings into the security database, then applies them. The call for the last (highest-priority) policy runs both phases. A bad variable in any other policy makes Group Policy abort security processing, so the second phase never runs. If the bad variable is in the last policy, the extension skips the entry, applies everything else and still reports the error. So a 1202 with 0xd may or may not mean your security settings are missing.

0x534 on Windows Server 2008 R2 DCs: the WdiServiceHost false positive

Microsoft documents a case where DCs log 1202 with 0x534 every time security policy applies, and winlogon.log shows:

Configure WdiServiceHost.
Error 1332: No mapping between account names and security IDs was done.
Cannot find WdiServiceHost.

Editing any security setting in the Default Domain Controllers Policy with GPMC on Windows Server 2008 R2 (or from a Windows 7 or 2008 R2 member) rewrote the Profile system performance right without the NT Service\ prefix. Default:

SeSystemProfilePrivilege = *S-1-5-80-3139157870-2983391045-3678747466-658725712-1809340420,*S-1-5-32-544

After the edit:

SeSystemProfilePrivilege = *S-1-5-32-544,WdiServiceHost

Microsoft's workaround is to edit the policy's GPTTMPL.INF at %SystemRoot%\Sysvol\domain\Policies\{6AC1786C-016F-11D2-945F-00C04fB984F9}\MACHINE\Microsoft\Windows NT\SecEdit\ so the line reads:

SeSystemProfilePrivilege = *S-1-5-32-544,nt service\WdiServiceHost

NT Service\ goes after the comma and without a *. Run gpupdate /force on that DC and check the log again. The workaround has to be repeated after every security edit of that policy. This case doesn't stop the policy from applying, but you can't tell it from a real 0x534 problem by the event alone, so always check winlogon.log.

Related tools and guides

Look up SceCli 1202, Group Policy 7016 and Userenv 1091 in the Windows Event ID Lookup, copy the gpupdate /target:computer /force, Get-GPO -Guid and reg add ExtensionDebugLevel lines from the PowerShell Cheat Sheet, pull the account names out of winlogon.log cannot find lines with the Regex Tester, check the subnets of DCs that apply the Default Domain Controllers Policy with the IPv4 Subnet Calculator or IPv6 Subnet Calculator, and identify the network adapter vendor on a computer that logs 1202 with the MAC Vendor Lookup. Related guides: Group Policy events 1058 and 1030, Group Policy event 1006 (LDAP Bind function call failed), trust relationship failed and common AD replication errors.

Every AD replication error code with its cause and fix: common Active Directory replication errors.

FAQ

What does SceCli event 1202 mean?

The Security Configuration client-side extension, which applies the security settings in Group Policy, reported an error. The Win32 error code in the event description, such as 0x534 or 0x5, tells you the kind of failure; the extension's debug log tells you which entry caused it.

How do I fix 1202 with 0x534 (No mapping between account names and security IDs was done)?

An account in User Rights Assignment or Restricted Groups can't be resolved to a SID. Set ExtensionDebugLevel to 2, run gpupdate /target:computer /force, search winlogon.log for cannot find, then find the account in the cached gpt*.* templates and use the GPOPath GUID with Get-GPO to find the GPO to fix.

Where is winlogon.log?

In %SYSTEMROOT%\Security\Logs. It is created after you add the ExtensionDebugLevel DWORD with value 2 under the Security extension's GPExtensions key and refresh computer policy.

Is event 1202 with 0x534 on a Windows Server 2008 R2 DC harmless?

Sometimes. Microsoft documents a false positive where the WdiServiceHost account lost its NT Service prefix in the Default Domain Controllers Policy. That case doesn't stop policy applying, but the event looks the same as a real misconfiguration, so check winlogon.log.

Is SceCli 1202 the same as DFS Replication event 1202?

No. The SceCli event is about security policy in Group Policy. DFS Replication logs its own event 1202 when it can't contact a domain controller for its configuration.

Want the full kit?

Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.