Microsoft KB Archive/940172

= You are prompted for the user name and the password when you try to connect to a Web folder by using a NetBIOS name on a computer that is running Windows Vista =

Article ID: 940172

Article Last Modified on 7/31/2007

-

APPLIES TO


 * Windows Vista Business
 * Windows Vista Enterprise
 * Windows Vista Home Basic
 * Windows Vista Home Premium
 * Windows Vista Starter
 * Windows Vista Ultimate

-



SYMPTOMS
When you try to connect to a Web folder by using a network basic input/output system (NetBIOS) name on a computer that is running Windows Vista, you are prompted for the user name and the password.

This issue occurs even though the &quot;Automatic logon with current user name and password&quot; security option is set for the fully qualified domain name (FQDN) of the Web folder in the &quot;Trusted Sites&quot; zone and in the &quot;Local intranet&quot; zone.

For example, this issue occurs when you use one of the following NetBIOS names to connect to the Web folder:
 * http:// /webdav
 * http:// . .com/webdav

Note You do not experience this issue in Microsoft Windows XP.



CAUSE
This issue occurs because the Web Distributed Authoring and Versioning (WebDAV) redirector uses Windows HTTP Services (WinHTTP) instead of the Windows Internet (WinInet) API.



RESOLUTION
To resolve this issue, follow these steps:
 * 1) Start Internet Explorer.
 * 2) On the Tools menu, click Internet Options.
 * 3) Click the Connections tab, and then click LAN settings.
 * 4) Click to select the Bypass proxy server for local addresses check box in the Proxy server area, and then click OK two times.



MORE INFORMATION
In Windows Vista, the WebDAV redirector uses the automatic logon (auto-logon) policy to connect to a Web folder. Additionally, the WebDAV redirector sets the security level of the auto-logon policy to WINHTTP_AUTOLOGON_SECURITY_LEVEL_MEDIUM.

In a non-proxy network configuration, WinHTTP will not use default credentials when the WebDAV redirector sets the security level to WINHTTP_AUTOLOGON_SECURITY_LEVEL_MEDIUM. This is true for the NetBIOS name and for the FQDN.

WinHTTP does not check Internet Explorer zone information. However, WinHTTP relies on the Internet Explorer proxy settings that the WebDAV redirector sets to determine whether default credentials are used.

In Internet Explorer, you are not prompted for the user name or the password when you use the NetBIOS name to connect to a Web folder. This is because Internet Explorer looks for a period character (.) in the NetBIOS name. If a period character is not present in the NetBIOS name, Internet Explorer considers the NetBIOS name to be present in the &quot;Local intranet&quot; zone.

Keywords: kbtshoot kbexpertiseadvanced KB940172

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.