{"id":91,"date":"2012-01-11T10:20:55","date_gmt":"2012-01-11T15:20:55","guid":{"rendered":"http:\/\/triplescomputers.com\/blog\/?p=91"},"modified":"2012-01-11T10:20:55","modified_gmt":"2012-01-11T15:20:55","slug":"getting-around-user-profile-corruption-madness","status":"publish","type":"post","link":"https:\/\/www.triplescomputers.com\/blog\/casestudies\/getting-around-user-profile-corruption-madness\/","title":{"rendered":"Getting around user profile corruption madness"},"content":{"rendered":"<p>Eventually, for one reason or another, you&#8217;re likely to encounter a corrupted user profile. \u00a0While it&#8217;s possible to simply perform a System Restore to correct this in many cases, other times, that isn&#8217;t possible.<\/p>\n<p>Fortunately, there are ways around this problem. \u00a0For starters, it&#8217;s important to know that Windows stores all user profile information in the following location:<\/p>\n<blockquote><p>HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\ProfileList<\/p><\/blockquote>\n<p>Here, you&#8217;ll find several subkeys named S-1-5-xx-&#8230;, each of which corresponds with a specific user on the machine. \u00a0How do you know which user is which? \u00a0By noting the value of <strong>ProfileImagePath<\/strong>, which contains the path to the user&#8217;s home directory (and the value of the %USERPROFILE% Environment Variable). \u00a0If this value happens to be corrupt, this value may be incorrect, instead pointing to, for instance, the Windows temp directory. \u00a0You can change this value to the proper one if you&#8217;re careful about what you&#8217;re doing and it may correct the issue.<\/p>\n<p>But <strong>before <\/strong>you change anything, first be sure you have a safety net just in case. \u00a0If you can log in with another user profile, do so, then create a System Restore point. \u00a0Or, at the very least, boot to Safe Mode (or to Startup Repair\/WinRE in Vista\/7) and create a backup of the registry hives (either by exporting them from within Regedit or by copying them directly from the <strong>system32\/config <\/strong>and <strong>%USERPROFILE% <\/strong>directories of the affected users. \u00a0Remember, the names of the registry hives are SOFTWARE, SYSTEM, SAM, SECURITY, and \u00a0DEFAULT in the <strong>config <\/strong>folder and NTUSER.dat in the <strong>%USERPROFILE% <\/strong>folder).<\/p>\n<p>Other things to check include:<\/p>\n<ol>\n<li>Look for SIDs (S-1-5-&#8230;) that end in &#8220;.bak&#8221;<\/li>\n<ul>\n<li>If you see one, rename the other corresponding SID (which matches) to something else for backup purposes (such as <strong>.old<\/strong>)<\/li>\n<li>Then, remove the &#8220;.bak&#8221; from the end of the other matching SID and check the RefCount value before rebooting:<\/li>\n<\/ul>\n<li>Look for <strong>RefCount<\/strong>\u00a0values above 1 (You can change this to 0)<\/li>\n<\/ol>\n<p>If things are really screwy, you can export the entire ProfileList key and then manually delete any SIDs that you don&#8217;t want. \u00a0(This is what I had to do to force my client&#8217;s PC to boot properly after some seriously registry cleaner\/tweak utility damage yesterday.) \u00a0Just be sure that you actually have backups of the data before you do so!<\/p>\n<p>Play around with this key and you&#8217;ll eventually find your way back in Windows without (hopefully) too much trouble. \u00a0In the absolute worst-case scenario, you may need to <a title=\"Enable the Administrator account in Vista\/7\" href=\"http:\/\/www.howtogeek.com\/howto\/windows-vista\/enable-the-hidden-administrator-account-on-windows-vista\/\" target=\"_blank\">enable Administrator account access<\/a> and then create another replacement user account (SID) for yourself, after which you&#8217;ll need to copy all of the files over manually. \u00a0But don&#8217;t fret; remember, there&#8217;s always a solution!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Eventually, for one reason or another, you&#8217;re likely to encounter a corrupted user profile. \u00a0While it&#8217;s possible to simply perform a System Restore to correct this in many cases, other times, that isn&#8217;t possible. Fortunately, there are ways around this &hellip; <a href=\"https:\/\/www.triplescomputers.com\/blog\/casestudies\/getting-around-user-profile-corruption-madness\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[71,65,69,70,66,72,48,67,68],"class_list":["post-91","post","type-post","status-publish","format-standard","hentry","category-casestudies","tag-corrupt-profile","tag-profile-corrupt","tag-profile-error","tag-profile-problem","tag-temporary-profile","tag-user-profile","tag-windows-7","tag-windows-vista","tag-windows-xp"],"_links":{"self":[{"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/posts\/91","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/comments?post=91"}],"version-history":[{"count":0,"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/posts\/91\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/media?parent=91"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/categories?post=91"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/tags?post=91"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}