Windows 11 WebDav issue with OwnCloud

Павел Курьят 21 Reputation points
2022-01-03T20:21:35.887+00:00

Hey on there!

Got trouble with mounting drive through WebDav on Windows 11 desktop clients. On Windows 10 or 7 was no problems yet for 30+ different users and respectively OS assemblies .

System configuration: Serveside - WebDav cloud server OwnCloud 10.9.1-rc1 running on Ubuntu 20.04.3 LTS, SSL secured via LetsEncrypt (Traefik used). ClientSide - Windows 11 clients on Oracle VirtualBox (fresh install from MS official) and newly installed W11 on few client PCs

Expected behaviour: Mounting network drives using any in-box features, as it was on W7 or W10

Actual behaviour:

  1. Tried to map storage with command promt as admin: net use X: https://owncloud.mydomain.com/remote.php/webdav /persistent:no /savecred

or

net use X: "\\mydomain.com@SSL\remote.php\webdav\" /persistent:no /savecred

Both with error:

> System Error 59. Unexpected error

  1. Tried to use GUI to map network drive. Used address to map like https://owncloud.mydomain.com/remote.php/webdav. After entering credentials just repeately asking for credentials few times and finally got error:

> The mapped network drive could not be created because the following error has occurred A device attached to the system is not functioning

  1. Also tried PowerShell command: New-PSDrive -Name R -PSProvider FileSystem -Root "\owncloud.mydomain.com@rithansodo \remote.php\webdav" -Credential Get-Credential

Error occured:

> New-PSDrive : A device attached to the system is not functioning

For sure, next features are set correctly on client Windows 11 to use WebDAV:

  • Network Discovery enabled
  • Webclient service is running

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WebClient\Parameters set:

  • FileSizeLimitInBytes = 0xffffffff
  • FsCtlRequestTimeoutInSec=0xffffffff
  • BasicAuthLevel=2

No any events in OwnCloud log on server side when mapping commands trying to run! Seems like client even not trying to talk with server. Issue also posted on OC forum - https://central.owncloud.org/t/webdav-mapping-error-on-windows-11/34602

Duct tape solution: For few month stuck, find out same issue in past, with Windows 10 1903 update: https://social.technet.microsoft.com/Forums/ie/en-US/d01099e0-9e09-4382-8a09-cf6eba1b2d64/webdav-broken-in-update-1903?forum=win10itpronetworking

In the last reply find out something, that works fine. I replaced two DLLs WebCient service using with same DLLs from original Windows 10:

%WINDIR%/System32/winhttp.dll
%WINDIR%/System32/winhttpcom.dll

Backuped original W11 files before, then made administrator as owner and granted full permissions to the files. Otherway i was not allowed to change them. Then restarted WebClient service and everything goes fine.

Conclusion: I bet its an MS side bug, that should be fixed.

Best regards and thanks in advance for any other info about this issue (easier way to fix, maybe?) or Microsoft reaction.

P.S. Newbie here - help me with tags pls )

Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,361 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,835 questions
0 comments No comments
{count} votes

7 answers

Sort by: Most helpful
  1. ChuteBoxe 1 Reputation point
    2022-08-29T12:49:26.837+00:00

    I wouldn't be surprised if most people here forgot to specify the port.

    My port is 8080 so it should look like this http://myaddress.org:8080/WebDAV without the port it will try to map somewhere on your server.

    0 comments No comments

  2. Mark 0 Reputation points
    2023-01-24T16:30:46.06+00:00

    Anyone have a fix for this yet? Works fine on all Windows 10 PC's just not on windows 11.

    Was hoping Microsoft would have a fix by now.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.