Symptoms
Consider the following scenario:
-
On a computer that is running Windows Server 2008 R2 or Windows 7, you use the Group Policy Management Editor to manage a Group Policy object (GPO).
-
Some changes are made to the User Rights Assignment settings in the GPO, and these settings have a per-service SID defined.
-
You are exporting and importing a policy that has user rights assignment setting through the Group Policy Management Console (GPMC).
-
You are running Group Policy Change Management using Advanced Group Policy Management (AGPM).
In this scenario, you may encounter the following problems when the resulting GPO is applied:
-
The following SceCli 1202 event is added to the Application log:
-
Some applications and some services do not start. These applications and these services use the per-service SID to configure some security settings.
The following are some more specific examples of the problems:
-
Some services cannot start on a domain controller that is running Windows Server 2008 R2. An example of a service that cannot start is the Diagnostic System Host service.
-
Some SQL Server functions such as the functions for replication do not work when the functions try to perform account changes, or when the functions try to perform changes to the folder permission settings.
-
Some functions in Internet Information Services (IIS) 7.5 do not work.
Cause
When the Group Policy Management Editor changes settings under User Rights Assignment, it translates per-service SIDs to the service names. For example, the "WdiServiceHost" service name.
The Group Policy Management Editor does not add the "NT Service" or "IIS AppPool" prefix to the service name when it performs the lookup in the internal “NT Service” domain or the internal "IIS AppPool" domain. When the Group Policy Management Editor writes the previously parsed name back to the GptTmpl.inf file, the Group Policy Management Editor tries to resolve only the service name against the default Active Directory domain. However, this attempt fails. Additionally, the string of the service name is written to the GptTmpl.inf file instead of the per-service SID. This behavior replaces the per-service SID with the service name. When the next policy update occurs, the update tries to resolve the service name to a SID. However, the update assumes the service name is a user or group account. Therefore, this behavior fails, and you receive the following error message:0x534 "No mapping between account names and security IDs was done"
Resolution
Hotfix information
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, your computer must be running Windows 7 or Windows Server 2008 R2.
Installation instruction
The hotfix does not resolve this problem automatically. After you install this hotfix, you must manually append the corresponding service prefix one time. To do this, use the procedure in the "Workaround" section.
Restart requirement
You must restart the computer after you apply this hotfix.
Hotfix replacement information
This hotfix replace a previously released hotfix 974639
974639 SceCli 1202 events are logged every time Computer Group Policy settings are refreshed on a computer that is running Windows Server 2008 R2 or Windows 7
File information
The English (United States) version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows 7 and Windows Server 2008 R2 file information notes
Important Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 7/Windows Server 2008 R2" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
-
The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 R2 and for Windows 7" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintaining the state of the updated component. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows 7
File name |
File version |
File size |
Date |
Time |
Platform |
---|---|---|---|---|---|
Scecli.dll |
6.1.7600.20617 |
175,616 |
14-Jan-2010 |
07:37 |
x86 |
Sceregvl.inf |
Not Applicable |
14,961 |
14-Jan-2010 |
03:59 |
Not Applicable |
Secrecs.inf |
Not Applicable |
9,160 |
14-Jan-2010 |
03:59 |
Not Applicable |
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File name |
File version |
File size |
Date |
Time |
Platform |
---|---|---|---|---|---|
Scecli.dll |
6.1.7600.20617 |
232,960 |
14-Jan-2010 |
08:15 |
x64 |
Sceregvl.inf |
Not Applicable |
14,961 |
14-Jan-2010 |
04:19 |
Not Applicable |
Secrecs.inf |
Not Applicable |
9,160 |
14-Jan-2010 |
04:19 |
Not Applicable |
Scecli.dll |
6.1.7600.20617 |
175,616 |
14-Jan-2010 |
07:37 |
x86 |
For all supported IA-64-based versions of Windows Server 2008 R2
File name |
File version |
File size |
Date |
Time |
Platform |
---|---|---|---|---|---|
Scecli.dll |
6.1.7600.20617 |
474,112 |
14-Jan-2010 |
06:58 |
IA-64 |
Sceregvl.inf |
Not Applicable |
14,961 |
14-Jan-2010 |
03:31 |
Not Applicable |
Secrecs.inf |
Not Applicable |
9,160 |
14-Jan-2010 |
03:31 |
Not Applicable |
Scecli.dll |
6.1.7600.20617 |
175,616 |
14-Jan-2010 |
07:37 |
x86 |
Workaround
To work around this issue, add the prefix to the service accounts manually by editing the GptTmpl.inf file.
-
For the IIS identities, add the "IIS AppPool\" prefix. The following are some samples of an IIS identity:
-
DefaultAppPool
-
Classic .NET AppPool
-
-
For the Windows service names and for the SQL Server service names, add the “NT service" prefix. The following are some samples of a Windows service name and of a SQL Server service name:
-
WdiServiceHost
-
MSSQLSERVER
-
MSSQLFDLauncher
-
Note We recommend that you install this hotfix to resolve this issue.
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
More Information
This hotfix resolves this issue for the "IIS AppPool\" prefix. If you open the GptTmpl.inf file in the following related Group Policy folder, you find some service names instead of SIDs:
%SYSTEMROOT%\SYSVOL\<domainname>\Policies\<Unique ID>\Machine\Microsoft\Windows NT\SecEdit
The following is an example of some unresolved service names that are found in the GptTmpl.inf file: [Privilege Rights] SeAssignPrimaryTokenPrivilege = WdiServiceHost,*S-1-5-20,*S-1-5-19,DefaultAppPool,Classic .NET AppPool,MSSQLSERVER,MSSQLFDLauncher SeChangeNotifyPrivilege = 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- 0,MSSQLSERVER,MSSQLFDLauncher SeAuditPrivilege = DefaultAppPool,*S-1-5-19,*S-1-5-20,Classic .NET AppPool For more information, click the following article number to view the article in the Microsoft Knowledge Base:975566 SceCli 1202 events are logged every time Computer Group Policy settings are refreshed on a computer that is running Windows Server 2008 or Windows Vista For more information about software update terminology, 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
Additional file information for Windows 7 and for Windows Server 2008 R2
Additional files for all supported x86-based versions of Windows 7
File name |
Update.mum |
File version |
Not Applicable |
File size |
1,674 |
Date (UTC) |
15-Jan-2010 |
Time (UTC) |
00:05 |
Platform |
Not Applicable |
File name |
X86_4b23d6171b29fe190f750dbfdff5a3c8_31bf3856ad364e35_6.1.7600.20617_none_c6c85e7ef28644ad.manifest |
File version |
Not Applicable |
File size |
733 |
Date (UTC) |
15-Jan-2010 |
Time (UTC) |
00:05 |
Platform |
Not Applicable |
File name |
X86_microsoft-windows-s..urationengineclient_31bf3856ad364e35_6.1.7600.20617_none_38bb891e53520db2.manifest |
File version |
Not Applicable |
File size |
70,644 |
Date (UTC) |
14-Jan-2010 |
Time (UTC) |
08:05 |
Platform |
Not Applicable |
Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File name |
Amd64_8331c794b0ea1624f2d703935632f539_31bf3856ad364e35_6.1.7600.20617_none_6f4a74113706c5bf.manifest |
File version |
Not Applicable |
File size |
737 |
Date (UTC) |
15-Jan-2010 |
Time (UTC) |
00:05 |
Platform |
Not Applicable |
File name |
Amd64_a429a62f5dfe97d159700bc70cb9194b_31bf3856ad364e35_6.1.7600.20617_none_f8dbb49ab59a5dd2.manifest |
File version |
Not Applicable |
File size |
737 |
Date (UTC) |
15-Jan-2010 |
Time (UTC) |
00:05 |
Platform |
Not Applicable |
File name |
Amd64_microsoft-windows-s..urationengineclient_31bf3856ad364e35_6.1.7600.20617_none_94da24a20baf7ee8.manifest |
File version |
Not Applicable |
File size |
70,648 |
Date (UTC) |
14-Jan-2010 |
Time (UTC) |
08:53 |
Platform |
Not Applicable |
File name |
Update.mum |
File version |
Not Applicable |
File size |
2,328 |
Date (UTC) |
15-Jan-2010 |
Time (UTC) |
00:05 |
Platform |
Not Applicable |
File name |
Wow64_microsoft-windows-s..urationengineclient_31bf3856ad364e35_6.1.7600.20617_none_9f2ecef4401040e3.manifest |
File version |
Not Applicable |
File size |
68,202 |
Date (UTC) |
14-Jan-2010 |
Time (UTC) |
07:52 |
Platform |
Not Applicable |
Additional files for all supported IA-64-based versions of Windows Server 2008 R2
File name |
Ia64_318432fa0b83986063b79144bea75ebd_31bf3856ad364e35_6.1.7600.20617_none_5a784932fdc5c7f2.manifest |
File version |
Not Applicable |
File size |
735 |
Date (UTC) |
15-Jan-2010 |
Time (UTC) |
00:05 |
Platform |
Not Applicable |
File name |
Ia64_a429a62f5dfe97d159700bc70cb9194b_31bf3856ad364e35_6.1.7600.20617_none_9cbebd0cfd3af598.manifest |
File version |
Not Applicable |
File size |
736 |
Date (UTC) |
15-Jan-2010 |
Time (UTC) |
00:05 |
Platform |
Not Applicable |
File name |
Ia64_microsoft-windows-s..urationengineclient_31bf3856ad364e35_6.1.7600.20617_none_38bd2d14535016ae.manifest |
File version |
Not Applicable |
File size |
70,646 |
Date (UTC) |
14-Jan-2010 |
Time (UTC) |
08:33 |
Platform |
Not Applicable |
File name |
Update.mum |
File version |
Not Applicable |
File size |
1,684 |
Date (UTC) |
15-Jan-2010 |
Time (UTC) |
00:05 |
Platform |
Not Applicable |
File name |
Wow64_microsoft-windows-s..urationengineclient_31bf3856ad364e35_6.1.7600.20617_none_9f2ecef4401040e3.manifest |
File version |
Not Applicable |
File size |
68,202 |
Date (UTC) |
14-Jan-2010 |
Time (UTC) |
07:52 |
Platform |
Not Applicable |