{"id":1672,"date":"2020-11-30T09:00:00","date_gmt":"2020-11-30T09:00:00","guid":{"rendered":"http:\/\/neu.koetzingit.de\/haeufige-anmeldeprobleme-und-deren-loesung\/"},"modified":"2026-06-02T13:32:48","modified_gmt":"2026-06-02T13:32:48","slug":"haeufige-anmeldeprobleme-und-deren-loesung","status":"publish","type":"post","link":"https:\/\/www.koetzingit.de\/en\/haeufige-anmeldeprobleme-und-deren-loesung\/","title":{"rendered":"Common login issues and how to fix them!"},"content":{"rendered":"<p><span class=\"dropcapmiddle\">18<\/span>\u00a0It\u2019s been years since I wrote several articles about the Windows login process and how to speed it up or optimize it. Today, the login process is still an issue, and just recently I helped one of my clients resolve his login problem.<\/p>\n<p><!--more--><\/p>\n<p>I've put together a short list of the most common login issues right now and how to fix them. Let me know if this was helpful to you too!<\/p>\n<h3><span class=\"label label-success\">List of the most common login issues<\/span><\/h3>\n<p>\u00a0<\/p>\n<table style=\"width: 881px;\">\n<tbody>\n<tr>\n<td style=\"width: 144px; text-align: left; vertical-align: top;\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1535\" src=\"http:\/\/www.koetzingit.de\/wp-content\/uploads\/2017\/02\/nr01.png\" alt=\"Nr01\" width=\"102\" height=\"141\"  title=\"Common login issues and how to fix them!\" \/>\u00a0<\/td>\n<td style=\"width: 20px;\">\u00a0<\/td>\n<td style=\"width: 657.13px; vertical-align: top;\"><span style=\"text-decoration: underline;\"><strong>The UFH Registry Key Bug<\/strong><\/span><\/p>\n<p><b>Description<br \/><\/b>The registration key stores shortcuts from the user's Start menu, but due to a bug, the entries are added again every time the user logs in. This can quickly result in thousands of entries. However, the entire registry key is also read every time the user logs in, and this process takes increasingly longer\u2014sometimes up to several minutes.\u00a0<\/p>\n<p>This error occurred in Windows <strong>2008 R2<\/strong> is well-known and continues to exist with <strong>Windows Server 2016 and 2019<\/strong>.<\/p>\n<p><b>Solution<br \/><\/b>To resolve the issue, delete the entire key via Group Policy at each login and also exclude the key using Citrix UPM.<\/p>\n<p><strong>References<\/strong><\/p>\n<ul>\n<li>Slow logon with a blank screen in Windows 7 or Windows 8.1<a href=\"https:\/\/docs.microsoft.com\/en-us\/troubleshoot\/windows-client\/user-profiles-and-logon\/slow-logon-with-blank-screen\"><br \/>https:\/\/docs.microsoft.com\/en-us\/troubleshoot\/windows-client\/user-profiles-and-logon\/slow-logon-with-blank-screen<\/a>\u00a0<\/li>\n<li>Slow Logon with a Black Screen in XenDesktop Server VDA<a href=\"https:\/\/support.citrix.com\/article\/CTX212905\"><br \/>https:\/\/support.citrix.com\/article\/CTX212905<\/a>\u00a0<\/li>\n<\/ul>\n<\/td>\n<td style=\"width: 31.86px;\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 144px;\">\u00a0<\/td>\n<td style=\"width: 20px;\">\u00a0<\/td>\n<td style=\"width: 657.13px;\">\u00a0<\/td>\n<td style=\"width: 31.86px;\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 144px; text-align: left; vertical-align: top;\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1536\" src=\"http:\/\/www.koetzingit.de\/wp-content\/uploads\/2017\/02\/nr02.png\" alt=\"Nr02\" width=\"141\" height=\"141\"  title=\"Common login issues and how to fix them!\" \/><\/td>\n<td style=\"width: 20px;\">\u00a0<\/td>\n<td style=\"width: 657.13px; vertical-align: top;\">\n<p><span style=\"text-decoration: underline;\"><strong>Citrix UPM and the App Preparation Service<\/strong><\/span><\/p>\n<p><b>Description<\/b><br \/>Microsoft has introduced a new Windows service: App Readiness. The purpose of this service is to \u201eget apps ready for use the first time a user signs in to this PC and when adding new apps.\u201c.\u00a0<br \/>However, this service is unnecessary on multi-user systems (RDS). Nevertheless, the App Preparation service is active, and due to an error in the Citrix User Profile Manager (UPM) service, it has deleted the registry values for App Preparation. This then leads to long login times (minutes), often accompanied by a black screen.<\/p>\n<p><b>Solution<\/b><br \/>Since this service is not necessary on multi-user systems, it can be disabled via Group Policy.<\/p>\n<p><strong>References<\/strong><\/p>\n<ul>\n<li>Users see a black screen when logging in to Published Desktop<br \/><a href=\"https:\/\/support.citrix.com\/article\/CTX272201\">https:\/\/support.citrix.com\/article\/CTX272201<\/a>\u00a0<\/li>\n<\/ul>\n<\/td>\n<td style=\"width: 31.86px;\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 144px;\">\u00a0<\/td>\n<td style=\"width: 20px;\">\u00a0<\/td>\n<td style=\"width: 657.13px;\">\u00a0<\/td>\n<td style=\"width: 31.86px;\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 144px; text-align: left; vertical-align: top;\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1537\" src=\"http:\/\/www.koetzingit.de\/wp-content\/uploads\/2017\/02\/nr03.png\" alt=\"Nr03\" width=\"141\" height=\"141\"  title=\"Common login issues and how to fix them!\" \/><\/td>\n<td style=\"width: 20px;\">\u00a0<\/td>\n<td style=\"width: 657.13px; vertical-align: top;\">\n<p><strong><span style=\"text-decoration: underline;\">Recently used Windows and Office files<\/span>\u00a0<br \/><\/strong><\/p>\n<p><strong>Description<br \/><\/strong><\/p>\n<p>Recently used Windows and Office files are stored in small files within the user profile. The number of these hidden files can grow so large that it may take several minutes to log in. Since the number of files depends heavily on user behavior, the extent to which users are affected can vary.<\/p>\n<p>Overall, this also appears to be a bug, as I have only encountered this issue with a few customers. Setting the GPO to limit the most recently used files does not help, since this only affects the display of the files and not how many should remain. In Citrix Director, this can often be identified as a large time difference between the total time and the individual times.\u00a0<\/p>\n<p><b>Solution<\/b><br \/>Users will likely want to see the most recent 20 files, so not all files can be deleted. Scripts and similar tools can help adjust the number of files for each user on a daily basis.<\/p>\n<\/td>\n<td style=\"width: 31.86px;\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 144px;\">\u00a0<\/td>\n<td style=\"width: 20px;\">\u00a0<\/td>\n<td style=\"width: 657.13px;\">\u00a0<\/td>\n<td style=\"width: 31.86px;\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 144px; text-align: left; vertical-align: top;\">\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1538\" src=\"http:\/\/www.koetzingit.de\/wp-content\/uploads\/2017\/02\/nr04.png\" alt=\"Nr04\" width=\"136\" height=\"152\"  title=\"Common login issues and how to fix them!\" \/><\/td>\n<td style=\"width: 20px;\">\u00a0<\/td>\n<td style=\"width: 657.13px; vertical-align: top;\">\n<p><span style=\"text-decoration: underline;\"><strong>The Firewall Rules Bug<\/strong><\/span><\/p>\n<p><strong>Description<br \/><\/strong>Windows Server 2016\/2019 has a bug that creates local firewall rules every time a user logs in. Over time, this slows down the login process and can also cause the entire system to lose performance. This often adds a few seconds to the interactive login process in Citrix Director.<\/p>\n<p><strong>Solution<br \/><\/strong>Microsoft released an update for this in March 2019 (KB4490481), but you also need to manually set a registry value! <\/p>\n<p><code>HKLM\\SYSTEM\\CurrentControlSet\\Services\\SharedAccess\\Parameters\\FirewallPolicy<\/code><br \/><code>DeleteUserAppContainersOnLogoff REG_DWORD = 0x00000001<\/code><\/p>\n<p>In addition, there may already be thousands of rules in place, and those need to be cleaned up as well. The PoSh script below can be used for this purpose.<\/p>\n<p><strong>References<\/strong><\/p>\n<ul>\n<li>March 26, 2019\u2014KB4490481 (OS Build 17763.402)<br \/><a href=\"https:\/\/support.microsoft.com\/en-us\/help\/4490481\/windows-10-update-kb4490481\">https:\/\/support.microsoft.com\/en-us\/help\/4490481\/windows-10-update-kb4490481<\/a><\/li>\n<li>Removes unwanted FW rules:\u00a0<a href=\"http:\/\/www.koetzingit.de\/wp-content\/uploads\/2020\/11\/ClearFWRules.zip\">ClearFWRules.zip<\/a>\u00a0<br \/><a href=\"http:\/\/www.koetzingit.de\/wp-content\/uploads\/2020\/11\/ClearFWRules.zip\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1604\" src=\"http:\/\/www.koetzingit.de\/wp-content\/uploads\/2017\/01\/zip.png\" alt=\"Zip\" width=\"64\" height=\"97\"  title=\"Common login issues and how to fix them!\" \/><\/a>\u00a0<\/li>\n<\/ul>\n<\/td>\n<td style=\"width: 31.86px;\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 144px;\">\u00a0<\/td>\n<td style=\"width: 20px;\">\u00a0<\/td>\n<td style=\"width: 657.13px;\">\u00a0<\/td>\n<td style=\"width: 31.86px;\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 144px; text-align: left; vertical-align: top;\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1539\" src=\"http:\/\/www.koetzingit.de\/wp-content\/uploads\/2017\/02\/nr05.png\" alt=\"Nr05\" width=\"141\" height=\"141\"  title=\"Common login issues and how to fix them!\" \/><\/td>\n<td style=\"width: 20px;\">\u00a0<\/td>\n<td style=\"width: 657.13px; vertical-align: top;\">\n<p><strong>GPO with \u201edead\u201c network drives or network printers<\/strong><\/p>\n<p><strong>Description<br \/><\/strong>Users who connect to network shares or network printers via Group Policy may experience 30-second delays during login. This happens whenever the network resource is no longer available.\u00a0<\/p>\n<p><strong>Solution<br \/><\/strong>The goal here is to identify the network resources that are no longer available and to disable or delete them in Group Policy. The Group Policy event log on the server where the user is logged in can be helpful in this regard.<\/p>\n<\/td>\n<td style=\"width: 31.86px;\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 144px;\">\u00a0<\/td>\n<td style=\"width: 20px;\">\u00a0<\/td>\n<td style=\"width: 657.13px;\">\u00a0<\/td>\n<td style=\"width: 31.86px;\">\u00a0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>","protected":false},"excerpt":{"rendered":"<p>18\u00a0Jahre ist es her, da habe ich mehrere Seiten \u00fcber die Windows Anmeldung geschrieben und wie diese schneller bzw. optimiert [&hellip;]<\/p>\n","protected":false},"author":1755,"featured_media":1670,"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":[12],"tags":[],"class_list":["post-1672","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-articles-de"],"uagb_featured_image_src":{"full":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2020\/11\/blogs-logon-issues.jpg",398,398,false],"thumbnail":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2020\/11\/blogs-logon-issues-150x150.jpg",150,150,true],"medium":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2020\/11\/blogs-logon-issues-300x300.jpg",300,300,true],"medium_large":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2020\/11\/blogs-logon-issues.jpg",398,398,false],"large":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2020\/11\/blogs-logon-issues.jpg",398,398,false],"1536x1536":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2020\/11\/blogs-logon-issues.jpg",398,398,false],"2048x2048":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2020\/11\/blogs-logon-issues.jpg",398,398,false],"trp-custom-language-flag":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2020\/11\/blogs-logon-issues.jpg",12,12,false]},"uagb_author_info":{"display_name":"Thomas K\u00f6tzing","author_link":"https:\/\/www.koetzingit.de\/en\/author\/thomas-koetzing\/"},"uagb_comment_info":0,"uagb_excerpt":"18\u00a0Jahre ist es her, da habe ich mehrere Seiten \u00fcber die Windows Anmeldung geschrieben und wie diese schneller bzw. optimiert [&hellip;]","_links":{"self":[{"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/posts\/1672","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=1672"}],"version-history":[{"count":1,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/posts\/1672\/revisions"}],"predecessor-version":[{"id":1869,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/posts\/1672\/revisions\/1869"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/media\/1670"}],"wp:attachment":[{"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/media?parent=1672"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/categories?post=1672"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/tags?post=1672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}