ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Disable update checks in the Nextcloud client (windows)

    IT Discussion
    nextcloud sync client updates registry windows nextcloud
    3
    14
    3.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DashrenderD
      Dashrender
      last edited by

      A bit surprised this isn't part of the install in Chcolately. Chrome Enterprise (the default version installed from Chocolately) from Chocolately has auto updates disabled in the app (likely also a reg value).

      JaredBuschJ 1 Reply Last reply Reply Quote 0
      • JaredBuschJ
        JaredBusch @Dashrender
        last edited by JaredBusch

        @Dashrender said in Disable update checks in the Nextcloud client (windows):

        A bit surprised this isn't part of the install in Chcolately. Chrome Enterprise (the default version installed from Chocolately) from Chocolately has auto updates disabled in the app (likely also a reg value).

        That would require Nextcloud to get off their ass and allow command line switches.

        DashrenderD 1 Reply Last reply Reply Quote 0
        • DashrenderD
          Dashrender @JaredBusch
          last edited by

          @JaredBusch said in Disable update checks in the Nextcloud client (windows):

          @Dashrender said in Disable update checks in the Nextcloud client (windows):

          A bit surprised this isn't part of the install in Chcolately. Chrome Enterprise (the default version installed from Chocolately) from Chocolately has auto updates disabled in the app (likely also a reg value).

          That would require Nextcloud to get off their ass and allow command line switches.

          No it wouldn't. the nuget package could have a reg edit included in it.

          JaredBuschJ 1 Reply Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch @Dashrender
            last edited by

            @Dashrender said in Disable update checks in the Nextcloud client (windows):

            @JaredBusch said in Disable update checks in the Nextcloud client (windows):

            @Dashrender said in Disable update checks in the Nextcloud client (windows):

            A bit surprised this isn't part of the install in Chcolately. Chrome Enterprise (the default version installed from Chocolately) from Chocolately has auto updates disabled in the app (likely also a reg value).

            That would require Nextcloud to get off their ass and allow command line switches.

            No it wouldn't. the nuget package could have a reg edit included in it.

            True, was not thinking about it from that side.

            1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch
              last edited by

              of note, the documentation has a different path. Possibly, a system newly installed from 2.6 may be this way. I do not have one available to check at the moment. I will tomorrow, and will try to remember to check immediately after install.

              There are also instructions for macOS.
              https://docs.nextcloud.com/desktop/2.6/autoupdate.html

              1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch
                last edited by JaredBusch

                For Linux clients, I found the location from this issue.
                https://github.com/nextcloud/desktop/issues/1480

                nano ~/.config/Nextcloud/nextcloud.cfg
                

                Add skipUpdateCheck=true to the [General] section

                black3dynamiteB 1 Reply Last reply Reply Quote 0
                • black3dynamiteB
                  black3dynamite @JaredBusch
                  last edited by

                  @JaredBusch said in Disable update checks in the Nextcloud client (windows):

                  For Linux clients, I found the location from this issue.
                  https://github.com/nextcloud/desktop/issues/1480

                  nano ~/.config/Nextcloud/nextcloud.cfg
                  

                  Add skipUpdateCheck=true to the [General] section

                  sed -i.bak -e '/^[General]/a\skipUpdateCheck=true' $HOME/.config/Nextcloud/nextcloud.cfg
                  
                  1 Reply Last reply Reply Quote 2
                  • black3dynamiteB
                    black3dynamite
                    last edited by

                    To prevent automatic updates and disallow manual overrides for Windows users.

                    $NextcloudPathExist = Test-Path -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Nextcloud GmbH\Nextcloud'
                    $NextcloudPolicyExist = Test-Path -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Nextcloud GmbH\Nextcloud'
                    
                    # if ($NextcloudPathExist -eq $true) {
                    #   Write-Host 'Valid'
                    #   Get-Item -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Nextcloud GmbH\Nextcloud' | New-ItemProperty -Name skipUpdateCheck -PropertyType DWord -Value 1
                    # }
                    # else {
                    #   Write-Host 'Not valid'
                    # }
                    
                    if ($NextcloudPolicyExist -eq $true) {
                      Write-Host 'Valid'
                      Get-Item -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Nextcloud GmbH\Nextcloud' | New-ItemProperty -Name skipUpdateCheck -PropertyType DWord -Value 1
                    }
                    else {
                      Write-Host 'Not valid'
                      New-Item -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies' -Name 'Nextcloud GmbH'
                      New-Item -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Nextcloud GmbH' -Name 'Nextcloud'
                      Get-Item -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Nextcloud GmbH\Nextcloud' | New-ItemProperty -Name skipUpdateCheck -PropertyType DWord -Value 1
                    }
                    
                    
                    JaredBuschJ 1 Reply Last reply Reply Quote 3
                    • JaredBuschJ
                      JaredBusch @black3dynamite
                      last edited by

                      @black3dynamite over achiever

                      1 Reply Last reply Reply Quote 2
                      • JaredBuschJ
                        JaredBusch
                        last edited by

                        Brand new install of 2.6.2 (current Chocolatey version) and the registry shows this.

                        da315d96-5df4-4776-8de5-2a303678a3a4-image.png

                        1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch
                          last edited by JaredBusch

                          jsut upgraded a system from 2.5 something. I made sure the key was set first.

                          after the upgrade it is gone.

                          37ce8b3e-b622-417f-9771-e93c6f5d7f78-image.png

                          What a pain in the ass.

                          1 Reply Last reply Reply Quote 0
                          • black3dynamiteB
                            black3dynamite
                            last edited by

                            @JaredBusch said in Disable update checks in the Nextcloud client (windows):

                            jsut upgraded a system from 2.5 something. I made sure the key was set first.

                            after the upgrade it is gone.

                            37ce8b3e-b622-417f-9771-e93c6f5d7f78-image.png

                            What a pain in the ass.

                            Where did you add the registry key?
                            HKLM\SOFTWARE\Policies\Nextcloud GmbH\Nextcloud?

                            JaredBuschJ 1 Reply Last reply Reply Quote 0
                            • JaredBuschJ
                              JaredBusch @black3dynamite
                              last edited by

                              @black3dynamite said in Disable update checks in the Nextcloud client (windows):

                              @JaredBusch said in Disable update checks in the Nextcloud client (windows):

                              jsut upgraded a system from 2.5 something. I made sure the key was set first.

                              after the upgrade it is gone.

                              37ce8b3e-b622-417f-9771-e93c6f5d7f78-image.png

                              What a pain in the ass.

                              Where did you add the registry key?
                              HKLM\SOFTWARE\Policies\Nextcloud GmbH\Nextcloud?

                              I did not add the second key because that was to prevent user override? My users don't have admin rights so even if they attempted ot override, it would never work.

                              1 Reply Last reply Reply Quote 0
                              • 1 / 1
                              • First post
                                Last post