When opening a web page in Microsoft Edge browser, it may redirect to https://edge-http.microsoft.com/captiveportal/generate_204 and automatically download a generate_204 file. This issue is typically caused by the browser's captive portal detection feature, which is designed to detect when a user is connected to a public network and tries to access a website that requires authentication or a login prompt. To resolve this issue, you can try disabling the captive portal detection feature in the browser's settings. Additionally, you can also try clearing the browser's cache and cookies or resetting the browser to its default settings. If the issue persists, you may want to consider seeking assistance from the network administrator or the website's technical support team.