Why does mapping Windows drive to Artifactory using WebDav does not authenticate correctly?

By default, Windows WebClient might allow basic authentication over SSL only. For that reason, when using WebDav and mapping a network drive to an Artifactory repository using the HTTP protocol (and not HTTPS) and trying to use credentials for the authentication, the client might not send the credentials.

This behaviour can be changed by following the instructions below:

1. Open the regedit.exe file

2. Go to “HKEY_LOCAL_MACHINE” -> “SYSTEM” -> “CurrentControlSet” -> “services” -> “WebClient” -> “Parameters”.

3. Change the value of the “BasicAuthLevel” to number “2”

4. Restart the ‘WebClient‘ service

After doing this, the client will allow the sending of credentials through HTTP.