Microsoft Edge as App - Disable "Open browser window" button in the upper left menu

Mario Del Mastro 20 Reputation points
2023-02-15T21:38:16.5333333+00:00

Hi everyone,

in my RDS environment I publish internal web pages by using the following syntax:

msedge.exe --app="https://samplewebsite.com" --no-context-menu

This to ensure that users can only navigate on the published web page without having, for example, the possibility to open a new tab or to use the address bar, etc... To accomplish this I have also disabled shortcut keys. All is working fine.

Now I noticed that on the upper left menu of a website published in APP mode, the button "Open browser window" is available and this obviously permits to every users to open a new browser window nullifying all restrictions I made. See the attached screenshot to better clarify.

My question is: is there a possibility to hide that button, a GPO or a registry key?

Thank you

Best regards

MarioUser's image

Windows for business | Windows Server | User experience | Other
Microsoft Edge | Microsoft Edge development
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2023-02-16T04:09:14.82+00:00

    Hi @Mario Del Mastro ,

    Unfortunately, it is not possible to hide that "Open browser window" button. But I do have some workarounds for you to avoid navigating to other pages (if it is your main purpose).

    1. Block all sites but allow the target site. You can configure the following 2 group policies: Block access to a list of URLs > *
      Define a list of allowed URLs > https://www.microsoft.com (or other URLs)
    2. Use Kiosk mode. The following command line flag will force Edge into fullscreen, not allowing users to navigate to other sites:
    --kiosk www.contoso.com --edge-kiosk-type=fullscreen
    

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best Regards,

    Shijie Li


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.