Share via


Event ID 1046 — Remote Desktop Session Host User Configuration

Applies To: Windows Server 2008 R2

The properties of a user account can be configured to provide a Remote Desktop Services-specific profile and home folder. This profile and home folder will only be used when a user establishes a remote session with an RD Session Host server. A separate profile for RD Session Host 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 Remote Desktop Services.

Event Details

Product: Windows Operating System
ID: 1046
Source: Microsoft-Windows-TerminalServices-RemoteConnectionManager
Version: 6.1
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 Remote Desktop Services profile path

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

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

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

Note:  If the RD Session Host server is not a member of an Active Directory domain, use Local Users and Groups (lusrmgr.msc) to change the Remote Desktop Services profile path on a user account. To use Local Users and Groups, you must have membership in the local Administrators group on the RD Session Host 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 Remote Desktop 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 Yes.
  3. Locate the user account whose profile settings you want to change, right-click the user account, and then click Properties.
  4. Click the Remote Desktop 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 Remote Desktop Services profile path by using Group Policy.

  • To specify the Remote Desktop Services profile path for a user by using Group Policy, enable the Set path for Remote Desktop Services Roaming User Profile Group Policy setting. This Group Policy setting is located in Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\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 an RD Session Host 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=143317) or the GPMC Help (https://go.microsoft.com/fwlink/?LinkId=143867) in the Windows Server 2008 R2 Technical Library.

Verify

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

Remote Desktop Session Host User Configuration

Remote Desktop Services