Skip to content

[Bug]: Nextlcoud Windows client only installs nc:// protocol for current user #5754

Open
@ghost

Description

⚠️ Before submitting, please verify the following: ⚠️

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

  1. Install Windows client as user X
  2. Try to "edit file locally" in the webapp as user Y
  3. 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\""

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions