{"id":11207,"date":"2022-06-05T11:00:09","date_gmt":"2022-06-05T11:00:09","guid":{"rendered":"https:\/\/www.hovatek.com\/blog\/?p=11207"},"modified":"2022-08-15T22:18:09","modified_gmt":"2022-08-15T22:18:09","slug":"how-to-fix-the-userprofile-service-failed-the-logon-on-windows-10","status":"publish","type":"post","link":"https:\/\/www.hovatek.com\/blog\/how-to-fix-the-userprofile-service-failed-the-logon-on-windows-10\/","title":{"rendered":"How to fix the UserProfile Service failed the logon on Windows 10"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This error could be quite a rude shock when you try to logon to your Windows PC. Luckily, it can be easily resolved with minimal data loss if at all any.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why am I getting this error?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This means your user profile is corrupted or misconfigured. My first encounter with this was after I did a PC reset using Windows 10&#8217;s inbuilt feature. You could also encounter this error after a user profile creation, partition resizing, system restore or Windows update.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How do I fix this error<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">There are two scenarios you might encounter and I&#8217;ll walk you through both:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">A. If you can enter Safe Mode<\/h4>\n\n\n\n<ol class=\"wp-block-list\"><li>Return to the Logon screen<\/li><li>Click the Power icon<\/li><li>Hold the Shift key on your keyboard then click Restart<\/li><li>You should enter a Choose an option blue screen <\/li><li>Select Troubleshoot > Advanced options > Startup Settings<\/li><li>Under Startup Setting. Select Restart<\/li><li>The screen will reboot to another blue screen<\/li><li>At the Startup Settings screen, tap 5 (Enable Safe Mode With Networking)<\/li><li>Once logged into Safe Mode, tap the Windows button (Start Menu) and search for regedit<\/li><li>Right-click regedit from the search result and choose Run as Administrator<\/li><li>In Registry Editor, navigate to <strong>HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\ProfileList<\/strong><\/li><li>Under ProfileList, you&#8217;ll find two identical folders (same name except one ends with .bak)<\/li><li>The .bak suffix signifies a backup or inactive version. Change .bak to .old (on the folder with .bak) then add .bak to the one without .bak. Now, remove .old from the folder with .old . What&#8217;s you&#8217;ve essentially done is flip where the .bak is while avoiding a name clash<\/li><li>Select the folder without .bak <\/li><li>On the right pane, right-click State and choose modify<\/li><li>Set Value data to 0 and click OK<\/li><li>Right-click RefCount and choose modify<\/li><li>Set Value data to 0 and click OK<\/li><li>Exit Registry Editor and reboot your PC <\/li><\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">B. If you can&#8217;t enter Safe Mode<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">This was exactly my situation. Safe Mode got stuck in a black screen and all I could access was some parts via Task Manager. It was down to a Windows re-install for me.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I was able to access drives using: Task manager > Users > Right-click current user > Manage user accounts > Control panel > System and Security > Administrative Tools but could not initiate a Windows install from Safe Mode.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here&#8217;s what I did<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>If your PC supports it, you could <a href=\"https:\/\/www.hovatek.com\/forum\/thread-1025.html\">create a bootable Window 10 USB drive<\/a> then reinstall windows but my mini-PC didn&#8217;t support this option. Proceed if you&#8217;re on the same boat<\/li><li>On another PC, download your preferred Windows 10 ISO and extract its contents (files and folders) into a a USB drive<\/li><li>Connect the USB drive to your PC<\/li><li>Return to the Logon screen<\/li><li>Click the Power icon<\/li><li>Hold the Shift key on your keyboard then click Restart<\/li><li>You should enter a Choose an option blue screen <\/li><li> Select Troubleshoot > Advanced options > Command prompt<\/li><li>Choose your user profile in the Command Prompt blue screen (enter password if prompted)<\/li><li>You should now see a command prompt window <strong>x:\\windows\\system32<\/strong><\/li><li>Type <strong>cd\\<\/strong> to return to the root of x drive<\/li><li>Now, since you don&#8217;t know what letter has been assigned to your drives, you try access drives from a to z e.g type <strong>a:<\/strong> then tap enter, type <strong>b:<\/strong> then tap enter<\/li><li>If drive <strong>a<\/strong> exists, for example, you should see <strong>a:\\><\/strong><\/li><li>A faster way is to type <strong>diskpart<\/strong> then press enter. Once in DISKPART, run <strong>list disk<\/strong> then <strong>sel disk *<\/strong> where <strong>*<\/strong> is the disk number. Finally, run <strong>detail disk<\/strong> . You can then obtain the drive letter<\/li><li>Your goal is to enter the USB drive (and folder if not in root) where your windows installation files are<\/li><li>Once in this drive, type <strong>dir<\/strong> to view its contents and then navigate to where your setup.exe file is located<\/li><li>Type <strong>setup.exe<\/strong> and press Enter<\/li><li>The Windows setup box should appear<\/li><li>Follow the <a href=\"https:\/\/www.hovatek.com\/blog\/how-to-install-windows-10-2\/\">Windows 10 installation<\/a> procedure <\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>This error could be quite a rude shock when you try to logon to your Windows PC. Luckily, it can be easily resolved with minimal data loss if at all any. Why am I getting this error? This means your user profile is corrupted or misconfigured. My first encounter with this was after I did [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":11209,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"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":[818],"tags":[814,812,813,142],"class_list":["post-11207","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-command-prompt","tag-safe-mode","tag-userprofile-service","tag-windows-10"],"_links":{"self":[{"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/posts\/11207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/comments?post=11207"}],"version-history":[{"count":0,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/posts\/11207\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/media\/11209"}],"wp:attachment":[{"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/media?parent=11207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/categories?post=11207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/tags?post=11207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}