服务器配置 - 解决身份验证问题 - 应用程序

Microsoft.AppVirtualization.Server.45.LightWeightServer.ServerConfiguration_FixAuthentication_Application (UnitMonitor)

服务器配置功能解决 Application Virtualization Server 的配置问题。这些配置存储在注册表中。

Knowledge Base article:

摘要

服务器配置功能解决 Application Virtualization Server 的配置问题。这些配置存储在注册表中。

解决方案

此错误可能的原因是在计算机上启用了授权,但是未启用身份验证。必须启用身份验证才能启用授权。要解决此问题,请启用身份验证,然后重新启动 Application Virtualization Server 服务。

要启用身份验证,请执行以下操作:

  1. 打开注册表编辑器 regedit。
  2. 用来启用身份验证的注册表项为 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SoftGrid\4.5\DistributionServer\EnableAuthentication。将这个注册表项的值设置为 1。

要重新启动 Application Virtualization Server 服务,请执行以下操作:

  • 使用有效的管理员凭据登录到 Application Virtualization Server 计算机。
  • 打开服务。(依次单击开始设置控制面板管理工具,然后双击服务)。
  • 在打开服务后,如果启用了停止,请找到 Application Virtualization Server 服务并右键单击它,然后从上下文菜单中选择停止
  • 等待 30 秒,再次右键单击它,然后从上下文菜单中选择“启动”

    Element properties:

    TargetMicrosoft.AppVirtualization.Server.45.LightWeightServer
    Parent MonitorMicrosoft.AppVirtualization.Server.45.ServerConfiguration_LWS.HealthState
    CategoryEventCollection
    EnabledTrue
    Alert GenerateTrue
    Alert SeverityMatchMonitorHealth
    Alert PriorityNormal
    Alert Auto ResolveTrue
    Monitor TypeMicrosoft.Windows.SingleEventLogManualReset2StateMonitorType
    RemotableTrue
    AccessibilityPublic
    Alert Message
    服务器配置 - 解决身份验证问题 - 应用程序
    {0}
    RunAsDefault

    Source Code:

    <UnitMonitor ID="Microsoft.AppVirtualization.Server.45.LightWeightServer.ServerConfiguration_FixAuthentication_Application" Accessibility="Public" Target="Microsoft.AppVirtualization.Server.45.LightWeightServer" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" ParentMonitorID="Microsoft.AppVirtualization.Server.45.ServerConfiguration_LWS.HealthState">
    <Category>EventCollection</Category>
    <AlertSettings AlertMessage="Microsoft.AppVirtualization.Server.45.LightWeightServer.ServerConfiguration_FixAuthentication_Application.Alert">
    <AlertOnState>Error</AlertOnState>
    <AutoResolve>true</AutoResolve>
    <AlertPriority>Normal</AlertPriority>
    <AlertSeverity>MatchMonitorHealth</AlertSeverity>
    <AlertParameters>
    <AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
    </AlertParameters>
    </AlertSettings>
    <OperationalStates>
    <OperationalState ID="EventRaised" MonitorTypeStateID="EventRaised" HealthState="Error"/>
    <OperationalState ID="ManualResetEventRaised" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
    </OperationalStates>
    <Configuration>
    <ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
    <LogName>Application</LogName>
    <Expression>
    <And>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">PublisherName</XPathQuery>
    </ValueExpression>
    <Operator>Equal</Operator>
    <ValueExpression>
    <Value Type="String">Application Virtualization Server</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
    </ValueExpression>
    <Operator>Equal</Operator>
    <ValueExpression>
    <Value Type="UnsignedInteger">41605</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    </And>
    </Expression>
    </Configuration>
    </UnitMonitor>