{"id":9548,"date":"2023-12-19T22:04:47","date_gmt":"2023-12-19T21:04:47","guid":{"rendered":"https:\/\/michlstechblog.info\/blog\/?p=9548"},"modified":"2024-07-23T22:55:41","modified_gmt":"2024-07-23T20:55:41","slug":"windows-terminal-server-microsoft-edge-does-not-open-when-the-same-user-has-edge-already-opened","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/windows-terminal-server-microsoft-edge-does-not-open-when-the-same-user-has-edge-already-opened\/","title":{"rendered":"Windows Terminal Server: Microsoft Edge does not open when the same user has edge already opened"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_9548 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_9548')){$('.twoclick_social_bookmarks_post_9548').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"Windows%20Terminal%20Server%3A%20Microsoft%20Edge%20does%20not%20open%20when%20the%20same%20user%20has%20edge%20already%20opened\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0AEdge%20and%20Chrom%20can%20only%20be%20opened%20one%20time%20for%20a%20user.%20If%20a%20user%20has%20multiple%20sessions%20opened%20on%20a%20Windows%20Terminal%20Server%20with%20the%20same%20credenitals%2C%20edge%20can%20only%20start%20once%20time%20because%20the%20profile%20%28UserDataDir%29%20can%20only%20used%20by%20one%20instance.%20Otherwise%20the%20profile%20is%20getting%20corrupt.%0D%0A%0D%0A%0D%0AA%20workaround%20is%20to%20assign%20each%20session%20a%20seperate%20UserDataDir.%20This%20has%20one%20disadvantage%3A%20Bookmar%20...\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/windows-terminal-server-microsoft-edge-does-not-open-when-the-same-user-has-edge-already-opened\\\/\",\"post_id\":9548,\"post_title_referrer_track\":\"Windows+Terminal+Server%3A+Microsoft+Edge+does+not+open+when+the+same+user+has+edge+already+opened\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>Edge and Chrom can only be opened one time for a user. If a user has multiple sessions opened on a Windows Terminal Server with the same credenitals, edge can only start once time because the profile (UserDataDir) can only used by one instance. Otherwise the profile is getting corrupt.<br \/>\n<!--mode--><\/p>\n<p>A workaround is to assign each session a seperate UserDataDir. This has one disadvantage: Bookmarks and so on depends on the sessionname.<\/p>\n<p>To start edge in multiple RDP session I used the following command line parameter. This sets the DataDir to the sessionname.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nedge --user-data-dir=C:\\Users\\%UserName%\\AppData\\Local\\Microsoft\\Edge\\Profile\\%SESSIONNAME%\r\n<\/pre>\n<p>Another option is the %CLIENTNAME% variable. CLIENTNAME contains the Computername of the machine from which you establish the RDP session.<\/p>\n<p>Michael  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, Edge and Chrom can only be opened one time for a user. If a user has multiple sessions opened on a Windows Terminal Server with the same credenitals, edge can only start once time because the profile (UserDataDir) can only used by one instance. Otherwise the profile is getting corrupt. A workaround is to &hellip; <a href=\"https:\/\/michlstechblog.info\/blog\/windows-terminal-server-microsoft-edge-does-not-open-when-the-same-user-has-edge-already-opened\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Windows Terminal Server: Microsoft Edge does not open when the same user has edge already opened<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[2027,553,432,618,2028],"class_list":["post-9548","post","type-post","status-publish","format-standard","hentry","category-windowsknowhow","tag-edge","tag-multiple","tag-rdp","tag-sessions","tag-termial-server"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/9548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=9548"}],"version-history":[{"count":4,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/9548\/revisions"}],"predecessor-version":[{"id":9555,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/9548\/revisions\/9555"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=9548"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=9548"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=9548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}