Access Microsoft Edge Legacy after installing the new version of Microsoft Edge - virtual-machine

I was trying to test one of my application on Microsoft edge browser in VM and due to some updates my Edge browser has been updated to Chromium version (latest version) and i was unable to downgrade it or unable to find any older version .
I have also tried following MSDN post for using both legacy and new version of Edge side by side by even though i follow those steps i was unable to see the old Edge legacy versions.
https://learn.microsoft.com/en-us/deployedge/microsoft-edge-sysupdate-access-old-edge
Can some one suggest if there is any other work around to make this happen

From the article, the Allow Microsoft Edge Side by Side browser experience should be enabled before the new version of Microsoft Edge is deployed to your users' devices.
So, I suggest you could try to uninstall the New Microsoft Edge from the Control Panel first, then, according the above article to enable the Allow Microsoft Edge Side by Side browser experience Group Policy. After that, please refer to the following steps the check the Registry and make sure the Allowsxs value is 1.
Press WIN+R keys together to open RUN dialog box. Now type regedit in RUN dialog box and press Enter. It'll open Registry Editor.
Go to following key: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft
Find the EdgeUpdate Key (if not find this key, create a new key under Microsoft key and set its name as EdgeUpdate)
Select EdgeUpdate key and in right-side pane, right-click on empty area and select New -> DWORD (32-bit) Value option. Set the new DWORD name as Allowsxs and set its value to 1.
Then, reinstall the New Microsoft Edge, you can open and use both Microsoft Edge web browsers.
Besides, some new updates can cause the Microsoft Edge Legacy shortcut in Start Menu not working or hide, if that is the case, please refer to the following steps to create a new shortcut to Legacy Microsoft Edge browser:
Press WIN+R keys together to launch RUN dialog box.
Now type shell:appsfolder in RUN dialog box and press Enter key.
It'll open Applications folder in File Explorer. Look for old Microsoft Edge application having old White icon.
Double-click on it and it'll launch old Microsoft Edge without any issue.
Now you can right-click on the application and select Pin to Start, Pin to Taskbar or Create Shortcut option to add its shortcut to Start Menu, Taskbar or Desktop.

It seems we can't enable the legacy version in windows server VM.
Please follow the below discussion on this.
Thanks.
https://techcommunity.microsoft.com/t5/discussions/tutorial-how-to-run-legacy-and-chromium-based-edge/m-p/1200283#M25430

Related

Can you change Visual Studio 2022's default browser for Dockerised ASP .NET Core applications?

When debugging my ASP .NET Core Web API application in Visual Studio 2022, I have the Docker configuration set to launch a browser:
This browser defaults to Edge. Is there a way to change this, to Firefox for example? That is my browser of choice and I would prefer it to simply open a new tab in an existing instance of that rather than an entirely separate Edge window.
Firefox is set as my default browser.
Thanks.
You can choose a default browser to use with the docker profile but it's not clear how to modify the list of possible browsers or if you can modify the launch settings for those browsers... anyway, from the debug toolbar menu you'll see the very small drop down menu arrow. Clicking on that gives you a series of drop down menus that lets you choose a browser.
Note the "Browse With..." does not work for me. The project rebuilds and nothing happens when I click that. And "Select Web Browsers..." gives a limited choice of chrome, edge, IE.
Turns out it does seem to use the default browser.
This is a new install of Win 11, and I had installed Firefox within the same session as my attempted debugging with it - a reboot seemed to result in VS using it as expected.
The default browser behaviour is documented here.

I can't start Internet Explorer 11, always Edge is opened in Windows 10

I have to test a product on Internet Explorer but when I try to start it always Edge browser is opened. I tried to set IE as default browser but did not help. I try to set Chrome or Firefox as default but also not help. I tried to uninstall then reinstall IE component from 'Uninstall programs - Turns windows feature on or off' but also did not help.
I have upgraded my Windows to Version 1909 x64 but also before this update the problem existed. I am using a Dell Latitude E5470 laptop. I also search the IE and Edge group policy settings but I don't find anything which help solving this problem.
Your suggestions, ideas and help would be very appreciated.
Thanks.
For me, I was able to fix the behavior by searching for "Internet Explorer Compatibility" in the Edge settings panel. Then setting the "Open Sites in Edge" setting to "Never."
I have had a similar behavior in Windows 10 20H2 (As of writing this answer, the latest Windows 10 build so far). I had a scheduled task which opens a website at a given time, the command there is:
"C:\Program Files\Internet Explorer\iexplore.exe" https://some.webiste.com
After upgrading to 20H2 it always opened in Edge, also manually browsing to that website was redirected to Edge.
I found a setting in Internet Explorer under Internet Options -> Advanced Tab -> Browsing section -> Uncheck Enable third party extensions.
Note: This might need a restart to take effect and disable also other extensions but unfortunately as of this day there seems to be no other options to browse a website in IE which needs IE for one or the other reason.
Edit:
This behavior I was experiencing seems to be a DLL (ie_to_edge_bho.dll) file which comes with Edge and is being installed in IE. There is a static list of websites which get automatically redirected to Edge. Disabling this extension is greyed out and not supported out of the box, other than disabling all extensions via the option described above.
This setting lets you decide whether to open all sites not included in the Enterprise Mode Site List in Microsoft Edge. If you use this setting, you must also turn on the Administrative Templates\Windows Components\Internet Explorer\Use the Enterprise Mode IE website list policy setting and you must include at least one site in the Enterprise Mode Site List.
Enabling this setting automatically opens all sites not included in the Enterprise Mode Site List in Microsoft Edge.
Disabling, or not configuring this setting, opens all sites based on the currently active browser.
Note: If you've also enabled the Administrative Templates\Windows Components\Microsoft Edge\Send all intranet sites to Internet Explorer 11 policy setting, then all intranet sites will continue to open in Internet Explorer 11.
https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.InternetExplorer::RestrictInternetExplorer
The problem was with 20H2(Microsoft Windows 10 Enterprise ver 10.0.19042) when I received the same complaint from multiple users.
So this has been sorted out using below registry fix as mentioned by #alpar
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode and set RestrictIE value from 1 to 0
For me, the correct answer was the one provided by #josibu.
I was trying to use the performance profiler in Visual Studio 2019 for a Web project. For this function, there is no way to convince Visual Studio 2019 to use anything other than Internet Explorer. Even on Windows 11, it tries to run iexplore.exe when no such program exists. For those machines that do have Internet Explorer installed, but crippled by Microsoft, disable third party extension, as directed by #josibu.
You may get a message that the setting will not take effect until you restart your system. In my case, this was not needed. The change worked after I simply closed Internet Explorer.

Internet Explorer 11 getting stuck randomly while executing tests through IEDriverServer and Selenium

I'm having issues that IE version 11 stuck randomly on some page. the code is working fine because whenever i restart the program sometimes it work but the most annoying will be randomly stuck after click and load the page. is this normal on IE? i never had this type of issues when using Chrome. but this website works only at IE. can i know the cause of this problem is it the driver?, the website itself? or Network security?
While you work with Internet Explorer v11 you need to configure your test framework with the Required Configuration. Apart from these specifically only for IE 11 you will need to set a registry entry on the target computer so that the driver can maintain a connection to the instance of Internet Explorer it creates as follows:
For 32-bit Windows installations, the key you must examine in the registry editor is:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BFCACHE.
For 64-bit Windows installations, the key is:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BFCACHE.
Trivia
How does the registry entry HKEY_LOCAL_MACHINE\…\FEATURE_BFCACHE for InternetExplorerDriver solves the Internet Explorer 11 issue?
Internet Explorer Protective mode setting and Zoom levels
Selenium InternetExplorerDriver doesn't get focus on the window
How to ignore protected Mode Settings for Internet Explorer using setCapability() through Selenium and Java?

Selenium RemoteWebDriver IE11. Cannot upload file correctly

I have a problem in selenium uploading files in IE11. In my c# code I make
driver.FindElement(By.Id("file")).SendKeys(filepath);
and in 95% of executions it works OK in IE11 but at others I see only opened upload window and test hangs after it.
I'm sure that path to image is correct, I see it in console of selenium server.
Does anybody have some ideas of reason of such behavior?
UPDATE 08/10/2015:
I updated selenium server from 2.45 version to 2.47.1 and it seems that issue appears not so often as before but it is still there
I verified confuration on IE
The IEDriverServer exectuable must be downloaded and placed in your PATH.
On IE 7 or higher on Windows Vista or Windows 7, you must set the Protected Mode settings for each zone to be the same value. The value can be on or off, as long as it is the same for every zone. To set the Protected Mode settings, choose "Internet Options..." from the Tools menu, and click on the Security tab. For each zone, there will be a check box at the bottom of the tab labeled "Enable Protected Mode".
Additionally, "Enhanced Protected Mode" must be disabled for IE 10 and higher. This option is found in the Advanced tab of the Internet Options dialog.
The browser zoom level must be set to 100% so that the native mouse events can be set to the correct coordinates.
For IE 11 only, you will need to set a registry entry on the target computer so that the driver can maintain a connection to the instance of Internet Explorer it creates. For 32-bit Windows installations, the key you must examine in the registry editor is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BFCACHE. For 64-bit Windows installations, the key is HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BFCACHE. Please note that the FEATURE_BFCACHE subkey may or may not be present, and should be created if it is not present. Important: Inside this key, create a DWORD value named iexplore.exe with the value of 0.
My configuration is correct

IE11 Developer Tools Blank Network and Profile Tab

Extensively used IE9 Developer Tools and I just updated to IE11 "11.0.2" and the Developer Tools are garbage.
My Network and Profile Tabs are blank.
Is there a "special" setting that I'm missing in order to enable them, or could there be a specific windows hot fix between the IE11 RTM and 11.0.2 that I may be missing?
I had the same problem (version 11.0.9600.17633) on WIN7
Only on one of 4 accounts. Reinstalling IE11, etc did not help.
With regedit, I renamed HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer
to HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer Old
I logged off, then logged on again and started Internet Explorer. This recreated the key. The network tab and profiler tab are no longer blank. Internet Explorer settings have been lost however. I assume the settings and state of Internet Explorer are the same as just after creating a new account.
The network tab was not working for me on Windows 10 Creators Update (Version 1703 OS Build 150063.540) in IE OR Edge.
After trying the various registry changes mentioned by others without success, I removed Internet Explorer as a Window Feature (Control Panel > Programs and Features > Turn Windows Features on or off).
I rebooted and opened Edge and the network tab was working again.
Then I went back into Programs and Feature and added IE back as in installed feature. I rebooted and now the network tab is working in both IE and Edge.
To make blank Network Panel/Profiler Panel appear again(also pin F12 developer tool not working either), delete the following registry DWORD key:
HKEY_CURRENT_USER\Software\Microsoft\Internet
Explorer\Main\TabProcGrowth
This key could be recreated automatically.
I still have this problem using IE 11.0.9600.18097 on Win 7 [Version 6.1.7601]. I post my solution here in case someone faces the same situation like me, that your company doesn't allow updating IE on your own. My
Possible related issue tracker:
https://connect.microsoft.com/IE/feedback/details/808417/ie-11-win-7-developer-tools-does-not-pin
Here is the solution: install the following patch from Microsoft and restart your computer:
https://www.microsoft.com/en-us/download/details.aspx?id=46507
This helped me for IE 11, Windows 10:
sc config diagnosticshub.standardcollector.service start=demand
(see https://www.systemcamp.com/network-collection-agent-failed-to-start-in-ie-11-or-edge/)
It's definitely worth getting the latest updates.
There shouldn't be any special settings. The only special/different thing about the network and profiler tools are the two tools that weren't rebuilt in IE11 and were just themed. However they should most definitely work just fine. Though there are some timing bugs that can cause the tools to hang and crash :(. But, that doesn't seem to be happening for you.
I'm a bit of a loss as to make recommendations on how to fix the issue as we've not seen the issue before (I work on the F12 tools at Microsoft).
If you try a different user account does the same issue happen? Is it happening on all your machines or just one? Does it happen on all pages or just some? (try both an intranet and internet site.)
I created a new local account, logged into that account and that solved this problem for me. All of the tabs in the developer tools work and I can now dock the developer tools as well which I could never do before.
more info:
Not sure if this is the full answer but this appears to be related to settings on your computer more then IE itself. For whatever reason I could not change visual settings or apply themes or change the desktop wallpaper. I followed all the online setting changes for fixing those things. Basically it can be setting changes in group policies/registry settings that disable this. However I'm pretty sure at one point I had a virus on my computer and that destroyed my settings so there was no real undoing of all the damage that it had done. So creating a new account was my only answer.
I doubt this would fix the issue but just to make sure it is not being caused by an extension have you tried running IE without extensions?
from run: iexplore.exe -extoff
This happened to me and the answer was that my machine (win8.1) wasn't being patched per the group policy since the rest of the company's on win7 and the patches are controlled.
When I forced the update-- there's a link on the windows update dialog box that says "Check online for updates from Microsoft Update". I got a gig a of stuff to dl and installed it and we were fine after that.
NOTHING until then- wiping bits of the registry, uninstall ie11, reinstall, etc, worked.
Change the value data in DWORD "TabProcGrowth" that located in "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" to 1. close and open IE11 .
For me, Network tab stopped working one day and following worked:
Restart Microsoft (R) Diagnostics Hub Standard Collector Service
Just close IE11 and all its tabs and reopen