WebDAV broken in update 1903

Hi,

it appears that after update 1903, something got broken in WebDAV support. Previously, I could run WebDAV server on a Linux host like this:

    sudo docker run --restart always -e AUTH_TYPE=Digest -e USERNAME=ghost -e PASSWORD=secret1234 --publish 7777:80 -d bytemark/webdav

And then I could connect to port 7777 on that server from Windows 10 and put files there with no issues. Now, any attempt to put file there

results in "Can't read from source file or disk". Logs on the server side report this:

192.168.173.26 - - [11/Aug/2019:09:00:14 +0000] "OPTIONS / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:14 +0000] "OPTIONS / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:14 +0000] "OPTIONS / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:14 +0000] "OPTIONS /desktop.ini HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:15 +0000] "OPTIONS /desktop.ini HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:15 +0000] "OPTIONS / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:15 +0000] "OPTIONS / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:15 +0000] "OPTIONS / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:25 +0000] "OPTIONS / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:25 +0000] "OPTIONS / HTTP/1.1" 200 - "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:25 +0000] "PROPFIND / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:25 +0000] "PROPFIND / HTTP/1.1" 207 831 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:25 +0000] "PROPFIND / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:25 +0000] "PROPFIND / HTTP/1.1" 207 831 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:25 +0000] "PROPFIND / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:25 +0000] "PROPFIND / HTTP/1.1" 207 2021 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:42 +0000] "PROPFIND /desktop.ini HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:42 +0000] "PROPFIND /desktop.ini HTTP/1.1" 404 209 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:42 +0000] "PROPFIND / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:42 +0000] "PROPFIND / HTTP/1.1" 207 2021 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:44 +0000] "PROPFIND /test.png HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:45 +0000] "PROPFIND /test.png HTTP/1.1" 404 206 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:45 +0000] "PROPFIND / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:45 +0000] "PROPFIND / HTTP/1.1" 207 831 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:45 +0000] "PUT /test.png HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:46 +0000] "PUT /test.png HTTP/1.1" 201 181 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:46 +0000] "LOCK /test.png HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:46 +0000] "LOCK /test.png HTTP/1.1" 200 447 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:46 +0000] "PROPPATCH /test.png HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:46 +0000] "PROPPATCH /test.png HTTP/1.1" 207 392 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:46 +0000] "HEAD /test.png HTTP/1.1" 401 - "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:46 +0000] "HEAD /test.png HTTP/1.1" 200 - "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:46 +0000] "PUT /test.png HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:47 +0000] "DELETE /test.png HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

[Sun Aug 11 09:00:47.973048 2019] [dav:error] [pid 14:tid 140601082137320] [client 192.168.173.26:53610] Could not DELETE /test.png due to a failed precondition (e.g. locks).  [424, #0]

[Sun Aug 11 09:00:47.973075 2019] [dav:error] [pid 14:tid 140601082137320] [client 192.168.173.26:53610] An error occurred on another resource, preventing the requested operation on this resource.  [424, #0]

192.168.173.26 - ghost [11/Aug/2019:09:00:47 +0000] "DELETE /test.png HTTP/1.1" 424 568 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

First, the file is uploaded with no issues, then I see HEAD, followed by another PUT, followed by DELETE (which fails, because the file still locked).

Does anybody know how to solve this problem?

Hi Vladimir
Greetings! I am Vijay, an Independent Advisor. Would suggest that you should post this question to Technet as well.

Windows IT Pro Technet Forum - https://social.technet.microsoft.com/Forums/win...

Do let me know if you have any more question or require further help.
Best regards
Vijay Verma

Timezone: UTC+05:30, PST+12:30
Availability Hours (UTC) : 05:00 AM - 05:00 PM

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Hi,

it appears that after update 1903, something got broken in WebDAV support. Previously, I could run WebDAV server on a Linux host like this:

    sudo docker run --restart always -e AUTH_TYPE=Digest -e USERNAME=ghost -e PASSWORD=secret1234 --publish 7777:80 -d bytemark/webdav

And then I could connect to port 7777 on that server from Windows 10 and put files there with no issues. Now, any attempt to put file there

results in "Can't read from source file or disk". Logs on the server side report this:

192.168.173.26 - - [11/Aug/2019:09:00:14 +0000] "OPTIONS / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:14 +0000] "OPTIONS / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:14 +0000] "OPTIONS / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:14 +0000] "OPTIONS /desktop.ini HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:15 +0000] "OPTIONS /desktop.ini HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:15 +0000] "OPTIONS / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:15 +0000] "OPTIONS / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:15 +0000] "OPTIONS / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:25 +0000] "OPTIONS / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:25 +0000] "OPTIONS / HTTP/1.1" 200 - "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:25 +0000] "PROPFIND / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:25 +0000] "PROPFIND / HTTP/1.1" 207 831 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:25 +0000] "PROPFIND / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:25 +0000] "PROPFIND / HTTP/1.1" 207 831 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:25 +0000] "PROPFIND / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:25 +0000] "PROPFIND / HTTP/1.1" 207 2021 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:42 +0000] "PROPFIND /desktop.ini HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:42 +0000] "PROPFIND /desktop.ini HTTP/1.1" 404 209 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:42 +0000] "PROPFIND / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:42 +0000] "PROPFIND / HTTP/1.1" 207 2021 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:44 +0000] "PROPFIND /test.png HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:45 +0000] "PROPFIND /test.png HTTP/1.1" 404 206 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:45 +0000] "PROPFIND / HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:45 +0000] "PROPFIND / HTTP/1.1" 207 831 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:45 +0000] "PUT /test.png HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:46 +0000] "PUT /test.png HTTP/1.1" 201 181 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:46 +0000] "LOCK /test.png HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:46 +0000] "LOCK /test.png HTTP/1.1" 200 447 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:46 +0000] "PROPPATCH /test.png HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:46 +0000] "PROPPATCH /test.png HTTP/1.1" 207 392 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:46 +0000] "HEAD /test.png HTTP/1.1" 401 - "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - ghost [11/Aug/2019:09:00:46 +0000] "HEAD /test.png HTTP/1.1" 200 - "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:46 +0000] "PUT /test.png HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

192.168.173.26 - - [11/Aug/2019:09:00:47 +0000] "DELETE /test.png HTTP/1.1" 401 381 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

[Sun Aug 11 09:00:47.973048 2019] [dav:error] [pid 14:tid 140601082137320] [client 192.168.173.26:53610] Could not DELETE /test.png due to a failed precondition (e.g. locks).  [424, #0]

[Sun Aug 11 09:00:47.973075 2019] [dav:error] [pid 14:tid 140601082137320] [client 192.168.173.26:53610] An error occurred on another resource, preventing the requested operation on this resource.  [424, #0]

192.168.173.26 - ghost [11/Aug/2019:09:00:47 +0000] "DELETE /test.png HTTP/1.1" 424 568 "-" "Microsoft-WebDAV-MiniRedir/10.0.18362"

First, the file is uploaded with no issues, then I see HEAD, followed by another PUT, followed by DELETE (which fails, because the file still locked).

Does anybody know how to solve this problem?

I have the same problem, with a similar error but saving into a sharepoint document library with office 2016.  

HTTP Error 401. The requested resource requires user authentication

Everything worked fine until I installed windows 10 1903.

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

I have the same issue as original post, also since 1903. Code that has been working for years now breaks 100% of the time. No issues reading from WebDAV, renaming existing files. Copies to the WebDAV resource fail 100%. Other WebDAV tools (CyberDuck, et al) work fine from same computer. Windows 10 1903 introduced this issue on every system I've tested (4 so far). Previous Windows 10 builds work fine.

Can we get some help on this?

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

There is a workaround, which i have tested to work, but you use with your own risk because there is no confirmation for this solution from Microsoft.

It is to replace winhttp.dll and winhttpcom.dll from the previous windows version c:\windows.old\system32\ folder to c:\windows\system32\. Just backup those files first from the c:\windows\system32\. 

You need to take ownership of the files and then set full permission on the files for the user you are gonna replace them with in order for you to be able do anything for them.

After you've replaced the files, restart Webclient service.

4 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

There is a workaround, which i have tested to work, but you use with your own risk because there is no confirmation for this solution from Microsoft.

It is to replace winhttp.dll and winhttpcom.dll from the previous windows version c:\windows.old\system32\ folder to c:\windows\system32\. Just backup those files first from the c:\windows\system32\. 

You need to take ownership of the files and then set full permission on the files for the user you are gonna replace them with in order for you to be able do anything for them.

After you've replaced the files, restart Webclient service.

This did not work for me.

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

I also added on the technet forum, where i also commented, that:

PS. At first i also replaced davcint.dll and WebClnt.dll, but i then replaced them with the current version dlls and it's still working so i think there is no need to replace them, but if the solution won't work for you, then you can test replacing them also.

2 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

This worked for me. Thank you. I wish I'd had this about a month ago. It would have saved me so much time. As it is, the other solutions I've tried were poor substitutes. THANK YOU.

<ringing silence from Microsoft>

1 person was helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

This worked for me!

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

 
 

Question Info


Last updated June 30, 2020 Views 1,301 Applies to: