Has anyone figured out how to use same username with different passwords (Windows)

Posted by Coder on Server Fault See other posts from Server Fault or by Coder
Published on 2012-09-23T18:53:27Z Indexed on 2012/09/23 21:39 UTC
Read the original article Hit count: 197

Filed under:
|

Tried Googling, tried net use, and anything I could, with no results.

I have a PC with users, and I have a network server with shared folders. For some users the usernames of the share and local account match, but the passwords are different (a good security practice).

Unfortunately, Windows doesn't want to remap the drives on login, and asks for credentials when I try to connect.

If I enter the password, the connection succeeds, but it still fails on next login, even if I have checked the "remember" checkbox.

On PC: usera@machinea pass1 On NAS: usera@nas pass2

net use z: \\nasip\usera /user:nasip\usera pass2 /persistent:yes

Credential store seems to have the user credentials stored... But the mapping fails all the time.

© Server Fault or respective owner

Related posts about Windows

Related posts about authentication