I pay 250$ if someone can create me .reg files or a scirpt to set all necessary settigns ot make this issue not appear on windows server 2022:
When open MS document from mapped WebDAV disk, MS Office ask request login/password every time on saving new documents.
I know this is a Windows / Office Issue, but I think there needs to be a Registry Setting to make it just work as it works with any other tool like notepad etc.
Nextcloud version 27.1.1
PHP version 8.1.22
mysql version: 8.0.34
Apache
I’m not after your reward and didn’t spent lot of time looking into issue. but my short test mounting Nextcloud via webdav was not such easy as I expected.
I didn’t find the way to mount WebDAV folder from Explorer…
maybe this reg key is required (set it before already) HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\BasicAuthLevel = 2
folder is visible in Explorer and simple text files can be created and edited without issues
editing files with LibreOffice (no MS Office available) results in more or less same issue like you have
a. password request
b. if you mark [Remember password] there is another dialog telling you the "master password is required once per session
it makes me think there might be some silly Windows “security” feature… requesting password from Office suite (but why simple editor works without issues?)
both mention BasicAuthLevel = 2 which i set in my tests and restarted the service (but I didn’t reboot - maybe this is the key).
Maybe this helps you as well:
In general I would recommend you to use Nextcloud desktop client or maybe some 3rd party WebDAV application which might work better than integrated Windows WebDAV client.
When open MS document from mapped WebDAV disk, MS Office ask request login/password every time on saving new documents.
I know this is a Windows / Office Issue, but I think there needs to be a Registry Setting to make it just work as it works with any other tool like notepad etc.
Nextcloud version 27.1.1
PHP version 8.1.22
mysql version: 8.0.34
Apache
No. It’s an Office problem.
When you open an Office document via a WebDAV mount, the Office app (either MSOffice or Libre Office or whatever Office app) is forced to establish its own connection to the server (therefore the credentials are asked).
You can monitor this in the “Security" tab of your personal settings on the web frontend of your Nextcoud, where all connected clients are listed sorted by most recent activity:
I don’t use MS Office myself, but Libre Office has the option to permanently save the credentials for this connection. Additionally, you can consider protecting it with a master password, which is annoying because you have to add the master password every time you start a session:
So you should dig into the security settings of your MS Office and search for “Passwords for Web Connections” like Liber Office has. If you can’t find it, change to Libre