若要解决此问题,请确保注册表数据正确无误。
警告:注册表编辑不当可能会严重损坏您的系统。更改注册表之前,您应备份任何有价值的数据。
若要执行此过程,您必须是本地 Administrators 组的成员,或者被委派了适当的权限。
若要确认注册表数据是否已损坏,请执行以下操作:
打开注册表编辑器(单击“开始”,在“开始搜索”框中键入 regedit,然后按 ENTER。)
确保以下位置存在失败提供程序的注册表项: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WDSServer\Providers注意: 事件日志消息中会指明失败的提供程序。若要查找消息,请在事件查看器中搜索 WDSServer 事件 515。
如果您在步骤 2 中指定的位置发现注册表项,请确保 ProviderDll 子项存在并包含一个指向 .dll 文件的路径。然后确保此位置存在 .dll 文件。如果存在,重新启动服务器。
如果提供程序注册表项、ProviderDll 子项或文件丢失,请执行以下操作之一:
如果此提供程序为默认的提供程序之一(WDSPXE、BINLSVC、WDSIMGSRV、WDSMC 和 WDSTFTP),请使用服务器管理器重新安装 Windows 部署服务(请参阅下面的过程)。
如果提供程序为自定义提供程序或非 Microsoft 提供程序,请重新安装。如果此操作并未解决问题,请联系供应商获取故障排除信息。
若要重新安装 Windows 部署服务,请执行以下操作:
打开“服务器管理器”。
在“角色摘要”下,单击“移除角色”。
单击“Windows 部署服务”,然后按照向导中的指示操作。
完成角色移除操作后,在“服务器管理器”中单击“添加角色”以重新安装 Windows 部署服务。
Target | Microsoft.Windows.Server.6.3.WDSRole | ||
Category | EventCollection | ||
Enabled | True | ||
Event_ID | 515 | ||
Event Source | WDSServer | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Remotable | True | ||
Alert Message |
| ||
Event Log | Application |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Default |
Alert | WriteAction | System.Health.GenerateAlert | Default |
<Rule ID="Microsoft.Windows.Server.6.3.WDSRole.EventCollection.515" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.Server.6.3.WDSRole" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">515</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">WDSServer</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertName/>
<AlertDescription/>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.Server.6.3.WDSRole.EventCollection.515.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/LoggingComputer$</SuppressionValue>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>