When trying to submit credentials on the Cache Credentials dialog screen , you encounter:
"Logon User: Bad Length"
Subsequent tries in the same session returns "LogonUser: The user name or password is incorrect".
The error "LogonUser: Bad Length" is related to the authentication request. This is for the request attempt to cache the target credential.
Things to check:
Does the machine have access to the target domain controller?
Does the machine have access to the target domain's DNS?
Do you have trusts set up?
Make sure netlogon is running on the machine
Ensure the UPN is being used and not the email address of the user.
"Credential Cache process caused PowerShell handled exception" error before it was due to the logged on user not having access to the other user profile on the workstation.
The GetCreds is being run under the Local Logged on user as it should. However, it is looking at all the other profiles on the workstation and the currently logged on user does not have rights to the other profiles.
To remove the error you can perform one of the following:
Add the logged on user to the local Administrators group and insure they have FULL Access to all files and folders on the local machine and run the Cached Creds to see if the error still exist
Remove all profiles from the workstation except the current logged on user and Run the Cached Creds.
© 2023 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center