Microsoft KB Archive/247989
Article ID: 247989
Article Last Modified on 3/2/2007
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Datacenter Server
This article was previously published under Q247989
When you attempt to connect to a Microsoft Windows 2000-based domain controller running Terminal Services, you may receive the following error message:
This error message is not generated when the user account you logged on with is a member of the following default groups:
- Account Operators
- Backup Operators
- Print Operators
- Server Operators
- Others based on services on the computer such as TsInternetUser
NOTE: Member servers and stand-alone servers have the users group included in the "Log on Locally" user right. Because of this, they do not prevent logons from non-administrative users.
This issue can occur if the Windows 2000-based domain controller running Terminal Services does not have the Users, Authenticated Users, or Everyone global group added to the Group Policy Object for the "Log on Locally" user right.
To work around this issue, modify the Group Policy Object for the domain controller:
- Click Start, point to Programs, point to Administrative Tools, and then click Domain Controller Security Policy.
- Double-click the Security Settings folder, double-click Local Policies, and then click User Rights Assignment.
- Under the Policy column, click Log on Locally, and then click Add.
- Click Browse, click the appropriate group, and then click Add.
- Click OK, click OK, and then click OK.
- At a command prompt, type secedit /refreshpolicy machine_policy /enforce, press ENTER, and then press ENTER.
This behavior is by design.
The issue described in this article occurs on Windows 2000-based domain controllers running Terminal Services configured to use Application Server mode for user access. Windows 2000-based domain controllers running Terminal Services configured to use Remote Administration mode do not permit user logon, with the exception of two concurrent administrator accounts for server management. When a user attempts to connect to a Windows 2000-based domain controller running Terminal Services configured to use Remote Administration mode, the following error message is generated:
"Log on Locally" is a required user right in Microsoft Windows NT 4.0, Terminal Server Edition and Windows 2000 Terminal Services. This is because the Terminal Services sessions are the user's desktop environment and the user needs the same rights on the Terminal Server computer that he or she has on other workstations.
The issue described in this article occurs when the Windows 2000-based computer running Terminal Services is a domain controller, because domain controllers share a common security database. Windows NT 4.0-based domain controllers use the Security Accounts Manager (SAM) database, and Windows 2000-based domain controllers use Active Directory, which is common to all domain controllers. The "Log on Locally" user right is assigned to a group in Windows NT 4.0, and to Group Policy Objects in Windows 2000. In Windows 2000, one domain controller that is given the "Log on Locally" user right shares this user right with all domain controllers in the domain.
For additional information about Terminal Services client connection error messages, click the article numbers below to view the articles in the Microsoft Knowledge Base:
246109 Error Messages Generated When Logging on with Terminal Services
224395 Error Message: You Do Not Have Access to Logon to This Session
NOTE: The Ntrights.exe utility can be used to add the "Log On Locally" right remotely.
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
279664 How to Set Logon User Rights with the Ntrights.exe Utility
Keywords: kberrmsg kbprb KB247989