Rasman Port Open Failure Monitor

Microsoft.Windows.RemoteAccess.MultiTenant.2012.R2.Monitoring.RRASServer.PortOpenFailureMonitor (UnitMonitor)

The Routing and Remote Access service or The Remote Access Connection Manager service encountered an error while opening a port for remote access

Knowledge Base article:

Summary

The Routing and Remote Access service or The Remote Access Connection Manager service encountered an error while opening a port for remote access.

Causes

The most common reasons for this error are:

The Remote Access Connection Manager service failed to start the RAS Async Adapter driver (AsyncMac). The most common reasons for this error are:

Sample Events:

Resolutions

Check whether the System account has read/execute permissions for the file %systemroot%\system32\drivers\asyncmac.sys.

To check the permissions:

To check whether the System account has these permissions:

© 2013 Microsoft Corporation, all rights reserved

Element properties:

TargetMicrosoft.Windows.RemoteAccess.Multitenant.2012.R2.Class.RemoteAccessServer
Parent MonitorSystem.Health.PerformanceState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Rasman Port Open Failure
The Routing and Remote Access service or The Remote Access Connection Manager service encountered an error while opening a port for remote access
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.RemoteAccess.MultiTenant.2012.R2.Monitoring.RRASServer.PortOpenFailureMonitor" Accessibility="Public" Enabled="true" Target="MWRM2RD!Microsoft.Windows.RemoteAccess.Multitenant.2012.R2.Class.RemoteAccessServer" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.RemoteAccess.MultiTenant.2012.R2.Monitoring.RRASServer.PortOpenFailureMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="EventRaised" MonitorTypeStateID="EventRaised" HealthState="Error"/>
<OperationalState ID="ManualResetEventRaised" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(20040|20041|20059|20060|20061)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>RemoteAccess|Rasman</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>