Server Configuration - Fix Authentication - Application

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

The Server Configuration aspect covers the configuration issues of the Application Virtualization Server. These configurations are stored in the Registry.

Knowledge Base article:

Summary

The Server Configuration aspect covers the configuration issues of the Application Virtualization Server. These configurations are stored in the Registry.

Resolutions

The likely cause of this error is that authorization is enabled on the machine but authentication is disabled. Authentication needs to be enabled to enable authorization. To fix this issue, enable authentication and then restart the Application Virtualization Server service.

To enable Authentication:

  1. Open the Registry Editor, regedit.
  2. The key to enable authentication is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SoftGrid\4.5\DistributionServer\ EnableAuthentication. Set the value of this registry entry to 1.

To restart the Application Virtualization Server service:

  • Logon to the Application Virtualization Server machine with valid administrator credentials.
  • Open Services. (Click Start, click Settings, click Control Panel, click Administrative Tools, and then double-click Services).
  • When Services opens, locate Application Virtualization Server service and right-click it and select Stop from the context menu, if Stop is enabled.
  • Wait for 30 seconds then right-click it again and select Start from the context menu.

    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
    Server Configuration - Fix Authentication - Application
    {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>