[Bug]: Nextlcoud Windows client only installs nc:// protocol for current user #5754
Description
⚠️ Before submitting, please verify the following: ⚠️
- This is a bug, not a question or a configuration issue.
- This issue is not already reported on Github (I've searched it).
- Nextcloud Server and Desktop Client are up to date. See Server Maintenance and Release Schedule and Desktop Releases for supported versions.
- I agree to follow Nextcloud's Code of Conduct
Bug description
The nc:// links from a browser to edit/open e.g office documents locally only works for the user which installed the Nextcloud client.
The nc:// links should be registered for all users on the system if the app is available for all users.
We installed the Nextcloud client through a software center as admin user available for all users on the system and only the admin user can "edit documents locally". The other users get an error.
Our workaround contains the adding of nc:// protocol for all users but maybe this should be handled by the Nextcloud client installation.
Steps to reproduce
- Install Windows client as user X
- Try to "edit file locally" in the webapp as user Y
- Check the browser console
Expected behavior
The nc:// protocol should be registered for all users if all users have access to it.
Which files are affected by this bug
Windows desktop client
Operating system
Windows
Which version of the operating system you are running.
Windows 10
Package
Appimage
Nextcloud Server version
26.0.1
Nextcloud Desktop Client version
3.8.2
Is this bug present after an update or on a fresh install?
Fresh desktop client install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
Are you using an external user-backend?
- Default internal user-backend
- LDAP/ Active Directory
- SSO - SAML
- Other
Nextcloud Server logs
No response
Additional info
These are the registry settings we use to solve the problem.
indows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\nc]
@=URL:Nextcloud Protocol
"URL Protocol"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\nc\DefaultIcon]
@="C:\\Program Files\\Nextcloud\\nextcloud.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\nc\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\nc\shell\open]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\nc\shell\open\command]
@="\"C:\\Program Files\\Nextcloud\\nextcloud.exe\" \"%1\""