无法从注册表中读取路由和远程访问服务配置

Microsoft.Forefront.TMG.Failed_to_read_the_Routing_and_Remote_Access_service_configuration_from_the_registry.Rule (Rule)

如果无法从注册表中读取路由和远程访问服务配置,此规则将生成警报

Knowledge Base article:

摘要

无法从注册表中读取路由和远程访问服务配置。 服务器的 VPN 配置未成功完成。

原因

无法写入注册表项。 这可能是因为注册表损坏,或者对注册表项的权限不足。

解决方法

验证 NETWORK_SERVICE 帐户对指定的注册表项是否具有“写入”权限。

Element properties:

TargetMicrosoft.Forefront.TMG.VPN.ServerComponent
CategoryEventCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Forefront.TMG.Rule.AlertGenerate.DS Default
WA WriteAction Microsoft.Forefront.TMG.Rule.AlertGenerate.WA Default

Source Code:

<Rule ID="Microsoft.Forefront.TMG.Failed_to_read_the_Routing_and_Remote_Access_service_configuration_from_the_registry.Rule" Enabled="true" Target="Microsoft.Forefront.TMG.VPN.ServerComponent" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.DS">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<EventsPattern>^(14103)$</EventsPattern>
<EventType>1</EventType>
<SourcePattern>Microsoft Forefront TMG Firewall</SourcePattern>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.WA">
<AlertMessageId>$MPElement[Name="Microsoft.Forefront.TMG.Failed_to_read_the_Routing_and_Remote_Access_service_configuration_from_the_registry.AlertMessage"]$</AlertMessageId>
<DomainName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/DomainDnsName$</DomainName>
<Priority>2</Priority>
<Severity>2</Severity>
</WriteAction>
</WriteActions>
</Rule>