Share via


Event ID 1139 — Roaming User Profile Cache Availability

Applies To: Windows Server 2008 R2

A roaming user profile cache allows you to limit the amount of hard disk space that is used by Remote Desktop Services user profiles. If the roaming user profile cache is not available, Remote Desktop Services cannot limit the amount of hard disk space used by Remote Desktop Services user profiles.

Event Details

Product: Windows Operating System
ID: 1139
Source: Microsoft-Windows-TerminalServices-RemoteConnectionManager
Version: 6.1
Symbolic Name: EVENT_TS_RUP_POLICY_CACHE_LIMIT_RANGE_ERROR
Message: The roaming user profile cache manager for Terminal Services could not start because an incorrect value was specified for the maximum cache size. Error Code: %1

Resolve

Specify a valid value for the maximum cache size

The maximum size for the roaming user profile cache is defined by using Group Policy and must be between 5 and 10000 gigabytes.

To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.

To specify a valid value for the maximum cache size:

  1. On the RD Session Host server, open the Local Group Policy Editor. To open the Local Group Policy Editor, click Start, click Run, type gpedit.msc and then click OK.
  2. Navigate to Computer Configuration/Administrative Templates/Windows Components/Remote Desktop Services/Remote Desktop Session Host/Profiles.
  3. Double-click the Limit the size of the entire roaming user profile cache Group Policy setting.
  4. In the Maximum cache size box, enter a number between 5 and 10000, and then click OK.

Verify

To verify that the roaming profile cache manager is functioning properly, you must do the following things:

  • Verify that the maximum cache size is a valid value.
  • Verify that the monitoring interval is a valid value.
  • Verify that the Remote Desktop Session Host role service is installed.

To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.

Verify that the maximum cache size is a valid value

To verify that the ;maximum cache size is a valid value:

  1. On the RD Session Host server, open the Local Group Policy Editor. To open the Local Group Policy Editor, click Start, click Run, type gpedit.msc and then click OK.
  2. Navigate to Computer Configuration/Administrative Templates/Windows Components/Remote Desktop Services/Remote Desktop Session Host/Profiles.
  3. Double-click the Limit the size of the entire roaming user profile cache Group Policy setting.
  4. Verify that the value in the Maximum cache size box is between 5 and 10000.

Verify that the monitoring interval is a valid value

To verify that the monitoring interval is a valid value:

  1. On the RD Session Host server, open the Local Group Policy Editor. To open the Local Group Policy Editor, click Start, click Run, type gpedit.msc and then click OK.
  2. Navigate to Computer Configuration/Administrative Templates/Windows Components/Remote Desktop Services/Remote Desktop Session Host/Profiles.
  3. Double-click the Limit the size of the entire roaming user profile cache Group Policy setting.
  4. Verify that the value in the Monitoring interval box is between 15 and 10080.

Verify that the Remote Desktop Session Host role service is installed

To verify that the Remote Desktop Session Host role service is installed:

  1. On the RD Session Host server, click Start, point to Administrative Tools, and then click Server Manager.

  2. Expand Roles, and then click Remote Desktop Services.

    Note: If  Remote Desktop Services is not available under the Roles heading, the Remote Desktop Session Host role service is not installed.

  3. Under the Role Services heading, verify that Installed is shown in the Status column next to Remote Desktop Session Host.

Roaming User Profile Cache Availability

Remote Desktop Services