The script enables or disables auto-logon for the web interface configurator. Execute the script in Windows PowerShell on the computer where Adaxes service runs. When prompted, enter the credentials of the Adaxes service account (specified during Adaxes installation).
Set the $enableAutoLogon variable to $true to enable auto-logon and to $false to disable it.
PowerShell
[Reflection.Assembly]::LoadWithPartialName("Softerra.Adaxes.Adsi")
$enableAutoLogon = $true # TODO: modify me
# Connect to the Adaxes service
$admNS = New-Object "Softerra.Adaxes.Adsi.AdmNamespace"
$admService = $admNS.GetServiceDirectly("localhost")
# Bind to the 'WebUI Configuration' container
$webuiConfigPath = $admService.Backend.GetConfigurationContainerPath("WebUIConfigurationContainer")
$credential = Get-Credential
$webuiConfigContainer = $admService.OpenObject($webuiConfigPath, $credential.UserName, $credential.GetNetworkCredential().Password, 0)
# Disable auto-logon
$configuratorConfig = $webuiConfigContainer.ConfiguratorConfig
$configuratorConfig.AutoLogonEnabled = $enableAutoLogon
$webuiConfigContainer.ConfiguratorConfig = $configuratorConfig
$webuiConfigContainer.SetInfo()