On a server that is running Windows Server 2008, the Terminal Services service may be unable to start.
This behavior usually occurs after you upgrade an earlier version of the Windows operating system to Windows Server 2008. For example, this behavior may occur after you upgrade Windows Server 2003 to Windows Server 2008.
When this behavior occurs, events that resemble the following events are logged in the System log:
Log Name: System Source: Microsoft-Windows-DistributedCOM Date: DateTime Event ID: 10005 Task Category: None Level: Error Keywords: Classic User: N/A Computer: ComputerName Description:
DCOM got error "1297" attempting to start the service TermService with arguments "" in order to run the server:
{F9A874B6-F8A8-4D73-B5A8-AB610816828B}
Log Name: System Source: LSM Date: DateTime Event ID: 1048 Task Category: None Level: Error Keywords: Classic User: N/A Computer: ComputerName Description:
Terminal Service start failed. The relevant status code was %1. A privilege that the service requires to function properly does not exist in the service account configuration.
You may use the Services.msc Microsoft Management Console (MMC) snap-in and the Secpol.msc MMC snap-in to view the service configuration and the account configuration.
Method 2: Grant the user rights in a Group Policy object (GPO) that is applied to member servers
To do this, follow these steps:
Click Start, click Run, type Gpmc.msc, and then click OK.
In the Group Policy Management console, expand Forest: DomainName, expand Domains, expand DomainName, expand Group Policy Objects, right-click the GPO that is applied to member servers, and then click Edit.
In the Group Policy Management Editor console, expand Computer Configuration, expand Policies, expand Windows Settings, expand Security Settings, expand Local Policies, and then click User Rights Assignment.
Double-click the Adjust memory quotas for a process user right.
In the Properties dialog box, click Add User or Group.
In the Add User or Group dialog box, type NETWORK SERVICE under User and group names, and then click OK.
In the Properties dialog box, click OK.
Repeat step 4 through step 7 to add the NETWORK SERVICE account for the Generate security audits user right and for the Replace a process level token user right.
Click Start, click Run, type Gpupdate, and then click OK.
Method 3: Grant user rights in the Group Policy settings
To do this, follow these steps:
Click Start, click Run, type Gpmc.msc, and then click OK.
In the Group Policy Management console, expand Forest: DomainName, expand Domains, expand DomainName, expand Group Policy Objects, right-click Default Domain Controllers Policy, and then click Edit.
In the Group Policy Management Editor console, expand Computer Configuration, expand Policies, expand Windows Settings, expand Security Settings, expand Local Policies, and then click User Rights Assignment.
Double-click the Adjust memory quotas for a process user right.
In the Properties dialog box, click Add User or Group.
In the Add User or Group dialog box, type NETWORK SERVICE under User and group names, and then click OK.
In the Properties dialog box, click OK.
Repeat step 4 through step 7 to add the NETWORK SERVICE account for the Generate security audits user right and for the Replace a process level token user right.
Click Start, click Run, type Gpupdate, and then click OK.
By default in Windows 2000 Server and in Windows Server 2003, the Terminal Services service starts by using the Local System account. In Windows Server 2008, the Terminal Services service starts by using the NETWORK SERVICE account. This is for improved security. If you do not grant the NETWORK SERVICE account the user rights that are described in the "Cause" section, the Terminal Services service cannot start.
If you remove these user rights from the NETWORK SERVICE account in the default domain controllers policy, the Terminal Services service cannot start on domain controllers that are running Windows Server 2008. However, the Terminal Services service can start on domain controllers that are running Windows 2000 Server or Windows Server 2003.
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
245207
(http://support.microsoft.com/kb/245207/
)
How to determine NTRIGHTS names and meanings
243330
(http://support.microsoft.com/kb/243330/
)
Well-known security identifiers in Windows operating systems