Microsoft KB Archive/821546

= Overview of the &quot;Impersonate a Client After Authentication&quot; and the &quot;Create Global Objects&quot; Security Settings (821546.KB.EN-US.2.2) =

Article ID: 821546

Article Last Modified on 1/30/2007

-

APPLIES TO


 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows 2000 Service Pack 4

-





IN THIS TASK
 SUMMARY 

The &quot;Impersonate a Client AfterAuthentication&quot; User Right (SeImpersonatePrivilege)

 

Troubleshooting

  

The &quot;Create Global Objects&quot; User Right (SeCreateGlobalPrivilege)

 

Troubleshooting

 </li> REFERENCES</li></ul>

<div class="summary_section">

SUMMARY
This article discusses the &quot;Impersonate a client after authentication&quot; and &quot;Create global objects&quot; user rights. These new security settings were first introduced in Windows 2000 Service Pack 4 (SP4) and help to increase security in Windows 2000. This article describes the new security settings and also contains information about some known issues that may occur and how to troubleshoot them.

Important Consider the following issues when you apply the &quot;Impersonate a client after authentication&quot; and &quot;Create global objects&quot; user rights by using the Default Domain Policy or Group Policy:
 * The &quot;Impersonate a client after authentication&quot; and &quot;Create global objects&quot; user rights only apply to computers that are running Windows 2000 SP4 or later.
 * You can use the Default Domain Policy or Group Policy to apply the &quot;Impersonate a client after authentication&quot; and &quot;Create global objects&quot; security settings to computers in your environment if the computers are running Windows 2000 Service Pack 2 (SP2) or later. Note that although you can deploy the security settings in an environment that contains Windows 2000 SP2 and Windows 2000 Service Pack 3 (SP3)-based computers, the security settings only apply to Windows 2000 SP4-based computers. The settings do not apply to computers that are running either Windows 2000 SP2 or Windows 2000 SP3.
 * Do not use the Default Domain Policy or another Group Policy to apply either or both of these new user rights to computers that are running Windows 2000 or Windows 2000 Service Pack 1 (SP1). Note that if you use the Default Domain Policy or a different Group Policy to apply these user rights to computers that are running Windows 2000 or Windows 2000 Service Pack 1 (SP1), the propagation of the policy's security settings fails. That is, the policy is not propagated to the Windows 2000 or Windows 2000 SP1 computers and user rights are not displayed in the Local Security Settings snap-in. The following scenarios may occur if you use the use the Default Domain Policy or another Group Policy to apply either or both of these new user rights to computers that are running Windows 2000 or Windows 2000 Service Pack 1 (SP1):
 * Additional security policy settings that are located in the same Group Policy Object and that target Windows 2000 or Windows 2000 Service Pack 1 (SP1) devices are not propagated to the destination devices.
 * Additional security policy settings that are applied by using other Group Policies along the SDOU (Site, Domain, Organizational Unit) path to the Windows 2000 or the Windows 2000 Service Pack 1 (SP1) devices that will be propagated.
 * If either or both of these new security settings are targeted at Windows 2000 or Windows 2000 Service Pack 1 (SP1) devices, the local MMC security snap-in on those devices cannot correctly display any security settings. However, all security settings that are applied to the targeted devices from other domain-side Group Policy Objects (that do not contain the new settings) will still apply to those targeted devices.
 * Similarly, you can use the Default Domain Controller security policy to apply the &quot;Impersonate a client after authentication&quot; and &quot;Create global objects&quot; security settings to domain controllers in your environment if the domain controllers are running Windows 2000 SP2 or later. Note that although you can deploy the security settings in an environment that contains Windows 2000 SP2 and Windows 2000 SP3-based domain controllers, the security settings only apply to Windows 2000 SP4-based domain controllers. The settings do not apply to domain controllers that are running either Windows 2000 SP2 or Windows 2000 SP3.

back to the top

The &quot;Impersonate a Client AfterAuthentication&quot; User Right (SeImpersonatePrivilege)
The &quot;Impersonate a client after authentication&quot; user right (SeImpersonatePrivilege) is a Windows 2000 security setting that was first introduced in Windows 2000 SP4. By default, members of the device's local Administrators group and the device's local Service account are assigned the &quot;Impersonate a client after authentication&quot; user right. The following components also have this user right:
 * Services that are started by the Service Control Manager
 * Component Object Model (COM) servers that are started by the COM infrastructure and that are configured to run under a specific account

When you assign the &quot;Impersonate a client after authentication&quot; user right to a user, you permit programs that run on behalf of that user to impersonate a client. This security setting helps to prevent unauthorized servers from impersonating clients that connect to it through methods such as remote procedure calls (RPC) or named pipes. For more information about the SeImpersonatePrivilege function, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/aa375728.aspx

For more information about Impersonate functions (such as ImpersonateClient, ImpersonateLoggedOnUser, and ImpersonateNamedPipeClient), search for SeImpersonatePrivilege in the Microsoft Platform SDK documentation. To view this documentation, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/aa375728.aspx

back to the top

Troubleshooting
 Some Programs That Use Impersonation May Not Work Correctly After You Install Windows 2000 SP4

After you install Windows 2000 Service Pack 4 (SP4) on your computer, some programs that use impersonation may not work correctly.

This issue may occur in situations when the user account that is used to run the program does not have the &quot;Impersonate a client after authentication&quot; user right.

On computers that are running Windows 2000 Service Pack 3 (SP3) and earlier, a user right is not required to impersonate a client. Therefore, some programs that use impersonation may not work correctly after you install Windows 2000 SP4.

To resolve this issue, identify the user account that is used to run the program, and then assign the &quot;Impersonate a client after authentication&quot; user right to that user account. To do this, follow these steps: <ol> Click Start, point to Programs, point to Administrative Tools, and then click Local Security Policy.</li> Expand Local Policies, and then click User Rights Assignment.</li> In the right pane, double-click Impersonate a client after authentication.</li> In the Local Security Policy Setting dialog box, click Add.</li> In the Select Users or Group dialog box, click the user account that you want to add, click Add, and then click OK.</li> Click OK.</li></ol>

Note To troubleshoot situations where you cannot determine the user account that is used to run the program, and where you want to verify that the symptoms that you are experiencing are caused by the user right, assign the &quot;Impersonate a client after authentication&quot; user right to the Everyone group, and then start the program. If the program works correctly, the issue that you are experiencing may be caused by the new security setting.</li> You Receive an &quot;Error While Trying to Run Project&quot; Error Message When You Debug a Web Application in Visual Studio .NET

For additional information about how to resolve this issue, click the following article number to view the article in the Microsoft Knowledge Base:

821255 &quot;Error While Trying to Run Project&quot; Error Message When You Debug a Web Application in Visual Studio .NET

</li></ul>

back to the top

The &quot;Create Global Objects&quot; User Right (SeCreateGlobalPrivilege)
The &quot;Create global objects&quot; user right (SeCreateGlobalPrivilege) is a Windows 2000 security setting that was first introduced in Windows 2000 SP4. The user right is required for a user account to create global objects in a Terminal Services session. Note that users can still create session-specific objects without being assigned this user right. By default, members of the Administrators group, the System account, and Services that are started by the Service Control Manager are assigned the &quot;Create global objects&quot; user right.

back to the top

Troubleshooting
 Some Programs May Not Work Correctly After You Install Windows 2000 SP4

After you install Windows 2000 Service Pack 4 (SP4) on your computer, some programs may not work correctly. This issue may occur in situations when the user account that is used to run the program does not have the &quot;Create global objects&quot; user right.

To resolve this issue, identify the user account that is used to run the program, and then assign the &quot;Create global objects&quot; user right to that user account. To do this, follow these steps: <ol> Click Start, point to Programs, point to Administrative Tools, and then click Local Security Policy.</li> Expand Local Policies, and then click User Rights Assignment.</li> In the right pane, double-click Create global objects.</li> In the Local Security Policy Setting dialog box, click Add.</li> <li>In the Select Users or Group dialog box, click the user account that you want to add, click Add, and then click OK.</li> <li>Click OK.</li></ol>

Note To troubleshoot situations where you cannot determine the user account that is used to run the program and where you want to verify that the symptoms that you are experiencing are caused by the user right, assign the &quot;Create global objects&quot;&quot; user right to the Everyone group, and then start the program. If the program works correctly, the issue that you are experiencing may be caused by the new security setting.</li> <li>You Receive a &quot;Not Enough Memory&quot; Error Message When You Search for Clips in an Office XP Document in a Terminal Services Session

For additional information about this issue, click the following article number to view the article in the Microsoft Knowledge Base:

821257 &quot;Not Enough Memory&quot; Error Message When You Search for Clips in an Office XP Document in a Terminal Services Session

</li> <li>Computer Stops Responding (Hangs) When You Restart a Windows 2000 Server-Based Computer After You Install McAfee Parental Control

For additional information about this issue, click the following article number to view the article in the Microsoft Knowledge Base:

823043 Windows 2000 Server-Based Computer Stops Responding When You Restart After You Install McAfee Parental Controls

</li></ul>

back to the top

<div class="references_section">