Solved: Unable to Save / Remember Password for Mapped WebDav folder

Comments Off on Solved: Unable to Save / Remember Password for Mapped WebDav folder Written on June 2nd, 2011 by
Categories: SharePoint, Tips and Tricks, WebDAV

Symptom:  In Windows Vista/7, after you map a WebDAV shared drive, such as a SharePoint document library, you are required to type your password every time you open it.  Clicking the “Remember Password” checkbox seems to have no affect.  Additionally, you get an “Unable to connect to network drive” message when you start the computer.   This is particularly a problem when the WebDAV share is located outside of your local network (on the Internet).

Solution:  When you check the Remember Password box, Windows is actually saving your password.  You should be able to see it in your  Credentials Manager Control Panel.  The problem is that as a security feature Windows does not allow this password to be sent automatically. (This only applies to WebDAV shares that are outside your local network.)

With a little registry editing, however, we can set the system to allow saved passwords to your external WebDAV servers.  (I believe you can wholly disable this security feature also, however it is not recommended).  By the way, modifying your registry incorrectly can cause damage to your computer, so always back up your registry first by using the export command with the registry editor.

We find the solution to this problem in Microsoft KB 943280 (http://support.microsoft.com/kb/943280/en-us).

  1. Click Start, type regedit in the Start Search box, and then press ENTER.
  2. Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters
  3. On the Edit menu, point to New, and then click Multi-String Value.
  4. Type AuthForwardServerList, and then press ENTER.
  5. On the Edit menu, click Modify.
  6. In the Value data box, type the URL of the server that hosts the Web share, and then click OK.Note You can also type a list of URLs in the Value data box. For more information, see the “Sample URL list” section in this article.
  7. Exit Registry Editor.

Here are some sample URLS you might use for reference:

https://*.Contoso.com
http://*.dns.live.com
 *.microsoft.com
https://172.169.4.6

If you are connecting to an SBS 2008 server, for example, the entry would probably look like this: remote.domain.com.

Avoid using wildcards here, if used improperly they can completely lift this security feature.

I hope this helps save some people some frustration.  I nearly pulled my hair out dealing with this one.