What is syntax for command line to run Edge in Kiosk Mode on two monitors (each one with separate window)

Łukasz Huk 0 Reputation points
2023-01-19T08:27:08.6933333+00:00

I am looking for the command line syntax for running Edge in Kiosk mode in two separate windows but on two monitors - a different page in each window.

Microsoft Edge Microsoft Edge development
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Anonymous
    2023-01-24T08:02:36.67+00:00

    Hi @Łukasz Huk

    It seems that window display rules will be ignored if we're using kiosk mode. The only workaround that I can come up with is using app mode --app= which I think has similar user experience with kiosk mode.

    You can refer to the command line below. Please note to use the maximum display area of your monitor to set window position:

    start msedge --app="https://www.bing.com" --window-position=0,0 --user-data-dir=c:/monitor1 && start msedge --app="http://www.google.com" --window-position=1920,0 --user-data-dir=c:/monitor2
    

    If the answer is the right solution, 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.

    Regards,

    Yu Zhou

    1 person found this answer helpful.

  2. Anonymous
    2023-01-20T06:40:24.87+00:00

    Hi @Łukasz Huk

    I searched online and it seems that we need to set --window-position=to start browsers in different screens. You can try the command lines like below:

    start msedge https://www.bing.com --window-position=0,0 --kiosk --user-data-dir=c:/monitor1
    start msedge http://www.google.com --window-position=1680,0 --kiosk --user-data-dir=c:/monitor2
    
    

    If the answer is the right solution, 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.

    Regards,

    Yu Zhou

    0 comments No comments

  3. Łukasz Huk 0 Reputation points
    2023-01-22T14:52:44.1566667+00:00

    unfortunately it doesn't work - EDGE starts in two separate windows, but always on monitor 1 - I put both commands in the bat file

    0 comments No comments

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.