Rasman 服務初始化錯誤

Microsoft.Windows.RemoteAccess.MultiTenant.2012.R2.Monitoring.RRASServer.RasmanServiceInitErrorEvent (Rule)

Knowledge Base article:

摘要

由於初始化失敗,遠端存取連線管理員服務無法啟動。

原因

初始化失敗的最常見原因是:

遠端存取連線管理員服務無法啟動 WAN Mini Port (IP) 裝置驅動程式 (NDISWAN)。出現此錯誤的最常見原因是:

遠端存取連線管理員服務無法擷取此媒體裝置的資訊。出現此錯誤的最常見原因是:

遠端存取連線管理員服務無法啟動,因為它無法向本機安全性授權 (LSA) 登錄。出現此錯誤的最常見原因是:

遠端存取連線管理員服務失敗,因為它在 RPC 初始化期間發生錯誤。出現此錯誤的最常見原因是:

範例事件:

解決方式

檢查系統帳戶是否具有檔案 %systemroot%\system32\drivers\ndiswan.sys 的讀取/執行權限。若要檢查權限:

確認下列登錄機碼是否存在:HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Rasman\Parameters\Medias

如果登錄機碼不存在,您可以使用以下值來建立:

確認 %systemroot%\system32 資料夾中是否存在檔案 rastapi.dll。

確認系統帳戶是否具有 rastapi.dll 的讀取/執行權限。檢查系統帳戶是否具有下列權限:

確認 %systemroot%\System32 資料夾中是否存在下列 DLL:

如果這些 DLL 中有任何一項不存在,則必須修復或重新安裝作業系統。如需修復和重新安裝作業系統的相關資訊,請參閱說明及支援中心。

確認系統帳戶是否具有該 DLL 的讀取/寫入權限。若要檢查權限:

© 2013 Microsoft Corporation, all rights reserved

Element properties:

TargetMicrosoft.Windows.RemoteAccess.Multitenant.2012.R2.Class.RemoteAccessServer
CategoryEventCollection
EnabledTrue
Event SourceRasman
Alert GenerateFalse
RemotableTrue
Event LogSystem

Member Modules:

ID Module Type TypeId RunAs 
EventCollection DataSource Microsoft.Windows.EventProvider Default
CollectToDB WriteAction Microsoft.SystemCenter.CollectEvent Default
CollectToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishEventData Default

Source Code:

<Rule ID="Microsoft.Windows.RemoteAccess.MultiTenant.2012.R2.Monitoring.RRASServer.RasmanServiceInitErrorEvent" Target="MWRM2RD!Microsoft.Windows.RemoteAccess.Multitenant.2012.R2.Class.RemoteAccessServer" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="EventCollection" TypeID="Windows!Microsoft.Windows.EventProvider">
<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>^(20027|20028|20030|20031|20033|20132)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Rasman</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="CollectToDB" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="CollectToDW" TypeID="MSDL!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
</WriteActions>
</Rule>