• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Opera automatically sets itself as the default browser on installation (Windows)

    Opera for Windows
    8
    18
    5262
    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.
    • giannitrib
      giannitrib @leocg last edited by

      @leocg that may be the case but the default when updating with winget (microsoft's package manager of choice now) it sets it as a default browser. It should be that when going through that route it doesn't change the default browser settings

      Reply Quote 1
        burnout426 1 Reply Last reply
      • burnout426
        burnout426 Volunteer @giannitrib last edited by

        @giannitrib

        Haven't messed with winget and don't really know how it's all set up, but there might be a way to pass --setdefaultbrowser=0 to the winget upgrade command you use to upgrade Opera. Or, if you do winget upgrade --all, there might be some file that you can put --setdefaultbrowser=0 in for Opera so its upgrade command passes that to Opera's installer.

        But, that's assuming winget makes use of the Opera installer at all. If the Opera winget package is just Opera's install files that winget just extracts or something, winget would need to support not making Opera the default browser on upgrade.

        Something to investigate though.

        Reply Quote 1
          1 Reply Last reply
        • holmes8888
          holmes8888 @burnout426 last edited by holmes8888

          @burnout426 Thank you, I just completed the steps to reinstall Opera. Will now wait for the next Opera update to see if the issue is resolved.

          Reply Quote 2
            1 Reply Last reply
          • holmes8888
            holmes8888 @burnout426 last edited by

            @burnout426 Unfortunately, the reinstallation steps didn't help. Opera updated itself again and set itself as the default browser.

            It looks like this is done not by the installation itself, but by Opera when you run it the first time after it updates. When I ran Opera after the latest update, I got multiple Windows prompts telling me that Opera wants to make changes to my device. I allowed the changes and then checked 'Default Apps' in Windows and confirmed that Opera became the default browser again.

            Reply Quote 1
              burnout426 1 Reply Last reply
            • burnout426
              burnout426 Volunteer @holmes8888 last edited by

              @holmes8888 Still strange. None of my Operas I have installed do that on update.

              Reply Quote 1
                1 Reply Last reply
              • jatinsanghvi
                jatinsanghvi last edited by

                Same behavior for me since a few months. I am using Opera as my primary browser on both PC and cellphone since 2010, but nowadays because of my company SSO policy, I need to open local files and links in other apps in a different browser. Opera keeps making itself the default browser around once or twice every week and I need to go to Windows Default Apps and reset the settings over and over. Also, I am not sure what is the deal with frequent popups from Windows about allowing Opera to give access to Public/Private network. No other browser requires any such accesses. The only way forward I see at this point to open links in different browser for sure is to delete Opera from my PC.

                I tried uninstalling Opera and reinstalled it with 'Make Opera your default browser' deselected, but the moment it got installed, it was the default browser again. I didn't delete user data at the time of uninstalling but the way Opera is behaving these days, not sure even that is going to help it.

                Reply Quote 1
                  JoohnDooe 1 Reply Last reply
                • JoohnDooe
                  JoohnDooe @jatinsanghvi last edited by

                  Desinstalling completly Opera and using another browser solved the problem.
                  There are enough alternatives available, there is no need to waste time trying to find a workaround.
                  I'll check in a year if this behavior is corrected.

                  Reply Quote 0
                    1 Reply Last reply
                  • Labna
                    Labna last edited by

                    @burnout426 said in Opera automatically sets itself as the default browser on installation (Windows):

                    Haven't messed with winget and don't really know how it's all set up, but there might be a way to pass --setdefaultbrowser=0 to the winget upgrade command you use to upgrade Opera. Or, if you do winget upgrade --all, there might be some file that you can put --setdefaultbrowser=0 in for Opera so its upgrade command passes that to Opera's installer.
                    But, that's assuming winget makes use of the Opera installer at all. If the Opera winget package is just Opera's install files that winget just extracts or something, winget would need to support not making Opera the default browser on upgrade.
                    Something to investigate though.

                    For Winget you have to use the --override parameter.

                    For example : > winget update --override "setdefaultbrowser=0 desktopshortcut=0 startmenushortcut=0 pintotaskbar=0 launchbrowser=0" Opera.Opera

                    The installer parameter copyonly=[0|1], is usable too but not sure of what append after this kind of install.
                    : If true, the installer will only copy the files to the installation folder and will otherwise not perform any modification on the system.

                    For the > winget update --all I use > winget update --silent --accept-package-agreements --accept-source-agreements --all --wait --disable-interactivity --override "setdefaultbrowser=0 desktopshortcut=0 startmenushortcut=0 pintotaskbar=0 launchbrowser=0" and as many installer ignore unknown parameters it works most of the time.

                    Reply Quote 1
                      burnout426 1 Reply Last reply
                    • burnout426
                      burnout426 Volunteer @Labna last edited by

                      @Labna Thanks.

                      The installer parameter copyonly=[0|1], is usable too but not sure of what append after this kind of install.

                      See the "--singleprofile=1|0" section at https://reddit.com/r/operabrowser/wiki/opera/installer_commands/ for one example of copyonly.

                      Reply Quote 0
                        1 Reply Last reply
                      • Labna
                        Labna last edited by

                        After trying few things there is some changes that needs to be done for Winget to work properly :

                        1. I wrote a script with multiples winget update in a row, beginning with some specific overrride options, then doing the global update.
                        2. Trying with the last update the mentioned parameters in the --help option with the installer. apparently you need to add -- in front of the options to be functional (it wasn't clear)
                        3. Winget accepts --override only with one package at a time

                        So, it's my final version in my script :

                        winget update --silent --accept-package-agreements --accept-source-agreements --disable-interactivity --override "--setdefaultbrowser=0 --desktopshortcut=0 --startmenushortcut=0 --pintotaskbar=0 ----launchbrowser=0 --silent" Opera.Opera
                        winget update --silent --accept-package-agreements --accept-source-agreements --all --wait --disable-interactivity 
                        

                        If this doesn't work for you, my last solution is to block the version used in Winget so it'll ignore any future update.

                        Reply Quote 1
                          burnout426 1 Reply Last reply
                        • burnout426
                          burnout426 Volunteer @Labna last edited by

                          @Labna said in Opera automatically sets itself as the default browser on installation (Windows):

                          ----launchbrowser=0

                          I assume you meant --launchbrowser=0.

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

                          Computer browsers

                          • Opera for Windows
                          • Opera for Mac
                          • Opera for Linux
                          • Opera beta version
                          • Opera USB

                          Mobile browsers

                          • Opera for Android
                          • Opera Mini
                          • Opera Touch
                          • Opera for basic phones

                          • Add-ons
                          • Opera account
                          • Wallpapers
                          • Opera Ads

                          • Help & support
                          • Opera blogs
                          • Opera forums
                          • Dev.Opera

                          • Security
                          • Privacy
                          • Cookies Policy
                          • EULA
                          • Terms of Service

                          • About Opera
                          • Press info
                          • Jobs
                          • Investors
                          • Become a partner
                          • Contact us

                          Follow Opera

                          • Opera - Facebook
                          • Opera - Twitter
                          • Opera - YouTube
                          • Opera - LinkedIn
                          • Opera - Instagram

                          © Opera Software 1995-