User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36 Steps to reproduce: Ran the following batch file: @Echo on Setlocal EnableDelayedExpansion if exist "C:\Program Files (x86)\Mozilla Firefox\" ( taskkill /f /im firefox.exe cd "C:\Program Files (x86)\Mozilla Firefox" firefox.exe -silent -setDefaultBrowser ) else ( Echo no ) pause Actual results: Script runs without error, and when I open Firefox, the prompt for setting Firefox as my default browser is no longer there; however, after checking my settings, Firefox is still not my default browser. Expected results: Firefox should be set as the default browser.
OS: Unspecified → Windows 7
Hardware: Unspecified → x86_64
Also occurs when running the following command in Start -> Run: -silent -setDefaultBrowser
> Windows NT 10.0 It contradicts with the summary. Are you really using Windows 7?
Yes, I am testing my scripts in a Windows 7 virtual machine.
Wanted to add that now the prompt for setting Firefox as default browser is appearing again. Interestingly enough, my registry indicates that Firefox is the default browser, when Firefox itself seems to think it isn't. Internet Explorer is claiming to be the default browser inside IE's settings. HKEY_CLASSES_ROOT\http\shell\open\command contains HKEY_CLASSES_ROOT\http\shell\open\ddeexec\Application HKEY_CLASSES_ROOT\http\DefaultIcon All of these registry keys indicate Firefox to be the default browser, but it isn't.
You need to log in before you can comment on or make changes to this bug.