映像服务器配置

Microsoft.Windows.Server.6.3.WDSRole.Service.DeploymentServer.ImageServerConfiguration (UnitMonitor)

要使启动映像和安装映像可用,必须正确配置并初始化 Windows 部署服务映像服务器。映像服务器将配置信息存储在注册表和 Active Directory 域服务中。

Knowledge Base article:

摘要

要使启动映像和安装映像可用,必须正确配置并初始化 Windows 部署服务映像服务器。映像服务器将配置信息存储在注册表和 Active Directory 域服务中。

事件 ID 264 -- 检查代码或联系自定义客户端的提供程序

自定义客户端必须满足软件开发工具包 (SDK) 中定义的要求。Windows 部署服务服务器从自定义部署客户端收到了无法理解的记录消息。例如,服务器可能配置为仅记录错误和警告,而自定义客户端可能发送了信息事件。

事件 ID 258、259、260、261、262、263、265、266: 确保映像服务器可以从 Active Directory 读取设置。

Windows 部署服务映像服务器必须能够从注册表和 Active Directory 中读取配置设置。若要解决此问题,请确保注册表未损坏,并且映像服务器具有从注册表和 Active Directory 域服务中读取数据的必需权限。

解决方案

事件 ID 264 -- 检查代码或联系自定义客户端的提供程序

若要解决此问题,请检查自定义客户端的代码,确保其满足这些要求,或者联系供应商以获取进一步支持。若要下载适用于 Windows Server 2012 R2 的 Microsoft Windows SDK,请参阅 http://go.microsoft.com/fwlink/?LinkID=104661

事件 ID 258、259、260、261、262、263、265、266: 确保映像服务器可以从 Active Directory 读取设置。

若要解决此问题,请按指定顺序执行以下操作:

确保注册表数据未损坏

警告:注册表编辑不当可能会严重损坏您的系统。更改注册表之前,您应备份任何有价值的数据。

若要执行这些过程,您必须是本地 Administrators 组的成员,或者被委派了适当的权限。

若要确保注册表数据和权限正确无误,请执行以下操作:

如果此数据正确,请执行下面部分中的过程,确保域控制器可访问。

确保域控制器可访问

若要执行这些过程,您必须是本地 Administrators 组的成员,或者被委派了适当的权限。

若要确保域控制器可访问,请执行以下操作:

确保 Windows 部署服务服务器已连接至网络

注意:以下过程包含使用 ping 命令进行故障排除的步骤。因此,在执行这些步骤之前,请先确定网络上的防火墙设置或 Internet 协议安全 (IPsec) 设置是否允许 Internet 控制消息协议 (ICMP) 通信。ICMP 是 ping 命令使用的 TCP/IP 协议。

若要执行这些过程,您必须是本地 Administrators 组的成员,或者被委派了适当的权限。

若要确定是否存在网络连接问题,请执行以下操作:

如有必要,可以执行以下附加步骤,以帮助确定问题的根源:

如果上述步骤未解决您的问题,请执行下面部分中的过程,确保计算机帐户具有足够的权限。

确保计算机帐户具有足够的权限

在包含 Active Directory 域服务的计算机上,授予 Windows 部署服务服务器计算机帐户读取其服务控制点 (SCP) 的权限。

若要执行这些过程,您必须是本地“域管理员”组的成员,或者被委派了适当的权限。

若要向 SCP 对象授予权限,请执行以下操作:

Element properties:

TargetMicrosoft.Windows.Server.6.3.WDSRole.Service.DeploymentServer
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
映像服务器配置
事件 ID:{0} -- {1}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.6.3.WDSRole.Service.DeploymentServer.ImageServerConfiguration" Accessibility="Public" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.Server.6.3.WDSRole.Service.DeploymentServer" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.6.3.WDSRole.Service.DeploymentServer.ImageServerConfiguration_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDisplayNumber$</AlertParameter1>
<AlertParameter2>$Data/Context/EventDescription$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="FirstEventRaised" MonitorTypeStateID="FirstEventRaised" HealthState="Error"/>
<OperationalState ID="SecondEventRaised" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>Application</FirstLogName>
<FirstExpression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(258|259|260|261|262|263|265|266)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">WdsImgSrv</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>Application</SecondLogName>
<SecondExpression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(256|267)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">WdsImgSrv</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>