Currently looking into setting credentials for all the users which are able to login on the machine. But somehow I am not able to do so.
What I have tried is using the solution in this thread: Similar question
So actually setting the account like:
cmdkey /add:Name /user:Username /pass:Password
Which sets the key in the credential manager. But login in with a different user shows me no credential with that name.
Another attempt is by doing it like this, with CredentialManager in C#:
{
cred.Password = "password";
cred.Target = username;
cred.Type = CredentialType.Generic;
cred.PersistanceType = PersistanceType.LocalComputer;
cred.Save();
}
But then the credentials are still only available for the user which set the credentials. Also tried with Powershell, with the CredentialManager plugin. But with similar results.
Is there the option to set the credentials for ALL users?