{"id":1743,"date":"2024-09-18T05:37:07","date_gmt":"2024-09-18T05:37:07","guid":{"rendered":"http:\/\/neu.koetzingit.de\/langsame-windows-anmeldung-durch-aufgeblaehte-registry\/"},"modified":"2026-06-02T13:31:57","modified_gmt":"2026-06-02T13:31:57","slug":"langsame-windows-anmeldung-durch-aufgeblaehte-registry","status":"publish","type":"post","link":"https:\/\/www.koetzingit.de\/en\/langsame-windows-anmeldung-durch-aufgeblaehte-registry\/","title":{"rendered":"Slow Windows login due to a bloated registry"},"content":{"rendered":"<p><span class=\"dropcapmiddle\">E<\/span>There can be many reasons for a slow login, but with newer operating systems, it seems that the <strong>bloated registry<\/strong>\u00a0to be popular. This short article describes the <strong>the three most common reasons,<\/strong> Why the registry is bloated and, as a result, can significantly slow down the login process. Here is a three-step solution if your registry is bloated.<\/p>\n<p><!--more--><\/p>\n<h3><span class=\"label label-success\">The UFH Start Menu Bug<\/span><\/h3>\n<p><b>Description<br \/><\/b>The registry 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, causing the key to grow larger and larger. This can quickly result in thousands of entries. However, the entire registry key is also read every time the user logs in, which takes increasingly longer\u2014sometimes up to several minutes.\u00a0<\/p>\n<p>This error occurred in Windows\u00a0<strong>2008 R2<\/strong>\u00a0is well-known and continues to exist with\u00a0<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<p>\u00a0<\/p>\n<h3><span class=\"label label-success\">The Notification Bug<\/span><\/h3>\n<p><strong>Description<br \/><\/strong>This problem occurs specifically with <strong>Microsoft FSLogix <\/strong>and can significantly slow down the login process. This involves the registration key <code>HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Notifications<\/code> massively bloated. I exported the key for one customer, and it was 30 MB in size! During user logon, the explorer.exe process reads thousands of values from the Windows Push Notification Platform (WPN) and the Windows Notification Facility (WNF).<\/p>\n<p>\u00a0<\/p>\n<p><strong>Solution<br \/><\/strong><\/p>\n<p>With FSLogix, it's quite simple, because Microsoft has addressed this issue and included a default policy in the latest FSLogix release <code>CleanOutNotifications<\/code> and automatically cleans up outdated entries. Once again, however, the issue can also be resolved by simply deleting the key and recreating it. This can be done via a Group Policy or using PowerShell commands:<\/p>\n<p><code>Remove-Item \"HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Notifications\" -Recurse\u00a0<\/code><br \/><code>New item \"HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Notifications\"<\/code><\/p>\n<p><strong>References<\/strong><\/p>\n<ul>\n<li>Registry bloat causes slow logons or the \"insufficient system resources\" error (0x800705AA) in Windows 8.1<br \/><a href=\"https:\/\/support.microsoft.com\/en-us\/topic\/registry-bloat-causes-slow-logons-or-insufficient-system-resources-error-0x800705aa-in-windows-8-1-82a985fb-df27-abda-440b-f3f81a2c949d\" target=\"_blank\" rel=\"noopener\">https:\/\/support.microsoft.com\/en-us\/topic\/registry-bloat-causes-slow-logons<\/a><\/li>\n<\/ul>\n<p>\u00a0<\/p>\n<h3><span class=\"label label-success\">The Firewall Rules Bug<\/span><\/h3>\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:<br \/>https:\/\/github.com\/Koetzing\/Powershell-Scripts\/blob\/main\/ClearFWRules.ps1\n<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Eine langsame Anmeldung kann viele Gr\u00fcnde haben, aber mit neueren Betriebssystemen scheint die aufgebl\u00e4hte Registry\u00a0beliebt zu sein. Dieser kurze Betrag [&hellip;]<\/p>\n","protected":false},"author":1755,"featured_media":1742,"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":[18],"tags":[214,27,362,250,213,32,361,291,31,196,159],"class_list":["post-1743","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-citrix-de","tag-anmeldung","tag-citrix","tag-firewall","tag-fslogix","tag-langsam","tag-microsoft","tag-notification","tag-regeln","tag-registry","tag-server","tag-windows"],"uagb_featured_image_src":{"full":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2024\/09\/reg-bloat.png",300,245,false],"thumbnail":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2024\/09\/reg-bloat-150x150.png",150,150,true],"medium":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2024\/09\/reg-bloat.png",300,245,false],"medium_large":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2024\/09\/reg-bloat.png",300,245,false],"large":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2024\/09\/reg-bloat.png",300,245,false],"1536x1536":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2024\/09\/reg-bloat.png",300,245,false],"2048x2048":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2024\/09\/reg-bloat.png",300,245,false],"trp-custom-language-flag":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2024\/09\/reg-bloat.png",15,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":"Eine langsame Anmeldung kann viele Gr\u00fcnde haben, aber mit neueren Betriebssystemen scheint die aufgebl\u00e4hte Registry\u00a0beliebt zu sein. Dieser kurze Betrag [&hellip;]","_links":{"self":[{"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/posts\/1743","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=1743"}],"version-history":[{"count":1,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/posts\/1743\/revisions"}],"predecessor-version":[{"id":1846,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/posts\/1743\/revisions\/1846"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/media\/1742"}],"wp:attachment":[{"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/media?parent=1743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/categories?post=1743"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/tags?post=1743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}