Domain users are unable to logon to StoreFront and receive an error message: “Incorrect user name or password” with Event ID: 4625 and Failure Reason: “The user has not been granted the requested logon type at this machine”.
The error can be seen on Citrix Receiver and on the StoreFront StoreWeb site.Note: Domain Administrators are not affected by the issue.
Event ID: 4625
Failure Reason: The user has not been granted the requested logon type at this machine.
Enabling StoreFront Traces
In certain instances, no errors are logged inside Event logs > Security (or any other logs such as: system, application, Citrix Delivery Services). If this is the case, enable the StoreFront traces.
To enable tracing on the StoreFront Server, complete the following steps:
Using an account with local administrator permissions on the Receiver StoreFront server, start the Windows PowerShell.
On the command prompt, type the following commands:
Add-PSSnapin Citrix.DeliveryServices.Framework.CommandsWhen tracing is enabled, the tracing information is written to files in the \Admin\Trace\ directory of the Receiver StoreFront installation, typically located at C:\Program Files\Citrix\Receiver Storefront\.
Review the Authentication Service xxxxxx.txt file for the following error:
“Citrix.DeliveryServices.ExplicitCore Information: 0 : Logon failed for user: domain\username Error code: 1385”
If this error occurs, apply the steps mentioned in Solution section.
Disabling StoreFront Traces
To disable tracing on the StoreFront Server, type the following commands:
Add-PSSnapin Citrix.DeliveryServices.Framework.Commands
Set-DSTraceLevel -All -TraceLevel Off
Because large amount of data can be potentially generated, tracing can significantly impact the performance of Receiver StoreFront. Citrix recommends disabling tracing when this option is not required for troubleshooting.
Add Domain users to the Allow log on locally policy on the StoreFront server.
Complete the following steps to add the domain user:
On the Start menu, select Run.
Type gpedit.msc and click OK.
The Local Policy Editor window opens.
Open Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment.
On Allow log on locally option, right-click and select Properties.
The Allow log on Properties window opens.
Click Add User or Group….
The Select Users, Computers, … window opens.
Type the users and/or groups.
The user will be added.
Complete the following steps to fix the issue:
Open the authentication service web.config located in C:\inetpub\wwwroot\Citrix\Authentication\web.config.
In the config file, search for the following configuration:
<explicitBL authenticator="win32Authenticator"
hideDomainField="true"
allowUserPasswordChange="Never"
allowZeroLengthPassword="false"
showPasswordExpiryWarning="Windows"
passwordExpiryWarningPeriod="10"
requireAccountSIDs="true">
Change the value for showPasswordExpiryWarning="Windows" to showPasswordExpiryWarning="Never" and save the changes.
User access was removed from the Allow log on locally policy on the StoreFront server.