保留

Microsoft.Windows.Server.10.0.OperatingSystem.WindowsActivation (UnitMonitor)

Knowledge Base article:

摘要

Microsoft Corporation 开发了 Microsoft® Windows® 操作系统的产品激活,帮助确保按照最终用户许可协议(EULA)安装每个 Windows 操作系统许可证,并且安装的计算机台数未超过产品 EULA 限定的数量(通常为 1 台)。但是请注意,Microsoft® Windows Server™ 8 操作系统的批量许可版本不需要激活。

注意:

原因

当 Windows 未被激活且达到激活阈值时,此规则将生成警报。此规则的阈值是在 5 天或更短时间内必须执行产品激活。

解决方法

要解除此警报,Windows 必须在相应的计算机上激活。有多种途径可完成激活,包括:

每种方法的说明如下。

在 Internet 上激活 Windows

要在 Internet 上激活 Windows,单击“开始”,指向“所有程序”,然后单击“激活 Windows”。在“Windows 产品激活”中,选择“是,立即在 Internet 上激活 Windows”。完成该选择后,可以选择同时进行注册。

注意:

在无 Internet 服务提供商的情况下通过调制解调器激活 Windows

在无 Internet 服务提供商的情况下通过调制解调器激活 Windows:

单击“开始”,指向“所有程序”,然后单击“激活 Windows”。在“Windows 产品激活”中,选择“是,立即在 Internet 上激活 Windows”。完成该选择后,可以选择同时进行注册。

注意:

通过电话激活 Windows

要通过电话激活 Windows,请单击“开始”,单击“所有程序”,然后单击“激活 Windows”。在“Windows 产品激活”中,选择“是,我想打电话给客户服务代表来激活 Windows”。选择相应的位置之后,将得到一个电话号码和安装 ID,可以将它们提供给客户服务代表以完成激活过程。

注意:

使用 Microsoft 文本电话激活 Windows

在美国或加拿大使用 Microsoft 文本电话在 TT/TTY 调制解调器上拨打 (800) 718-1599 来激活 Windows。一旦连接到 Microsoft,屏幕上将会出现说明,指导如何进行激活操作。强烈建议在生产环境中使用之前激活 Windows 操作系统以避免浪费时间。

注意:

TT/TTY 服务只有英文版本。

其他

要了解更多有关 Microsoft 许可策略的信息,请单击“开始”,指向“运行”,然后键入 eula.txt 以打开 EULA。

Microsoft 网站

Element properties:

TargetMicrosoft.Windows.Server.10.0.OperatingSystem
Parent MonitorSystem.Health.ConfigurationState
CategoryStateCollection
EnabledFalse
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.3SingleEventLog3StateUnitMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Windows 需要激活
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.10.0.OperatingSystem.WindowsActivation" Accessibility="Public" Enabled="false" Target="ServervNext!Microsoft.Windows.Server.10.0.OperatingSystem" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.3SingleEventLog3StateUnitMonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.10.0.OperatingSystem.WindowsActivation.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Activated" MonitorTypeStateID="FirstEventRaised" HealthState="Success"/>
<OperationalState ID="NeedsActivated6Days" MonitorTypeStateID="ThirdEventRaised" HealthState="Error"/>
<OperationalState ID="NeedsActivated15Days" MonitorTypeStateID="SecondEventRaised" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>Application</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventSourceName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Windows Product Activation</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1006</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>Application</SecondLogName>
<SecondExpression>
<And>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventSourceName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Windows Product Activation</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1005</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Greater</Operator>
<ValueExpression>
<Value Type="Integer">6</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>LessEqual</Operator>
<ValueExpression>
<Value Type="Integer">15</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</And>
</SecondExpression>
<ThirdComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ThirdComputerName>
<ThirdLogName>Application</ThirdLogName>
<ThirdExpression>
<And>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventSourceName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Windows Product Activation</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1005</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>LessEqual</Operator>
<ValueExpression>
<Value Type="Integer">6</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</ThirdExpression>
</Configuration>
</UnitMonitor>