Event ID 1046 — Terminal Services User Configuration

Applies To: Windows Server 2008

The properties of a user account can be configured to provide a Terminal Services-specific profile and home folder. This profile and home folder will only be used when a user establishes a remote session with a terminal server. A separate profile for Terminal Services sessions should be assigned to a user because many of the common options that are stored in profiles, such as screen savers and animated menu affects, are not desirable when using Terminal Services.

Event Details

Product: Windows Operating System
ID: 1046
Source: Microsoft-Windows-TerminalServices-RemoteConnectionManager
Version: 6.0
Symbolic Name: EVENT_TS_LOAD_PROFILE_FAILED
Message: Failed to load Terminal Server Profile path. Note that the profile path must be less than 256 characters in length. User Name: %1 Domain: %2

Resolve

Change the Terminal Services profile path

To resolve this issue, specify a new location for the Terminal Services profile path, ensuring that the path does not exceed 256 characters.

Note:  When calculating the length of a user’s Terminal Services profile path, Username.Domain is appended to the profile path.

Specify the Terminal Services profile path by using Active Directory Users and Computers

Note:  If the terminal server is not a member of an Active Directory domain, use Local Users and Groups (lusrmgr.msc) to change the Terminal Services profile path on a user account. To use Local Users and Groups, you must have membership in the local Administrators group on the terminal server, or you must have been delegated the appropriate authority.

To perform this procedure, you must have membership in the Account Operators group in the domain, or you must have been delegated the appropriate authority.

To change the Terminal Services profile path for a user account:

  1. Open Active Directory Users and Computers. To open Active Directory Users and Computers, log on to a computer where Active Directory Users and Computers has been installed, click Start, click Run, type dsa.msc, and then click OK.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  3. Locate the user account whose profile settings you want to change, right-click the user account, and then click Properties.
  4. Click the Terminal Services Profile tab.
  5. In the Profile Path box, enter the new location.
  6. Click Apply, and then click OK.

Note:  You can also specify the Terminal Services profile path by using Group Policy.

  • To specify the Terminal Services profile path for a user by using Group Policy, enable the Set path for TS Roaming User Profile Group Policy setting. This Group Policy setting is located in Computer Configuration\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Profiles. Note that the Group Policy setting will take precedence over the setting configured on the user's account.
  • To configure the Group Policy setting in Active Directory Domain Services (AD DS), use the Group Policy Management Console (GPMC). To configure the Group Policy setting locally on a terminal server, use the Local Group Policy Editor. For more information about configuring Group Policy settings, see either the Local Group Policy Editor Help (https://go.microsoft.com/fwlink/?LinkId=101633) or the GPMC Help (https://go.microsoft.com/fwlink/?LinkId=101634) in the Windows Server 2008 Technical Library.

Verify

To verify that the configuration for a user's Terminal Services session is working properly, establish a remote session with the terminal server and check that the user’s desktop and other settings (for example, menus or home folder) are configured as expected.

Terminal Services User Configuration

Terminal Services