# Webdav stability - need reconnect every time windows boot

**URL:** <https://help.nextcloud.com/t/webdav-stability-need-reconnect-every-time-windows-boot/6477>\
**Category:** ℹ️ Support\
**Tags:** windows, nc10\
**Created:** [December 20, 2016, 12:28pm UTC](https://help.nextcloud.com/t/webdav-stability-need-reconnect-every-time-windows-boot/6477 "2016-12-20T12:28:25Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![sakal](https://help.nextcloud.com/user_avatar/help.nextcloud.com/sakal/32/34283_2.png) [@sakal](https://help.nextcloud.com/u/sakal)\
**Post date:** [December 20, 2016, 12:28pm UTC](https://help.nextcloud.com/t/webdav-stability-need-reconnect-every-time-windows-boot/6477/1 "2016-12-20T12:28:25Z")

</div>

Hello,

i have about 10 users on NEXTCLOUD and all of them are connecting on nextcloud by WEBDAV. I got windows 7 and win10 users and all of them have problem: After reboot thay need delete not working shortcut in MyCOMPUTER and add by command " net use M: [https://mydomain.com/remote.php/webdav/](https://mydomain.com/remote.php/webdav/) /user:myuser mypass /persistent:yes " nextcloud on drive “M” again.

This is very iritairing and not realy confortable. Have i something wrong configured on my server or how i can solve this issue?

server is running on Ubuntu server 16.04.  
CPU and RAM are on 20% used, so lot of resources available…

Server version: Apache/2.4.18 (Ubuntu) + SSL cert from LetsCrypt  
PHP 7.0.8-0ubuntu0.16.04.3 (cli) ( NTS )  
Zend Engine v3.0.0, Copyright © 1998-2016 Zend Technologies  
with Zend OPcache v7.0.8-0ubuntu0.16.04.3,  
Nextcloud version - 10.0.2 (stable)  
{“installed”:true,“maintenance”:false,“version”:“9.1.2.2”,“versionstring”:“10.0.2”,“edition”:""}

I just know there is cache not configured. Can this make problems? “No memory cache has been configured. To enhance your performance please configure a memcache if available.”

---

<div class="post-metadata">

**Author:** ![sakal](https://help.nextcloud.com/user_avatar/help.nextcloud.com/sakal/32/34283_2.png) [@sakal](https://help.nextcloud.com/u/sakal)\
**Post date:** [December 20, 2016, 2:13pm UTC](https://help.nextcloud.com/t/webdav-stability-need-reconnect-every-time-windows-boot/6477/2 "2016-12-20T14:13:09Z")

</div>

I did try this but not help:

> **[ownCloud Central](https://central.owncloud.org)**
>
> ownCloud Central: Discuss - Learn - Ask

also  
“SetEnvIf Authorization “(.\*)” HTTP\_AUTHORIZATION=$1”  
also  
for windows7 users: try to start the service “WebClient”, then it should work.

Nothing help so far.

And also from my LOGs everytime i cannot connect on webdav i see this:

> Debug webdav Sabre\DAV\Exception\NotAuthenticated: HTTP/1.1 401 No ‘Authorization: Basic’ header found. Either the client didn’t send one, or the server is mis-configured

> ```
> [internal function] Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
> /var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
> /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 446: Sabre\Event\EventEmitter->emit('beforeMethod', Array)
> /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 248: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
> /var/www/nextcloud/apps/dav/appinfo/v1/webdav.php - line 60: Sabre\DAV\Server->exec()
> /var/www/nextcloud/remote.php - line 165: require_once('/var/www/nextcl...')
> {main}
> 
> ```

---

<div class="post-metadata">

**Author:** ![gRg](https://help.nextcloud.com/letter_avatar/grg/32/6_22734026db12803ebb3e059622ac3534.png) [@gRg](https://help.nextcloud.com/u/gRg)\
**Post date:** [December 22, 2016, 8:32am UTC](https://help.nextcloud.com/t/webdav-stability-need-reconnect-every-time-windows-boot/6477/3 "2016-12-22T08:32:06Z")

</div>

Sorry I have no solution right now, but I have the same problem and need a solution. Would be great if someone can help us 🙂

---

<div class="post-metadata">

**Author:** ![sakal](https://help.nextcloud.com/user_avatar/help.nextcloud.com/sakal/32/34283_2.png) [@sakal](https://help.nextcloud.com/u/sakal)\
**Post date:** [December 22, 2016, 10:09am UTC](https://help.nextcloud.com/t/webdav-stability-need-reconnect-every-time-windows-boot/6477/4 "2016-12-22T10:09:29Z")

</div>

Does it meen this is normal for nextcloud ? So nobody have working webdav ?

---

<div class="post-metadata">

**Author:** ![sakal](https://help.nextcloud.com/user_avatar/help.nextcloud.com/sakal/32/34283_2.png) [@sakal](https://help.nextcloud.com/u/sakal)\
**Post date:** [January 4, 2017, 8:44pm UTC](https://help.nextcloud.com/t/webdav-stability-need-reconnect-every-time-windows-boot/6477/5 "2017-01-04T20:44:34Z")

</div>

Peoples please help. Any solution ?

---

<div class="post-metadata">

**Author:** ![tflidd](https://help.nextcloud.com/letter_avatar/tflidd/32/6_22734026db12803ebb3e059622ac3534.png) [@tflidd](https://help.nextcloud.com/u/tflidd)\
**Post date:** [January 4, 2017, 8:55pm UTC](https://help.nextcloud.com/t/webdav-stability-need-reconnect-every-time-windows-boot/6477/6 "2017-01-04T20:55:33Z")

</div>

The native Windows webDAV is known to be a bit buggy but newer version are told to be better:  
[http://sabre.io/dav/clients/windows/](http://sabre.io/dav/clients/windows/)

---

<div class="post-metadata">

**Author:** ![godfuture](https://help.nextcloud.com/user_avatar/help.nextcloud.com/godfuture/32/7878_2.png) [@godfuture](https://help.nextcloud.com/u/godfuture)\
**Post date:** [January 12, 2017, 3:50pm UTC](https://help.nextcloud.com/t/webdav-stability-need-reconnect-every-time-windows-boot/6477/7 "2017-01-12T15:50:42Z")

</div>

I have exactly the same issue. Waiting for any solution proposal, as I do not know anything about Windows webdav client internals.

---

<div class="post-metadata">

**Author:** ![tflidd](https://help.nextcloud.com/letter_avatar/tflidd/32/6_22734026db12803ebb3e059622ac3534.png) [@tflidd](https://help.nextcloud.com/u/tflidd)\
**Post date:** [January 13, 2017, 7:55am UTC](https://help.nextcloud.com/t/webdav-stability-need-reconnect-every-time-windows-boot/6477/8 "2017-01-13T07:55:22Z")

</div>

What you can do is to check your webdav, if it is properly installed with help of litmus test:

> **[How to compile and run litmus (on debian) for WebDAV tests](https://central.owncloud.org/t/how-to-compile-and-run-litmus-on-debian-for-webdav-tests/839?u=tflidd)**
>
> litmus is a WebDAV test suite to test your webserver for all needed WebDAV methods which could help you debugging WebDAV problems like described in this FAQ: https://forum.owncloud.org/viewtopic.php?f=17&t=7536 The test suite is available here: ...

If that works well, you have to figure out the particularities of the Windows clients yourself (special SSL ciphers, patches, …) or even consider other clients to mount Nextcloud storage like netdrive.

---

<div class="post-metadata">

**Author:** ![tflidd](https://help.nextcloud.com/letter_avatar/tflidd/32/6_22734026db12803ebb3e059622ac3534.png) [@tflidd](https://help.nextcloud.com/u/tflidd)\
**Post date:** [January 13, 2017, 9:06am UTC](https://help.nextcloud.com/t/webdav-stability-need-reconnect-every-time-windows-boot/6477/9 "2017-01-13T09:06:38Z")

</div>

at least here it seems to work with Win 10: [NC 11: WebDAV using Windows 7 thru SSL doesn't work](https://help.nextcloud.com/t/nc-11-webdav-using-windows-7-thru-ssl-doesnt-work/7467)

---

<div class="post-metadata">

**Author:** ![Mikkel\_Junker\_Rasmus](https://help.nextcloud.com/user_avatar/help.nextcloud.com/mikkel_junker_rasmus/32/2587_2.png) [@Mikkel\_Junker\_Rasmus](https://help.nextcloud.com/u/Mikkel_Junker_Rasmus)\
**Post date:** [January 20, 2017, 8:02am UTC](https://help.nextcloud.com/t/webdav-stability-need-reconnect-every-time-windows-boot/6477/10 "2017-01-20T08:02:02Z")

</div>

Hi. I managed to get it to work in Nextcloud 10.0.0.3. Set the webclient service in windows 10 to start with windows.  
Users only have to type in their password when accessing the mapped drive after a reboot once, and they can access files.  
Hope this helps.  
Mikkel

---

<div class="post-metadata">

**Author:** ![wizdude](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wizdude/32/603_2.png) [@wizdude](https://help.nextcloud.com/u/wizdude)\
**Post date:** [January 20, 2017, 9:16am UTC](https://help.nextcloud.com/t/webdav-stability-need-reconnect-every-time-windows-boot/6477/11 "2017-01-20T09:16:27Z")

</div>

> [@sakal](#):
>
> After reboot thay need delete not working shortcut in MyCOMPUTER and add by command " net use M: [https://mydomain.com/remote.php/webdav/](https://mydomain.com/remote.php/webdav/) /user:myuser mypass /persistent:yes " nextcloud on drive “M” again.

i had this exact same problem just mapping a drive letter to my NAS where the credentials wouldn’t persist after a reboot. the solution was to use the /savecred option. this saves the credentials into the windows credential manager.

can you try this and see if it fixes the problem?

net use m: [https://mydomain.com/remote.php/webdav](https://mydomain.com/remote.php/webdav) /savecred /persistent:yes

you should be prompted for your credentials which will be saved.

cheers, wizdude.

---

<div class="post-metadata">

**Author:** ![Kostik](https://help.nextcloud.com/letter_avatar/kostik/32/6_22734026db12803ebb3e059622ac3534.png) [@Kostik](https://help.nextcloud.com/u/Kostik)\
**Post date:** [June 21, 2017, 2:03pm UTC](https://help.nextcloud.com/t/webdav-stability-need-reconnect-every-time-windows-boot/6477/12 "2017-06-21T14:03:13Z")

</div>

It solved for me. Thanks!

---

<div class="post-metadata">

**Author:** ![CptDayDreamer](https://help.nextcloud.com/user_avatar/help.nextcloud.com/cptdaydreamer/32/17910_2.png) [@CptDayDreamer](https://help.nextcloud.com/u/CptDayDreamer)\
**Post date:** [August 9, 2019, 4:32am UTC](https://help.nextcloud.com/t/webdav-stability-need-reconnect-every-time-windows-boot/6477/13 "2019-08-09T04:32:06Z")

</div>

Sorry for reactivating this old thread but your solution does not work for me now 2.5 years later. It connects and saves the credentials but after a restart I need to connect manually again. The Windows 10 login window appears and the credentials are already filled in but I need to press the button login.

---

<div class="post-metadata">

**Author:** ![NateScarlet](https://help.nextcloud.com/user_avatar/help.nextcloud.com/natescarlet/32/33096_2.png) [@NateScarlet](https://help.nextcloud.com/u/NateScarlet)\
**Post date:** [January 1, 2021, 3:15pm UTC](https://help.nextcloud.com/t/webdav-stability-need-reconnect-every-time-windows-boot/6477/14 "2021-01-01T15:15:37Z")

</div>

windows 7+ not support persistent basic auth credentials anymore.

> **[Windows 7 can't automatically reconnect a DAV share when Basic Authentication...](https://docs.microsoft.com/en-us/troubleshoot/windows-client/networking/cannot-automatically-reconnect-dav-share)**
>
> Describe a by-design behavior where Windows 7 can't automatically reconnect a DAV share when Basic Authentication is used.

A `net use` startup script that contains password is required , so i use powershell secure string to encrypt password

---

<div class="post-metadata">

**Author:** ![Russell\_Meier](https://help.nextcloud.com/user_avatar/help.nextcloud.com/russell_meier/32/33325_2.png) [@Russell\_Meier](https://help.nextcloud.com/u/Russell_Meier)\
**Post date:** [January 7, 2021, 1:49am UTC](https://help.nextcloud.com/t/webdav-stability-need-reconnect-every-time-windows-boot/6477/15 "2021-01-07T01:49:29Z")

</div>

Worked for me to “Set the webclient service in windows 10 to start with windows.”

---

<div class="post-metadata">

**Author:** ![DragonQ](https://help.nextcloud.com/user_avatar/help.nextcloud.com/dragonq/32/14661_2.png) [@DragonQ](https://help.nextcloud.com/u/DragonQ)\
**Post date:** [January 10, 2021, 2:38pm UTC](https://help.nextcloud.com/t/webdav-stability-need-reconnect-every-time-windows-boot/6477/16 "2021-01-10T14:38:29Z")

</div>

WebDAV in Windows does work but I found it to be really flakey so in the end I just switched to SMB and set Nextcloud to automatically detect changes in the file system.

---

<div class="post-metadata">

**Author:** ![dnilgreb](https://help.nextcloud.com/letter_avatar/dnilgreb/32/6_22734026db12803ebb3e059622ac3534.png) [@dnilgreb](https://help.nextcloud.com/u/dnilgreb)\
**Post date:** [January 14, 2021, 3:36pm UTC](https://help.nextcloud.com/t/webdav-stability-need-reconnect-every-time-windows-boot/6477/17 "2021-01-14T15:36:30Z")

</div>

I also experience WebDAV i n Windows to be less than reliant. I went with installing RaiDrive client, which works the way you would´ve hoped WebDAV would. Very pleased and have never looked back

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [November 6, 2024, 8:43pm UTC](https://help.nextcloud.com/t/webdav-stability-need-reconnect-every-time-windows-boot/6477/18 "2024-11-06T20:43:32Z")

</div>

wwe: close old topics

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 9, 2024, 10:47am UTC](https://help.nextcloud.com/t/webdav-stability-need-reconnect-every-time-windows-boot/6477/19 "2024-12-09T10:47:52Z")

</div>


