Installing WebDAV client on Windows Server 2016

WebDAV (Web Distributed Authoring and Versioning) is an extension of the HTTP/1.1 protocol. The WebDAV protocol allows to access files on the remote server and perform common actions: reading, writing, deleting files. Typically, this protocol is used by users to work together with remote files. Simply put, WebDAV is essentially a web-based shared folder. To access the WebDAV shares, WebDAV client must be installed on the client side.

In Microsoft server operating systems there is no WebDAV client by default. For example, in Windows Server 2008 R2,2012/2012 R2, the WebDAV client is included to the Desktop-Experience feature. Therefore, to access WebDAV resources from these OSs, you must install this feature.

Install-WindowsFeature Desktop-Experience

Tip. In Windows Server 2008 R2, the Install-WindowsFeature cmdlet is missing, instead you need to use the Add-WindowsFeature.

Windows Server 2016 has a separate WebDAV-Redirector component. To install it, run the following command (you will need to reboot the server):

Install-WindowsFeature WebDAV-Redirector –Restart

After the reboot, verify that you have the WebDAV-Redirector feature installed:

Get-WindowsFeature WebDAV-Redirector | Format-Table –Autosize

webclient service windows server 2016

Two 2 new services will appear in the system:

  • WebClient (get-service WebClient) — Enable Windows-based programs to create, access, and modify Internet-based files;
  • MRxDAV (get-service MRxDAV) — File system driver (WebDav Client Redirector Driver).

webclient service server 2016

By default, the WebClient service and the MRxDAV driver are disabled and configured to run in Manual mode when a trigger event occurs. Apparently, according to the idea of the developers, the service should have been launched when it first accessed from the driver MRXDAV.SYS, but, alas, it does not work everywhere. Therefore, we will force Automatic option for the service.

Set-Service WebClient -StartupType Automatic

Set-Service MRxDAV -StartupType Automatic

Start the services by running the following commands:

Start-Service WebClient

Start-Service MRxDAV

windows server 2016 webdav client

The WebClient service is configured through the registry. All available settings are located in the registry key HKLM\SYSTEM\CurrentControlSet\Services\WebClient\Parameters.

webdav windows server 2016

From a practical point of view, the following parameters of the WebClient service may be of interest.

AcceptOfficeAndTahoeServers — Ability to connect to Web servers with SharePoint and Office Web Server (1 –by default);

BasicAuthLevel — The type of authentication used by the WebClient service. Available values:

  • 0 — Basic authentication disabled;
  • 1 — Basic authentication enabled for SSL shares only (default value on Windows Server 2016);
  • 2 or greater — Basic authentication enabled for SSL shares and for non-SSL shares (Not safe, because The username and password are sent in plain text);

FileSizeLimitInBytes — maximum size (bytes) for file transfers  (by default 50 MB).

To test the operation of WebDav Client, let’s use the webdav-enabled share on live.sysinternals.com. This web directory stores popular sysadmin’s utilities from Sysinternals.

You can mount WebDAV drive on Windows Server 2016 in the following ways:

  • Without SSL:
    net use * \live.sysinternals.com
  • With SSL:
    net use * \live.sysinternals.com@ssl
  • You can specify credentials to authenticate on a remote WebDav share:
    net use * \live.sysinternals.com@ssl /user:itbros *
  • You can specify a specific TCP port:
    \live.sysinternals.com@80folder

    or

    \live.sysinternals.com@sslshare
  • To delete the connected WebDav drive, run the command:
    net use * /del /y

webdav redirector

In case you’ll face with System error 67 has occured. The network name cannot be found after mounting the Webdav drive via explorer or cmdfollow the steps below to fix it:

  1. Check if WebClient service is started;
  2. Change the value of the registry parameter BasicAuthLevel to 1;
  3. Restart the computer.
I enjoy technology and developing websites. Since 2012 I'm running a few of my own websites, and share useful content on gadgets, PC administration and website promotion.
Latest posts by Cyril Kardashevsky (see all)

4 comments

  1. HI,
    Some questions.
    1). I’d like to login to a DBMS application that runs on Windows Server 2016 x64 bit by logging into my account and have it automatically log into to a website sharepoint drive with a different username/password and do this without prompting everytime I login to windows server 2016.
    Will the /persistance:yes work here or do I also have to setup the sharepoint in credential manager on windows server 2016? What about a second user logging into their WinServer 2016 and sharepoint account and keep their username password separate from mine in credential manager. This should be able to be done in the future for digital certs on CAC cards vs. username/password.
    2). If the sharepoint server has a digital cert that must be verified via a CA, does this have to be installed in the WinServer2016 intermediate or trusted Cert Store?

    By exporting and importing data into the DBMS via sharepoint, one doesn’t have to copy it to ones laptop, since the laptop has been setup as a mapped drive to the sharepoint server to review and/or copy the files from sharepoint that were exported by the WindServer2016 DBMS application.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.