At some point I needed to give someone access to a share on a stand alone server in the network.
This can be done by just doing a basic mapping to that server share.
But the challenge was that the users needed to authenticate on that server.
And to avoid creating for each user an account on that server.
We decided to use 1 user and password that we wanted to keep a bit secret.
This did not do the trick in our case ?
NET USE \\server\sharemame /PERSISTENT:YES /USER domain\user password
Solution 1 :
Use the cmdkey.exe to get the user and credentials stored on the local PC.
cmdkey.exe /List will enum all stored credentials
To delete entries you can use :
To add new entries you can use :
Solution 2 :
Use the GUI to add / remove / change entries :
It will op the this GUI window.
Once this is all set, log off and back on, make a mapping the the share to test if it all works fine.
No Login screen should appear as of now.
Hopefully this is helpful in some of your use cases