Symptoms

Consider the following scenario:

  • On a computer that is running Windows Server 2008 R2 or Windows 7, you use Group Policy Management Editor to manage a Group Policy object (GPO).

  • Many changes are made to the "User Rights Assignment" settings in the GPO and these settings have a per-service SID defined.

In this scenario, when the Group Policy is applied, you may experience the following problems:

  • A SceCli 1202 event is added into the Application event log:The following is an example of a SceCli 1202 event log entry:

  • Some applications or services may not start. These applications or services use the per-service SID to configure security settings.For example:

    1. You install Active Directory Domain Services on a Windows Server 2008 R2-based member server.

    2. You make a change to the "User Rights Assignment" setting in a GPO from a computer that is running Windows Server 2008 R2 or Windows 7.

    3. This GPO is applied to the domain controller that is running Windows Server 2008 R2.

    In this situation, you encounter the issue. Some services, such as the "Diagnostic System Host" service cannot start because of the issue.

Cause

When the Group Policy Management Editor modifies settings under User Rights Assignment, it translates per-service SIDs to the service names. For example, the "WdiSystemHost" service name.The Group Policy Management Editor does not add the prefix "NT Service" to the service name to perform the lookup in the internal “NT Service” domain. When the Group Policy Management Editor writes the previously parsed name back into the GptTmpl.inf file, it tries to resolve only the "WdiSystemHost" name against the default Active Directory domain. However, this attempt fails. Additionally, the "WdiSystemHost" string is written to GptTmpl.inf file instead of the SID. This behavior replaces the per-service SID with the service name. When the next policy refresh occurs, the refresh tries to resolve the service name to a SID as if it were a user or group account. However, this fails together with the error 0x534 "No mapping between account names and security IDs was done."

Resolution

Note The hotfix does not automatically resolve this problem. After you apply this hotfix, you must manually append "NT SERVICE\" directly in the GptTmpl.inf file. For example, you must replace "WdiSystemHost" with "NT SERVICE\WdiSystemHost" by using the Local Group Policy Editor. A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix. Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=supportNote The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, the computer must be running one of the following operating systems:

  • Windows 7

  • Windows Server 2008 R2

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfix.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

For all supported x86-based versions of Windows 7

File name

File version

File size

Date

Time

Platform

Scecli.dll

6.1.7600.20527

175,616

15-Sep-2009

05:59

x86

Sceregvl.inf

Not Applicable

14,961

15-Sep-2009

02:18

Not Applicable

Secrecs.inf

Not Applicable

9,160

15-Sep-2009

02:18

Not Applicable

For all supported Itanium-based versions of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Scecli.dll

6.1.7600.20527

473,088

15-Sep-2009

04:56

IA-64

Sceregvl.inf

Not Applicable

14,961

15-Sep-2009

01:51

Not Applicable

Secrecs.inf

Not Applicable

9,160

15-Sep-2009

01:51

Not Applicable

File name

File version

File size

Date

Time

Platform

Scecli.dll

6.1.7600.20527

175,616

15-Sep-2009

05:59

x86

For all supported x64-based versions of Windows Server 2008 R2 and of Windows 7

File name

File version

File size

Date

Time

Platform

Scecli.dll

6.1.7600.20527

232,448

15-Sep-2009

06:38

x64

Sceregvl.inf

Not Applicable

14,961

15-Sep-2009

02:25

Not Applicable

Secrecs.inf

Not Applicable

9,160

15-Sep-2009

02:25

Not Applicable

File name

File version

File size

Date

Time

Platform

Scecli.dll

6.1.7600.20527

175,616

15-Sep-2009

05:59

x86

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

After the issue occurs, the following error is added to the Winlogon.log file:

Error 1332: No mapping between account names and security IDs was done. Cannot find <service name>.

Note The Winlogon.log file is located in the following folder:

%windir%\security\logsIf you open the GptTmpl.inf file in the following related Group Policy folder, you find some SQL service names:

%SYSTEMROOT%\SYSVOL\<domainname.com>\Policies\<Unique ID>\Machine\Microsoft\Windows NT\SecEditThe following is an example of the WDI service names that are found in the GptTmpl.inf file:

[Privilege Rights]SeAssignPrimaryTokenPrivilege = WdiServiceHost,*S-1-5-20,*S-1-5-19SeChangeNotifyPrivilege = WdiServiceHost,*S-1-5-32-554,*S-1-5-11,*S-1-5-32-544,*S-1-5-20,*S-1-5-19,*S-1-1- 0Note The hotfix does not automatically resolve this problem. After you apply this hotfix, you must manually append "NT SERVICE\" directly in the GptTmpl.inf file. For example, you must replace "WdiSystemHost" with "NT SERVICE\WdiSystemHost" by using the Local Group Policy Editor.For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional file information for Windows Server 2008 R2 and for Windows 7

Additional files for all supported x86-based versions of Windows 7

File name

File version

File size

Date

Time

Platform

Package_for_kb974639_rtm~31bf3856ad364e35~x86~~6.1.1.0.mum

Not Applicable

1,947

15-Sep-2009

13:35

Not Applicable

X86_microsoft-windows-s..urationengineclient_31bf3856ad364e35_6.1.7600.20527_none_38b0b74c535a2c7c.manifest

Not Applicable

70,644

15-Sep-2009

06:32

Not Applicable

Additional files for all supported Itanium-based versions of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Ia64_microsoft-windows-s..urationengineclient_31bf3856ad364e35_6.1.7600.20527_none_38b25b4253583578.manifest

Not Applicable

70,646

15-Sep-2009

06:53

Not Applicable

Package_for_kb974639_rtm~31bf3856ad364e35~ia64~~6.1.1.0.mum

Not Applicable

1,958

15-Sep-2009

13:35

Not Applicable

Wow64_microsoft-windows-s..urationengineclient_31bf3856ad364e35_6.1.7600.20527_none_9f23fd2240185fad.manifest

Not Applicable

68,202

15-Sep-2009

06:16

Not Applicable

Additional files for all supported x64-based versions of Windows Server 2008 R2 and of Windows 7

File name

File version

File size

Date

Time

Platform

Amd64_microsoft-windows-s..urationengineclient_31bf3856ad364e35_6.1.7600.20527_none_94cf52d00bb79db2.manifest

Not Applicable

70,648

15-Sep-2009

08:50

Not Applicable

Package_for_kb974639_rtm~31bf3856ad364e35~amd64~~6.1.1.0.mum

Not Applicable

2,879

15-Sep-2009

13:35

Not Applicable

Wow64_microsoft-windows-s..urationengineclient_31bf3856ad364e35_6.1.7600.20527_none_9f23fd2240185fad.manifest

Not Applicable

68,202

15-Sep-2009

06:16

Not Applicable

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.