How to save credentials for mapped drive

In Knowledge Base Blog by angeladmin

So you mapped a drive on your network but now it’s asking for a password every time you want to access it.  This is how you bypass that:

Using this syntax at the command prompt, map the drive:

net use Z: HostNameShareName /savecred /p:yes

You will be prompted for a username and password, this info will be saved and you will not be bothered for a password again even after a reboot.

Here’s another way to do it:

Go to  Start, click Run.  Type  “control userpasswords2"

Click the tab labeled  “Advanced”  then  “Manage Passwords”.

You can use this feature on Windows XP and later.