無法將路由及遠端存取服務設定儲存於登錄中

Microsoft.Forefront.TMG.Failed_to_save_the_Routing_and_Remote_Access_service_configuration_in_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_save_the_Routing_and_Remote_Access_service_configuration_in_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>^(14102)$</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_save_the_Routing_and_Remote_Access_service_configuration_in_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>