Registry operation failure

Registry_operation_failure_1_Rule (Rule)

Knowledge Base article:

Summary

The Routing and Remote Access service could not start because it could not access required registry value(s).

Causes

The most common reasons for this error are:

Resolutions

Open the Registry Editor, and verify the values of the following registry keys: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RemoteAccess\Parameters HKEY_LOCAL_MACHINE\Microsoft\RAS\SecurityHost HKEY_LOCAL_MACHINE\Microsoft\RAS\AdminDll HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RemoteAccess\Accounting HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RemoteAccess\Authenication HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RemoteAccess\RouterManagers HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RemoteAccess\DemandDialManager HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RemoteAccess\Interfaces HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RasMan\PPP HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RasMan\PPP\ControlProtocols HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Rasman\PPP\EAP Values to verify:

Microsoft Corporation, all rights reserved

Element properties:

TargetAP.Remote.Access.Class.VPNServer
CategoryEventCollection
EnabledTrue
Event SourceRemoteAccess
Alert GenerateFalse
RemotableTrue
Event LogSystem

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectEvent Default

Source Code:

<Rule ID="Registry_operation_failure_1_Rule" Enabled="true" Target="AP.Remote.Access.Class.VPNServer" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/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>^(20002|20091|20099|20100|20112|20003|20069)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">RemoteAccess</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SystemCenter!Microsoft.SystemCenter.CollectEvent"/>
</WriteActions>
</Rule>