Connect Windows Server 2012 to OwnCloud as a network drive via WebDAV

Background:

My OwnCloud is a VM appliance based on Ubuntu.  I want to have a simple way to move files from my Windows Server to OwnCloud.

Solution Approach:

OwnCloud support WebDAV.  Windows support to map WebDAV as a network drive.

Problem:

Windows Server need special adjustment on settings before it can connect the WebDAV network drive.

References:

QNAP instruction on using WebDAV
IIS.NET - Robert McMurray, Using WebDAV Redirector (with detail descriptions for parameter treaks)
Blog by PuliPuli
Detail

High Level Steps

  1. Install new feature Desktop Experience in Windows Server.
  2. Set the service "Web Client" to Automatic startup.
Connect via HTTP WebDAV
  1. Enable basic Authentication, and reboot: (Superuser.com and MS KB841215)
    1. set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters ; DWORD value "BasicAuthLevel" to "2".
    2. Add the server to the list for forward authentication (KB941050)
  2. Remember to restart "WebClient" service after configuration.
  3. Use map drive like this (must use IP address:)
    1. net use z: http://192.168.x.x/owncloud/remote.php/webdav/ /user:yourname password
Connect via HTTPS WebDAV
  1. You must ensure
    1. The https SSL certificate is trusted.  Otherwise, add the certificate to your root trusted cert.
    2. The hostname of the SSL certificate matched the host name.
  2. Test your HTTPS connection via Internet Explorer.  Ensure there is no error for IE to accept the SSL certificate
  3. Remember to restart "WebClient" service after configuration. 
  4.  map drive:
    1. net use z: https://f.q.d.n/owncloud/remote.php/webdav/ /user:yourname password





Comments

Popular Posts