{"id":1620,"date":"2017-02-21T13:55:00","date_gmt":"2017-02-21T13:55:00","guid":{"rendered":"http:\/\/neu.koetzingit.de\/citrix-director-interactive-session-und-wie-man-die-zeit-reduziert\/"},"modified":"2026-06-02T13:32:50","modified_gmt":"2026-06-02T13:32:50","slug":"citrix-director-interactive-session-und-wie-man-die-zeit-reduziert","status":"publish","type":"post","link":"https:\/\/www.koetzingit.de\/en\/citrix-director-interactive-session-und-wie-man-die-zeit-reduziert\/","title":{"rendered":"Citrix Director: Interactive Sessions and How to Shorten Their Duration"},"content":{"rendered":"<p><span class=\"dropcapmiddle\">D<\/span>the <strong>interactive session<\/strong>\u00a0According to Citrix Director, this is likely the part of the login process that takes the most time. What exactly is the interactive session, and how can it be shortened? For many customers and users, the duration of the login process is a key factor and the reason they want to minimize it. This is nothing new, and I have written and spoken extensively about Windows login in the past because it is a critical issue when a user\u2019s PC is replaced with a thin client.<\/p>\n<p><!--more--><\/p>\n<p>Before we get into the details, we need to talk about the registration process in general. What is the beginning and what is the end of the entire process? This is exactly why you get different results with different programs. If you use ControlUp, you can certainly go up to<strong> 20 seconds faster<\/strong> Logins appear differently in Citrix Director! This is simply because ControlUp uses a different endpoint than Citrix Director. That doesn\u2019t mean Citrix is wrong and ControlUp is right; it just means that both define the end of the login process differently. Personally, I agree more with ControlUp than with Citrix, and here\u2019s why:\u00a0<\/p>\n<p>In accordance with this <a href=\"https:\/\/www.citrix.com\/blogs\/2016\/08\/19\/interactive-session-of-logon-duration-in-citrix-director-explained\" target=\"_blank\" rel=\"noopener noreferrer\">Citrix Blog,<\/a> registration ends when the <strong>Windows Explorer reports \u201eInput Idle\u201c status<\/strong>. In my opinion, this is precisely the problem. Applications are automatically launched via the Windows RUN key and other methods, and very often through Windows Explorer. This extends the login time because Windows Explorer does not enter idle mode, even though users can already see the desktop and are ready to start working. Customers who launch additional programs for their users during login should expect a longer duration for the interactive session. This can certainly lead to<strong> 40\u201360 seconds total duration<\/strong> for logging in. Anyone using a different program, such as the Logon Simulator, will be able to log in quickly, since the program <strong>Citrix ICO Login Message<\/strong> is used instead of the Explorer Idle status.<br \/>\u00a0<\/p>\n<h3><span class=\"label label-success\">What can be done to shorten the duration of the interactive session?<\/span><\/h3>\n<p>First, if you are using Windows Server 2012 or later, you should set the following registry value via Group Policy.<\/p>\n<p style=\"padding-left: 30px;\"><code>HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Serialize <\/code><br \/><code>StartupDelayInMSec REG_DWORD = 0x00000000 <\/code>Read the explanation of the key in\u00a0<a href=\"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/20160502-00\/?p=93395\" target=\"_blank\" rel=\"noopener noreferrer\">this Microsoft blog<\/a><\/p>\n<p>This registry value can certainly extend the duration of the interactive session by <strong>several seconds<\/strong> reduce!<\/p>\n<p>The Citrix blog mentioned earlier explains that the Explorer Idle status is comparable to Event 1000 (Desktop Ready) reported by Citrix User Profile Manager. This information will come in handy later when using Microsoft Procmon (this is the simplest method; I also use Microsoft WPA for this).<\/p>\n<p>Isolate a server, log in as an administrator, and start Procmon. Now log in using a standard user account or an account that takes a particularly long time to log in. When you're done, stop Procmon. Now search the event log for the<strong> UPM ID 1000<\/strong>. Use the time from the Event Log as a starting point in Procmon. Then check the duration of the interactive session in Director; that is the time period you should go back to in Procmon.<\/p>\n<p>Let's say the UPM Event 1000 occurs at 8:00:00 and, according to Director, the interactive session lasts 20 seconds. Then, in Procmon, look at the trace from 7:59:40 to 8:00:00. Which applications, scripts, etc., were launched during this time period? If you don\u2019t need any of them, disable or remove the call, or optimize the script, etc. On my system, I found that the <strong>Minimum duration of the interactive session: 6 seconds<\/strong> This is the time required for essential system processes such as the Citrix Seamless and Graphics Engine, Microsoft Windows Desktop Manager, and so on. This can only be improved with faster systems (in terms of the number and performance of CPUs, as well as SSDs).<\/p>\n<p>The closer they get to the minimum time for the interactive session, the less their times differ from those of other programs. In my case, it takes 11 seconds with the Logon Simulator and 12 seconds in Citrix Director.<\/p>\n<p>\u00a0<\/p>\n<h3><span class=\"label label-success\">See the relationship between total duration and interactive sessions<\/span><\/h3>\n<p>I recently set up a VDA server based on Windows Server 2016 running XenDesktop 7.12. The main goal was to observe the impact on interactive sessions when I make changes to the system as I described earlier. Okay, I also performed standard optimization, just as I do with every system.<\/p>\n<p>Take a look at the following screenshot, which I took from Citrix Director over a period of time (the last seven days). It always shows the <strong>the same non-administrative user,<\/strong> which has always also dealt with the <strong>the same VDA server<\/strong> connects (just to keep it constant)\u00a0<\/p>\n<table style=\"width: 845.82px;\" border=\"0\">\n<tbody>\n<tr>\n<td style=\"width: 10px;\">\u00a0<\/td>\n<td style=\"width: 10px;\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1618\" src=\"http:\/\/www.koetzingit.de\/wp-content\/uploads\/2017\/02\/news-total-interactive-v01.jpg\" alt=\"Director Login Data\" border=\"1\" width=\"220\" height=\"582\"  title=\"Citrix Director: Interactive Sessions and How to Shorten Their Duration\" srcset=\"https:\/\/www.koetzingit.de\/wp-content\/uploads\/2017\/02\/news-total-interactive-v01.jpg 220w, https:\/\/www.koetzingit.de\/wp-content\/uploads\/2017\/02\/news-total-interactive-v01-113x300.jpg 113w\" sizes=\"auto, (max-width: 220px) 100vw, 220px\" \/>\u00a0<\/td>\n<td style=\"width: 24px;\">\u00a0<\/td>\n<td style=\"width: 484.82px; vertical-align: top;\">\n<p>Please note that these figures are from my lab environment, and you cannot and should not use them to compare with your system. The point here is to highlight the importance of the interactive session if you want to reduce the login time in Citrix Director.<\/p>\n<p>\u00a0<\/p>\n<p>Take another look at the image on the left. The left column shows the total time, and the right column shows the time required for the interactive session; both are in seconds. The relationship between the interactive session and the total login duration is clearly visible. Note also that the shorter the interactive session, the less impact it has on the total time.<\/p>\n<p>\u00a0<\/p>\n<p>To be clear: client printers, client drives, all Citrix and Microsoft Group Policies, etc.\u00a0<strong>remained unchanged throughout<\/strong>. The last two logins were performed in quick succession, and the reduced time is due to server- and client-side <strong>Cache Functions<\/strong>. See the image below for more details<\/p>\n<p>\u00a0<\/p>\n<p>One more thing. To reduce the duration of the interactive session from <strong>11 seconds after 7.5 seconds<\/strong> is more difficult and time-consuming than the first 20 seconds.<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 10px;\">\u00a0<\/td>\n<td style=\"width: 10px;\" colspan=\"3\">\n<p style=\"text-align: center;\"><strong>A short video on logging in to Server 2016<\/strong><\/p>\n<p style=\"text-align: center;\"><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/O_Gp6ldQ8to\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Caching features can slightly reduce login time, but only if logins occur in quick succession and are directed to the same target system<br \/><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1619\" src=\"http:\/\/www.koetzingit.de\/wp-content\/uploads\/2017\/02\/news-relogin-v01.jpg\" alt=\"Caching login reduction\" border=\"1\" width=\"842\" height=\"113\"  title=\"Citrix Director: Interactive Sessions and How to Shorten Their Duration\" srcset=\"https:\/\/www.koetzingit.de\/wp-content\/uploads\/2017\/02\/news-relogin-v01.jpg 842w, https:\/\/www.koetzingit.de\/wp-content\/uploads\/2017\/02\/news-relogin-v01-300x40.jpg 300w, https:\/\/www.koetzingit.de\/wp-content\/uploads\/2017\/02\/news-relogin-v01-768x103.jpg 768w\" sizes=\"auto, (max-width: 842px) 100vw, 842px\" \/><\/p>\n<p>After optimizing the system, I compared the login time again with ControlUp (9 seconds), ControlUp Login Simulator (8 seconds), and Citrix Director (11.5 seconds). In my opinion, the login time with Citrix <strong>always be slightly higher\u00a0<\/strong>but not as significant if the duration of the interactive session is kept to a minimum.<\/p>\n<p>Two final notes: First, my VM initially had 2 vCPUs, and I increased that to 4 vCPUs, which improved the interactive session on <strong>6 seconds<\/strong> but the total time remained at 11.3 seconds. Second, Director displays different times, and when they are all added together, the total is always 2\u20134 seconds less than the specified total time? <strong>Where do the 2\u20134 seconds come from?<\/strong>? Can't find anything about it.<\/p>\n<p>\u00a0<\/p>\n<p><strong>Let me know how much you've managed to shorten the duration of the interactive session.<\/strong><\/p>","protected":false},"excerpt":{"rendered":"<p>Die interaktive Sitzung\u00a0ben\u00f6tigt wahrscheinlich die meiste Zeit bei der Anmeldung, laut Citrix Director. Was ist eigentlich die interaktive Sitzung und [&hellip;]<\/p>\n","protected":false},"author":1755,"featured_media":1617,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[19],"tags":[27,59,58,193,32,194,182,196,192,195,122,83,191],"class_list":["post-1620","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-director-de","tag-citrix","tag-controlup","tag-director","tag-interactive","tag-microsoft","tag-procmon","tag-profile","tag-server","tag-session","tag-simulator","tag-slow-logon","tag-xenapp","tag-xendeskop"],"uagb_featured_image_src":{"full":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2017\/02\/blogs-director-ist-de.png",360,360,false],"thumbnail":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2017\/02\/blogs-director-ist-de-150x150.png",150,150,true],"medium":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2017\/02\/blogs-director-ist-de-300x300.png",300,300,true],"medium_large":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2017\/02\/blogs-director-ist-de.png",360,360,false],"large":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2017\/02\/blogs-director-ist-de.png",360,360,false],"1536x1536":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2017\/02\/blogs-director-ist-de.png",360,360,false],"2048x2048":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2017\/02\/blogs-director-ist-de.png",360,360,false],"trp-custom-language-flag":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2017\/02\/blogs-director-ist-de.png",12,12,false]},"uagb_author_info":{"display_name":"Thomas K\u00f6tzing","author_link":"https:\/\/www.koetzingit.de\/en\/author\/thomas-koetzing\/"},"uagb_comment_info":3,"uagb_excerpt":"Die interaktive Sitzung\u00a0ben\u00f6tigt wahrscheinlich die meiste Zeit bei der Anmeldung, laut Citrix Director. Was ist eigentlich die interaktive Sitzung und [&hellip;]","_links":{"self":[{"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/posts\/1620","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/users\/1755"}],"replies":[{"embeddable":true,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/comments?post=1620"}],"version-history":[{"count":1,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/posts\/1620\/revisions"}],"predecessor-version":[{"id":1882,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/posts\/1620\/revisions\/1882"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/media\/1617"}],"wp:attachment":[{"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/media?parent=1620"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/categories?post=1620"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/tags?post=1620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}