<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Mythical Creatures – Corrupt User Profiles</title><link>http://blogs.technet.com/b/askds/archive/2010/10/20/mythical-creatures-corrupt-user-profiles.aspx</link><description>&amp;ldquo;Ned&amp;rdquo; the Gnome 
 Mike here again and in the spirit of Halloween I want to discuss mythical creatures. What would the world be without J.R.R. Tolkien&amp;rsquo;s idea of smelly, leather-skinned Orcs or Greek Mythology&amp;rsquo;s gift of Pegasus</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Mythical Creatures – Corrupt User Profiles</title><link>http://blogs.technet.com/b/askds/archive/2010/10/20/mythical-creatures-corrupt-user-profiles.aspx#3363330</link><pubDate>Thu, 21 Oct 2010 15:10:33 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3363330</guid><dc:creator>MikeStephensMSFT</dc:creator><description>&lt;p&gt;Ashley,&lt;/p&gt;
&lt;p&gt;Thanks for the comments. The first issue you mentioned is Windows’ inability to load the user’s CLASSES registry hive. &amp;nbsp;This registry key is backed by the file usrclass.dat. &amp;nbsp;It’s just registry data. &amp;nbsp;The key is HKEY_CURRENT_USER\Software\Classes. &amp;nbsp;The idea behind this is to allow per-user COM registration. &amp;nbsp;For XP and 2003, you can enable USERENV logging to track down while Winlogon is having a problem loading the file – there should be an error message and usually and result code. &amp;nbsp;Other ways to track this down is to use Process Monitor and log the profile load. &amp;nbsp;Filter File and registry events that involve the filename or registry location, respectively. Most of the time that Windows fails to load something is because something else has opened an exclusive handle to the file or registry (95 percent of the time is a file handle). &amp;nbsp;I typically use Process Explorer and search for the process that has a handle to the file (sounds like another blog post). If you’re lucky, the process will be intuitively named to where you can identify the “dood” that isn’t playing nice in the sandbox. Sometimes, the process will be SVCHOST, which now you need to further investigate all the services living in that SVCHOST process. &amp;nbsp;The worst scenario is when the process comes under SYSTEM. &amp;nbsp;The likely of culprits in this scenario is a kernel mode driver that has a handle to the file. Unfortunately, this requires a debugger and copious amounts of free time. &amp;nbsp;However, you could ask the question “What uses a filter driver and constantly looks at files on the operating system?” &amp;nbsp;Antivirus and intrusion protection software are two big ones that come to mind. &amp;nbsp;Uninstall these (disabling does not remove the kernel driver—that why we uninstall) and reproduce the problem. The bad thing with that is the reboot kills your repro.&lt;/p&gt;
&lt;p&gt;Second issue – you claim the shell folders keys were corrupt—define corrupt? Shell folder keys are stored in ntuser.dat, not usrclass.dat so, I’m disinclined to believe the two events are related—especially when I’d guess the first problem is a handle problem and not an actual problem with the registry key. Also, I’m a bit confused that the key was impossible to read; however, some way it could be deleted. Typically, you need to be able to read something to delete it. Without data, I’d lean toward something wrote “bad” data to these keys, or they were empty. &amp;nbsp;I’ve seen this before. Again, I turn to trusty Process Monitor to identify the process “that massages” those keys into porridge; and go from there&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3363330" width="1" height="1"&gt;</description></item><item><title>re: Mythical Creatures – Corrupt User Profiles</title><link>http://blogs.technet.com/b/askds/archive/2010/10/20/mythical-creatures-corrupt-user-profiles.aspx#3363326</link><pubDate>Thu, 21 Oct 2010 14:58:04 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3363326</guid><dc:creator>Mike Kline</dc:creator><description>&lt;p&gt;Outstanding post Mike! (and nice Eminem reference) I think as long as there are users and help desk techs this myth will continue. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have to admit years ago when I did frontline helpdesk support it was an easy thing to say to a VIP user. &amp;nbsp;&amp;quot;Your profile is corrupt&amp;quot;. &amp;nbsp;You recreate it and have a script to copy from the old to the new and they are back up and running and you get out of their office as fast as possible. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I like the virtual machine idea; that was not around when I was help desk...would have been nice.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3363326" width="1" height="1"&gt;</description></item><item><title>re: Mythical Creatures – Corrupt User Profiles</title><link>http://blogs.technet.com/b/askds/archive/2010/10/20/mythical-creatures-corrupt-user-profiles.aspx#3363323</link><pubDate>Thu, 21 Oct 2010 14:40:09 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3363323</guid><dc:creator>sgrinker</dc:creator><description>&lt;p&gt;@Mike&lt;/p&gt;
&lt;p&gt;Sounds good, and thanks for the follow-up! &amp;nbsp;Looking forward to the future posts...&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3363323" width="1" height="1"&gt;</description></item><item><title>re: Mythical Creatures – Corrupt User Profiles</title><link>http://blogs.technet.com/b/askds/archive/2010/10/20/mythical-creatures-corrupt-user-profiles.aspx#3363320</link><pubDate>Thu, 21 Oct 2010 14:35:12 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3363320</guid><dc:creator>MikeStephensMSFT</dc:creator><description>&lt;p&gt;Sgrinker&lt;/p&gt;
&lt;p&gt;I’ve received several requests to elaborate on the scenarios in the article. The plan is to create additional blog posts with each post providing more depth about the scenarios; and hopefully a way to allow our readers walk through the scenarios themselves. &amp;nbsp;My hope is to outline the scenario; provide some background; break it; and then show how we here in support identify it—that’s the plan at least. &amp;nbsp;I have everything done … in my mind—now I just need to write it &lt;/p&gt;
&lt;p&gt;I’ll try to dedicate a blog that highlights actual registry corruption (the structure itself); however, that’s actually more difficult to do while making it look like an accident. &amp;nbsp;But, it would be a good post if I can swing the details and implementation.&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3363320" width="1" height="1"&gt;</description></item><item><title>re: Mythical Creatures – Corrupt User Profiles</title><link>http://blogs.technet.com/b/askds/archive/2010/10/20/mythical-creatures-corrupt-user-profiles.aspx#3363248</link><pubDate>Thu, 21 Oct 2010 07:41:59 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3363248</guid><dc:creator>HelgeKlein</dc:creator><description>&lt;p&gt;As the architect for what is now Citrix&amp;#39;s Profile Management product I have been working with and writing about user profiles a lot. Regarding the common misconception of corrupt profiles I came to roughly the same conclusion as you, albeit 2.5 years ago. Here is my take on the subject:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.sepago.de/helge/2008/07/02/corrupt-user-profiles-do-they-even-exist/"&gt;www.sepago.de/.../corrupt-user-profiles-do-they-even-exist&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3363248" width="1" height="1"&gt;</description></item><item><title>re: Mythical Creatures – Corrupt User Profiles</title><link>http://blogs.technet.com/b/askds/archive/2010/10/20/mythical-creatures-corrupt-user-profiles.aspx#3363195</link><pubDate>Wed, 20 Oct 2010 22:47:49 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3363195</guid><dc:creator>AshleyKnowles</dc:creator><description>&lt;p&gt;Hi Mike, &lt;/p&gt;
&lt;p&gt;Great post!&lt;/p&gt;
&lt;p&gt;I&amp;#39;d like to get your opinion on an issue which I don&amp;#39;t think you have quite put your finger on with this post. I suspect it may be on the borderline of being a real corruption (albeit, caused by something else?).&lt;/p&gt;
&lt;p&gt;As a desktop tech a year or two ago (*shudder*, glad to be back in the systems engineering arena), I had a number of clients who would regularly have the exact same issue as below, primarily on Windows Vista, but occasionally on XP and 7.&lt;/p&gt;
&lt;p&gt;The issue, is two fold (forgive me for not having any event logs etc for further perusal, it was a while ago). Firstly, it is reported in the event log that the users &amp;quot;CLASSES&amp;quot; registry hive could not be loaded. Secondly, the registry key &amp;quot;HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders&amp;quot; was actually &amp;quot;corrupted&amp;quot; - which I suspect has some relation to the first part of the issue. You could not even open this key and see the actual registry entries (it wasn&amp;#39;t permissions related, either)&lt;/p&gt;
&lt;p&gt;Fixing the issue was simple, delete the &amp;quot;Shell Folders&amp;quot; key, and recreate all of it&amp;#39;s registry entries. Everything would then come back fine...&lt;/p&gt;
&lt;p&gt;Corruption? Or bad data? That&amp;#39;s the question. &lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;Ashley&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3363195" width="1" height="1"&gt;</description></item><item><title>re: Mythical Creatures – Corrupt User Profiles</title><link>http://blogs.technet.com/b/askds/archive/2010/10/20/mythical-creatures-corrupt-user-profiles.aspx#3363171</link><pubDate>Wed, 20 Oct 2010 20:18:29 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3363171</guid><dc:creator>sgrinker</dc:creator><description>&lt;p&gt;Mike&lt;/p&gt;
&lt;p&gt;Very nice post. &amp;nbsp;Although would it be possible for you to further elaborate on the few cases you have run accross? &amp;nbsp;Mostly from a curiousity standpoint, but I would be interested to see more details on what the real &amp;quot;corruption&amp;quot; looked like, how it manifested, and how it was ultimately found.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3363171" width="1" height="1"&gt;</description></item></channel></rss>