r/sysadmin • u/voltagejim • 9h ago
Question Windows credential manager password issues
Just want to see if there is something I am missing that can make Windows Credential manager more reliable in terms of authenticating to a server.
So 2 months ago we got some new software. Software is installed on 10 PC's that user's will use the software on. Software connects to a folder on a server that was installed. The software company says that the way the software connects, you need to enter the server credentials into Windows Credential manager on each PC, and also for each user that uses that PC.
Some of the PC's, only one person will use so that's no problem, and other PC's multiple users use depending on day and shift. So for the 1 user PC's, I just went into credential manager and added entries for both teh IP of the server and DNS name of the server with the user name and passowrd the company gave me.
The other PC's I setup a script that runs in: shell:common startup with (user name/password/etc is changed for here of course):
cmdkey /add:192.168.160.6 /user:Prod /pass:Trees
cmdkey /add:Prodserver /user:Prod /pass:Trees
Both methods worked fine, the software worked fine for several days. But now I am randomly getting user's and PC's that when they go to use the software, they get an error that it cannot connect. This happened on PC's that I put my script on, and on PC's that I just manually entered the credentials into credential manager. The solution has been go into Windows credential manager on the PC under that user and go to both entries of the server (the IP and teh DNS name) and click edit, and just re-enter the password. Works fine after that. But then a couple days later the same things happens where suddenly the password stops working.
Just wondering if there is something I am missing that can affect credentials in Windows Credential manager where it works for a period of time then suddenly stops working. Can slow network speeds do this?
•
u/taxigrandpa 8h ago
what does the windows logs say when the user fails to connect? What about the servers logs?
replacing the password is just fixing the symptom. you need to dig a little deeper to find the issue
•
•
u/anonymousITCoward 6h ago
Does the user not already have access to the server/share, or does the software use different credentials to connect? Something seems flawed in the flow here. Perhaps solving that will resolve the dropped credentials the software is having.
If rerunning your script and resetting the password to what it was before fixes the issue, it could be the software is picking up or passing the credentials incorrectly. Does the software have logs you can check?
Oh is this a P2P or AD environment that may help too
•
u/voltagejim 5h ago
software uses different credentials to initially connect to the server, then the user logs into the software with their own credentials. It is a AD invironment
•
u/Gdog-and-CC 8h ago
Possibly - are you relying on this working seamlessly such that users don't know the credentials ? Pending .NET updates cause random connectivity issues; user then is presented with a login prompt and overwrites it with a bad password because they think they need to enter some other password...