<?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>More Win7 coolness</title><link>http://blogs.technet.com/b/joscon/archive/2009/07/22/more-win7-coolness.aspx</link><description>One of the other cool new logs, as it relates to servicing, is the new sessions.xml log. Located in the \Windows\servicing\sessions directory, its a log of all of the different transactions that happen on the machine from a servicing perspective. A small</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: More Win7 coolness</title><link>http://blogs.technet.com/b/joscon/archive/2009/07/22/more-win7-coolness.aspx#3456055</link><pubDate>Wed, 28 Sep 2011 12:32:16 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3456055</guid><dc:creator>Drewfus</dc:creator><description>&lt;p&gt;@Falcon4: Interesting comments.&lt;/p&gt;
&lt;p&gt;This is my 64 bits worth regarding how to implement piping-system-logs-to-displays.&lt;/p&gt;
&lt;p&gt;There is ideally a way to display system update type data to those users/admins who would or could benefit from seeing it, without annoying or distracting or concerning &amp;#39;ordinary&amp;#39; users. Maybe this is it: Display the data using an On-Screen-Data look. Like the OSD display you see when you press your monitors menu button. This would imply to the user@machine that something &amp;#39;techy&amp;#39; was happening - especially because, other than the on-screen text, everything else is dulled (as in UAC prompt reduced brightness snapshot). The OSD text might appear as such...&lt;/p&gt;
&lt;p&gt;Windows Updating in progress... &amp;nbsp;(big bold text across top of screen)&lt;/p&gt;
&lt;p&gt;User input is disabled &amp;nbsp;(smaller)&lt;/p&gt;
&lt;p&gt;&amp;lt;space&amp;gt;&lt;/p&gt;
&lt;p&gt;Session log details:&lt;/p&gt;
&lt;p&gt;&amp;lt;sessions.xml output&amp;gt;&lt;/p&gt;
&lt;p&gt;Ordinary user will look away or go for coffee break. IT pro will sit there transfixed &amp;lt;G&amp;gt;. It would be fairly obvious to anyone that now would not be a good time to restart or shutdown the machine, or try to use it. The OSD text, used sparingly, is unusual enough that user does not ignore it like they ignore most popups - so potentially it has more &amp;#39;authority&amp;#39; and the user just accepts that something important has to happen. That&amp;#39;s the theory anyway.&lt;/p&gt;
&lt;p&gt;There is a command line tool called Comandiux that can do what i&amp;#39;m talking about, using RTF formatted text as a parameter. &lt;a rel="nofollow" target="_new" href="http://comandiux.scot.sk/news.php?item.2.1"&gt;comandiux.scot.sk/news.php&lt;/a&gt; &amp;nbsp;Scroll to &amp;#39;On Screen display OSD:&amp;#39; for examples.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3456055" width="1" height="1"&gt;</description></item><item><title>re: More Win7 coolness</title><link>http://blogs.technet.com/b/joscon/archive/2009/07/22/more-win7-coolness.aspx#3440183</link><pubDate>Thu, 07 Jul 2011 17:54:58 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3440183</guid><dc:creator>joscon [Microsoft]</dc:creator><description>&lt;p&gt;My pleasure....&lt;/p&gt;
&lt;p&gt;Have a good week/weekend.&lt;/p&gt;
&lt;p&gt;--Joseph&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3440183" width="1" height="1"&gt;</description></item><item><title>re: More Win7 coolness</title><link>http://blogs.technet.com/b/joscon/archive/2009/07/22/more-win7-coolness.aspx#3440180</link><pubDate>Thu, 07 Jul 2011 17:48:56 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3440180</guid><dc:creator>Falcon4</dc:creator><description>&lt;p&gt;THANKS!! Means more to me than I can really even express... more often than I care to think about, detailed code-level product feedback (from myself and others) to software companies (of any kind) is idly dismissed as a &amp;quot;support inquiry&amp;quot; and thrown away without ever being seen by a developer - it&amp;#39;s really a high point in the day to just read the words &amp;quot;I will make sure the product teams see your feedback and that your voice is heard&amp;quot;! Certainly the best response I&amp;#39;ve ever received from someone at Microsoft. Thanks again!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3440180" width="1" height="1"&gt;</description></item><item><title>re: More Win7 coolness</title><link>http://blogs.technet.com/b/joscon/archive/2009/07/22/more-win7-coolness.aspx#3440152</link><pubDate>Thu, 07 Jul 2011 17:20:49 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3440152</guid><dc:creator>joscon [Microsoft]</dc:creator><description>&lt;p&gt;Cool, thanks for the response.&lt;/p&gt;
&lt;p&gt;I see what you&amp;#39;re getting at now, and I actually agree with a lot of your points. &amp;nbsp;Agreeing with them and getting them implemented in product is a little bit of a different matter though &amp;lt;G&amp;gt;. &amp;nbsp;Suffice it to say I will make sure the product teams see your feedback and that your voice is heard. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;--Joseph&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3440152" width="1" height="1"&gt;</description></item><item><title>re: More Win7 coolness</title><link>http://blogs.technet.com/b/joscon/archive/2009/07/22/more-win7-coolness.aspx#3440149</link><pubDate>Thu, 07 Jul 2011 17:06:40 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3440149</guid><dc:creator>Falcon4</dc:creator><description>&lt;p&gt;Oh, and sorry for the wall of text replies! Guess I just have a lot to explain, and I just like technical writing ;)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3440149" width="1" height="1"&gt;</description></item><item><title>re: More Win7 coolness</title><link>http://blogs.technet.com/b/joscon/archive/2009/07/22/more-win7-coolness.aspx#3440145</link><pubDate>Thu, 07 Jul 2011 16:49:57 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3440145</guid><dc:creator>Falcon4</dc:creator><description>&lt;p&gt;Joseph: Hey, thanks for the reply! One of these rare, golden occasions when I can actually share real experience with someone that understands what I&amp;#39;m talking about :)&lt;/p&gt;
&lt;p&gt;Well, it&amp;#39;s not exactly about wanting to know what each of the components *does* (although that may be useful in some unforeseen circumstances, like getting a &amp;quot;unservicable image&amp;quot; error on a live Windows install!)... but rather, I&amp;#39;d just like to see the &amp;quot;user-facing&amp;quot; services do a better job of communicating status information with the &amp;quot;system-facing&amp;quot; utilities they control - it seems like most Windows utilities have a sort of &amp;quot;multiple layer&amp;quot; obscurity, where the utility functions are being overly boiled-down into function calls that can&amp;#39;t easily report their status through the &amp;quot;blocking barrier&amp;quot; - the utility is relying on the function call to block until it completes, so the only recourse the utility has is to sit there and play &amp;quot;hold music&amp;quot; (like &amp;quot;Please wait&amp;quot; or &amp;quot;Installing update 1 of 59&amp;quot;) and wait for that function call to return. Meanwhile, the utility library that was called has its own independent log file located somewhere on the disk. Problem is, there&amp;#39;s little to no communication between the utility program and the function call performing the actual &amp;quot;duty&amp;quot;, other than just a simple return value indicating success (0x0) or failure (!= 0x0). End result? Users and techs left out in the cold when something goes wrong. :/&lt;/p&gt;
&lt;p&gt;In the case of the 0x7B, you&amp;#39;re right, it&amp;#39;s definitely one of the most well-documented errors in Windows history. But that&amp;#39;s what just kept driving me on towards resolution instead of just &amp;quot;nuking it&amp;quot;: I knew how it should work, what happens in that phase of the boot process, and it was just hurting my head that everything was in place and it was still BSOD&amp;#39;ing! Really, I was just using that as a &amp;quot;this is why I did what I did&amp;quot; example, not an issue with the 0x7B error itself - nothing MS could have done, other than handing-off the &amp;quot;Oh, this is the driver I couldn&amp;#39;t actually find, by the way&amp;quot; error condition to the BSOD routine, could have made that &amp;quot;fix&amp;quot; go any quicker. I don&amp;#39;t blame Windows for that - I blame HP for that dang filter driver conflict. ;)&lt;/p&gt;
&lt;p&gt;What I meant there was that, in trying to do a system file check scan (sfc /scannow /offbootdir=c:\ /offwindir=c:\), I got an error saying there were &amp;quot;pending operations&amp;quot;. OK, that&amp;#39;s specific enough, but it offers no resolve and no alternatives - no way to tell SFC that &amp;quot;um, but I can&amp;#39;t reboot, that&amp;#39;s why I&amp;#39;m running SFC offline!&amp;quot;. It&amp;#39;s a case of the &amp;quot;function call&amp;quot; disability again: the only thing SFC knows is that &amp;quot;I couldn&amp;#39;t initialize the scanner, and it gave me this error code, which means this&amp;quot;. It couldn&amp;#39;t tell me anything specific, because the return value of the function call is just a simple 32-bit number - no room for a file name or for the function call to return the error it actually logged (which is usually much more useful). As a result, I ended up making the horribly poor decision to out-and-out delete WinSxS\pending.xml (or was it reboot.xml? can&amp;#39;t remember which), just to get SFC to work. If I had known about DISM&amp;#39;s &amp;quot;/RevertPendingActions&amp;quot; switch, I would certainly have used it instead, and I would (still) have a fully functional Windows install... but because it didn&amp;#39;t provide me with context-appropriate (&amp;quot;I&amp;#39;m using this tool because the computer won&amp;#39;t boot, why are you telling me that you won&amp;#39;t run until I reboot?&amp;quot;) error information, I ended up totally botching the thing.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a harmless learning experience for me, sure. The PC was just being polished up after a (freshly restored and updated) Vista 64 to Windows 7 64 upgrade, and I wanted to update the drivers and any useful OEM software before sending it &amp;quot;back into the wild&amp;quot;. No loss, especially since the PC still boots Windows and runs great - it&amp;#39;ll just never be able to update itself again (and that&amp;#39;s unacceptable to me), hence now needing a reinstall. However, I&amp;#39;m concerned about the thousands of PCs a day that are &amp;quot;nuked&amp;quot; unnecessarily for problems just like this that could have been solved if Windows would have provided more useful failure information. The KSOD (black screen of death) is a prime example: it manifests itself as an indefinite &amp;quot;hang&amp;quot; just before the Welcome screen fades in - during that time where boot-time &amp;quot;pending&amp;quot; actions are performed with *absolutely no* status information whatsoever displayed on the screen! Most of these end up getting nuked because nobody knows how to really fix it (the &amp;quot;rpcss&amp;quot; fix frequently touted as &amp;quot;the fix!&amp;quot; has never once been applicable in my experience). The whole component-based servicing model of Windows Vista/7 is just so opaque to most techs I know of (all, actually - I&amp;#39;m the only person I know of that&amp;#39;s ever dug this far into it), that when something goes wrong with it, &amp;quot;just nuke it&amp;quot;.&lt;/p&gt;
&lt;p&gt;That&amp;#39;s what I would like to see improved on, really... just make CBS a little more... Window-ey - transparent, that is - and less &amp;quot;frosted-glass fruit logo&amp;quot; - or, opaque :) It&amp;#39;d make repair work a lot less destructive for most people, and I&amp;#39;d really feel a lot better about being in control of my PC again!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3440145" width="1" height="1"&gt;</description></item><item><title>re: More Win7 coolness</title><link>http://blogs.technet.com/b/joscon/archive/2009/07/22/more-win7-coolness.aspx#3440062</link><pubDate>Thu, 07 Jul 2011 10:49:12 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3440062</guid><dc:creator>joscon [Microsoft]</dc:creator><description>&lt;p&gt;@Falcon; &amp;nbsp;Thanks for the comment. &amp;nbsp;I understand your point and it&amp;#39;s a delicate balance between giving users such as yourself the information you want to know regarding things going on &amp;#39;under the covers&amp;#39; and the masses who really just want their stuff to work without too much of a hassle. &amp;nbsp;We do what we can.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m curious what knowing exaclty what each of these components does really does for you though. &amp;nbsp;For example, 0x7B&amp;#39;s have been well documented and have (what I feel) is a very good verbiage attached to its output, ie. INACCESSIBLE_BOOT_DEVICE. &amp;nbsp;That might not tell you exactly what&amp;#39;s happening on the machine but it does give you an indication where the problem is. &amp;nbsp;It&amp;#39;s something with the bootable portion of the OS. &amp;nbsp;A quick Bing or Google search would yield you several articles and resolutions for those types of issues. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;So, are you looking for better error handling for the actual return codes, better verbosity in the return codes themselves or something else?&lt;/p&gt;
&lt;p&gt;--Joseph&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3440062" width="1" height="1"&gt;</description></item><item><title>re: More Win7 coolness</title><link>http://blogs.technet.com/b/joscon/archive/2009/07/22/more-win7-coolness.aspx#3440050</link><pubDate>Thu, 07 Jul 2011 09:03:16 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3440050</guid><dc:creator>Falcon4</dc:creator><description>&lt;p&gt;I agree COMPLETELY with the above pipe-to-screen suggestion! The trend of ever-increasing difficulty in diagnosing Windows is creating a bit of a disturbing &amp;quot;gap&amp;quot; of people that would otherwise be interested in understanding Windows internals, but can&amp;#39;t find the right place to look (and the event viewer has gotten to be a kludgey,slow-loading nightmare of a last-resort tool)! With the log files and status information tucked away neatly into a distant corner of the file system, it&amp;#39;s a bit of a steep learning curve for newcomers to really understand how to fix some pretty basic Windows problems.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried to help whereever I can, by typing out full error numbers and unique problem keywords in my online posts to help search engines out, but a good 95% of the things I search for regarding low-level Windows diagnostics come up totally blank, or with just a raw listing of all possible error codes (and no extra info other than what I already had). It&amp;#39;s gotten to be quite frustrating. For example, at the moment I&amp;#39;m dealing with a computer where I was diagnosing a hung startup, found an HP disk LowerFilter service causing the issue (didn&amp;#39;t realize it was a LowerFilter until it was too late, though), and disabled the service. The boot hang turned into a 0x7B bootloop, and I spent the next 6 hours diagnosing and trying to fix it. Unfortunately, the diagnostic involved running a DaRT 6.5 SFC scan, which complained that there were pending operations requiring a reboot (which, obviously, couldn&amp;#39;t happen).&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s where servicing issues come into play. I didn&amp;#39;t know how to revert pending actions (with that literal switch on DISM), so I did what I usually do to resolve a &amp;quot;pending actions&amp;quot; problem: I deleted &amp;quot;pending.xml&amp;quot;. I knew it would cause issues, but I also knew I could rely on CheckSUR (update readiness tool) to repair the component store issues caused by the mixed-state. Deleting pending.xml made SFC happy, it ran the scan, and proposed a short list of &amp;quot;corrupted&amp;quot; files to be repaired. OK, I let it &amp;quot;do its thing&amp;quot;. It didn&amp;#39;t fix the issue (obviously).&lt;/p&gt;
&lt;p&gt;Fast forward a couple hours, I get the issue resolved by finally understanding the boot-time relationship between ntdetect, Services, CriticalDeviceDatabase, and Control\Class, and found that with the HP disk filter service disabled but not removed as a LowerFilter, the &amp;quot;disk&amp;quot; class can&amp;#39;t load, and the computer doesn&amp;#39;t boot. OK, Windows is running happy again. I run CheckSUR and it, well... it does its long-running silent operation (another case of the &amp;quot;PLEASE! WHY aren&amp;#39;t you telling me what you&amp;#39;re doing?!&amp;quot; epidemic of the Vista/7 era). It leaves me with &amp;quot;installation complete&amp;quot; and I push onward. I have a few updates so I try to install them. Failed, immediately. Huh? Well... dig a little deeper, and I get this:&lt;/p&gt;
&lt;p&gt;(on something like &amp;quot;dism /online /remove-feature:TabletPCOC&amp;quot;...)&lt;/p&gt;
&lt;p&gt;The specified image is no longer serviceable.&lt;/p&gt;
&lt;p&gt;Unmount the image and discard your changes. Mount the original image to try the operation again.&lt;/p&gt;
&lt;p&gt;Error: 0x800f0830&lt;/p&gt;
&lt;p&gt;Um... dewd, what? This isn&amp;#39;t a mounted WIM image, this is the, ah... this is the Windows image you&amp;#39;re actually running from, like, with that &amp;quot;/online&amp;quot; switch. It&amp;#39;s you, dude. You&amp;#39;re saying, you&amp;#39;re not going to like, ever let me &amp;quot;service&amp;quot; you again? That&amp;#39;s it, game over, the end? That&amp;#39;s, I dunno, a little too digital for my comfort level... but that&amp;#39;s all it&amp;#39;s been, no matter what I do. The COMPONENTS registry hive is far too complex for me to understand (finally having grasped CLSID and file type interactions, among others), so that&amp;#39;s kinda off-limits. An earlier log entry in CBS.LOG indicated that the Windows 7 Service Pack 1 (referenced by its KB number) couldn&amp;#39;t be verified as fully intact, since it couldn&amp;#39;t find a MUM file somewhere (I absentmindedly deleted the CBS log to isolate new entries, so those are gone), but without being able to apply or remove ANY updates, I&amp;#39;m stuck in a completely locked state.&lt;/p&gt;
&lt;p&gt;This is where a little more verbosity and a little less &amp;quot;noise&amp;quot; in the log files (like all the successful &amp;quot;provider&amp;quot; events, and OH GOD PLEASE allow us to disable the excess logging of Service Control Manager start/stop events in the system Event Log!) would come in very handy! I&amp;#39;m left with only one option on this PC: in-place upgrade, or full reinstall! :(&lt;/p&gt;
&lt;p&gt;Thought I&amp;#39;d share this little story as a little real-world &amp;quot;low level diagnostic&amp;quot; insight... only hope is that it&amp;#39;ll help improve the MS products we all work with every day :)&lt;/p&gt;
&lt;p&gt;(retrying this post; post didn&amp;#39;t appear the first time and I wasn&amp;#39;t signed-in, so hopefully this doesn&amp;#39;t post twice!)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3440050" width="1" height="1"&gt;</description></item><item><title>re: More Win7 coolness</title><link>http://blogs.technet.com/b/joscon/archive/2009/07/22/more-win7-coolness.aspx#3391691</link><pubDate>Fri, 04 Mar 2011 03:00:55 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3391691</guid><dc:creator>Drewfus</dc:creator><description>&lt;p&gt;Thanks Joseph. IMO, verbose messaging (of any type), should be enabled by default during any Setup pass, and on any boot cycle that an Administrator is auto-logged-on. Except for the Home SKUs perhaps.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3391691" width="1" height="1"&gt;</description></item><item><title>re: More Win7 coolness</title><link>http://blogs.technet.com/b/joscon/archive/2009/07/22/more-win7-coolness.aspx#3391658</link><pubDate>Thu, 03 Mar 2011 22:20:33 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3391658</guid><dc:creator>joscon [Microsoft]</dc:creator><description>&lt;p&gt;Thanks for the idea Drew. &amp;nbsp;I like that. &amp;nbsp;I&amp;#39;ll see what I can about getting something like that on the radar.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3391658" width="1" height="1"&gt;</description></item></channel></rss>