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

    Disable update checks in the Nextcloud client (windows)

    IT Discussion
    nextcloud sync client updates registry windows nextcloud
    3
    14
    2010
    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.
    • JaredBusch
      JaredBusch last edited by JaredBusch

      My users do not have admin rights. So the stupid pop up about new versions is annoying.
      009af41a-29bd-44b2-831e-bc37ecbeddc5-image.png

      Also, I manage this with chocolatey, so updates happen there whenever the repo is updated. Typically a week or more after a new client version is released.

      It is a simple registry setting, here is the PowerShell to set it, assuming you have a 64 bit Windows install.

      New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\Nextcloud GmbH\Nextcloud" -Name "skipUpdateCheck" -Value 1 -PropertyType DWORD
      

      In theory, this is the 32-bit location, but I have no way to check it.

      New-ItemProperty -Path "HKLM:\SOFTWARE\Nextcloud GmbH\Nextcloud" -Name "skipUpdateCheck" -Value 1 -PropertyType DWORD
      

      The one thing I have not checked, since I just googled up this answer today, is whether or not you have to reset this after an upgrade. I'm assuming this setting is the thing that is set when you click "skip this version" in the GUI pop up.

      1 Reply Last reply Reply Quote 3
      • Dashrender
        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).

        JaredBusch 1 Reply Last reply Reply Quote 0
        • JaredBusch
          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.

          Dashrender 1 Reply Last reply Reply Quote 0
          • Dashrender
            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.

            JaredBusch 1 Reply Last reply Reply Quote 0
            • JaredBusch
              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
              • JaredBusch
                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
                • JaredBusch
                  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

                  black3dynamite 1 Reply Last reply Reply Quote 0
                  • black3dynamite
                    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
                    • black3dynamite
                      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
                      }
                      
                      
                      JaredBusch 1 Reply Last reply Reply Quote 3
                      • JaredBusch
                        JaredBusch @black3dynamite last edited by

                        @black3dynamite over achiever

                        1 Reply Last reply Reply Quote 2
                        • JaredBusch
                          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
                          • JaredBusch
                            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
                            • black3dynamite
                              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?

                              JaredBusch 1 Reply Last reply Reply Quote 0
                              • JaredBusch
                                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
                                • First post
                                  Last post