Roaming User Profile Cache Availability

Microsoft.Windows.Server.10.0.RemoteDesktopServices.NewUnitMonitor_21 (UnitMonitor)

This object monitors the availability of the roaming user profile cache.

Knowledge Base article:

Summary

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.

Resolutions

To resolve this issue, check the event ID, and then view the troubleshooting information for that event in the sections below.

Resolution steps for the following event IDs: 1144, 1138

The monitoring interval for the roaming user profile cache is defined by using Group Policy and must be between 15 and 10,080 minutes.

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 monitoring interval:

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 Monitoring interval box, enter a number between 15 and 10,080, and then click OK.

Resolution steps for the following event IDs: 1140, 1141, 1139

The maximum size for the roaming user profile cache is defined by using Group Policy and must be between 5 and 10,000 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 10,000, and then click OK.

Resolution steps for the following event ID: 1137

To use the roaming profile cache manager, you must be using an RD Session Host server. To resolve this issue, you must install the Remote Desktop Session Host role service.

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

To install the Remote Desktop Session Host role service:

1. Open Server Manager. To open Server Manager, click Start, point to Administrative Tools, and then click Server Manager.

2. Under Roles Summary, click Add Roles.

3. On the Before You Begin page of the Add Roles Wizard, click Next.

4. On the Select Server Roles page, select the Remote Desktop Services check box, and then click Next.

5. On the Remote Desktop Services page, click Next.

6. On the Select Role Services page, select the Remote Desktop Session Host check box, and then click Next.

7. On the Uninstall and Reinstall Applications for Compatibility page, click Next.

8. On the Specify Authentication for Remote Desktop Session Host page, click Require Network Level Authentication, and then click Next.

9. On the Specify Licensing page, select the appropriate option, and then click Next.

10. On the Select User Groups Allowed Access To This Remote Desktop Session Host Server page, click Next.

11. On the Configure Client Experience page, select the appropriate options, and then click Next.

12. On the Confirm Installation Selections page, ensure that the RD Session Host role service will be installed, and then click Install.

13. On the Installation Results page, you are prompted to restart the server to finish the installation process. Click Close, and click Yes to restart the server.

14. After the server restarts and you log on to the computer with the same user account that was used to install the Remote Desktop Session Host role service, confirm that the installation of the RD Session Host role service succeeded, and then click Close to close the RD Session Host configuration window.

Element properties:

TargetMicrosoft.Windows.Server.10.0.RemoteDesktopServicesRole.Service.RDSessionHost
Parent MonitorSystem.Health.AvailabilityState
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLogManualReset3StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Roaming User Profile Cache Availability Alert
Event ID: {0} -- Description: {1}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.10.0.RemoteDesktopServices.NewUnitMonitor_21" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.Server.10.0.RemoteDesktopServicesRole.Service.RDSessionHost" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLogManualReset3StateMonitorType" ConfirmDelivery="true">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.10.0.RemoteDesktopServices.NewUnitMonitor_21_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDisplayNumber$</AlertParameter1>
<AlertParameter2>$Data/Context/EventDescription$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="UIGeneratedOpStateIda911622f71074327a20bc2fb72300921" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
<OperationalState ID="UIGeneratedOpStateId27b285d5efb0498bbb159c80c8e6b965" MonitorTypeStateID="SecondEventRaised" HealthState="Warning"/>
<OperationalState ID="UIGeneratedOpStateIdf18e049f1b594fd0826f1848a902f7bf" MonitorTypeStateID="FirstEventRaised" HealthState="Error"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>Microsoft-Windows-TerminalServices-RemoteConnectionManager/Admin</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Channel</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-TerminalServices-RemoteConnectionManager/Admin</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1139</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1138</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1144</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Channel</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1141</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1140</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1137</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>