<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>James Finnigan</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/jamesfi/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/jamesfi/feed.xml</link>
    <description>Debugging, Shell Programming, Setup, Working at Microsoft, Virtualization</description>
    <lastBuildDate>Wed, 17 Apr 2019 04:05:38 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Teaching Children to Program Khan Academy / Processing</title>
      <link>https://docs.microsoft.com/archive/blogs/jamesfi/teaching-children-to-program-khan-academy-processing</link>
      <pubDate>Sat, 08 Sep 2012 14:40:06 GMT</pubDate>
      <dc:creator><![CDATA[James Finnigan - MS]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jamesfi/2012/09/08/teaching-children-to-program-khan-academy-processing/</guid>
      <description><![CDATA[I've got a new experiment going on where I'm trying to get the kids interested in the new computer...]]></description>
      <content:encoded><![CDATA[<p>I've got a new experiment going on where I'm trying to get the kids interested in the new computer science offerings of the Khan Academy.&nbsp; We've really enjoyed the kid's creativity and things like minecraft, drawing, pretending, writing, etc.are all great outlets.&nbsp; Computer Science allows you to create incredibly power and fun things and I'm excited to see what they would create (if they get interested).&nbsp; Of course, there can be a lot of work to make a simple thing and that's a significant barrier for a child's attention span (at least initially).&nbsp;</p>
<p>Khan has chosen the processing&nbsp;<a href="https://en.wikipedia.org/wiki/Processing_(programming_language">https://en.wikipedia.org/wiki/Processing_(programming_language</a>) language and experience which is great.&nbsp; Like Kodu, Robozzle, or Scratch, those really visual experiences are great for building intuition and capturing imagination.&nbsp; So far, there's some interest - the drawing intro has already got them thinking.&nbsp; (<a href="https://www.khanacademy.org/cs/intro-to-drawing/848372201">https://www.khanacademy.org/cs/intro-to-drawing/848372201</a>) I'm excited to see what they come up with - they really just need enough sparks to get them going.</p>
<p>Old Basic Program I wrote as a young child.&nbsp; I think I repeated the ever-so-humble program when text-to-speech started going as well. :)</p>
<p>10 PRINT "James rocks!!!"</p>
<p>20 GOTO 10</p>
<p>Those experiences where a tiny investment gives a sense of power, accomplishment and potential are critical - and a lot of fun to watch.</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Teaching Children to Program</title>
      <link>https://docs.microsoft.com/archive/blogs/jamesfi/teaching-children-to-program</link>
      <pubDate>Sat, 04 Apr 2009 18:48:00 GMT</pubDate>
      <dc:creator><![CDATA[James Finnigan - MS]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jamesfi/2009/04/04/teaching-children-to-program/</guid>
      <description><![CDATA[I was playing Robozzle with my oldest and he was having a blast and loved that he was programming...]]></description>
      <content:encoded><![CDATA[<P>I was playing <A href="https://www.robozzle.com/" mce_href="https://www.robozzle.com/">Robozzle</A> with my oldest and he was having a blast and loved that he was programming like Dad does.&nbsp; (He did let me know he wants to be policeman though. :)&nbsp; It’s a fun way to introduce kids to programming and reminds me a little of the little logo turtle.&nbsp; </P>
<P>I didn’t start out programming that way – I got into programming because my Dad was too busy to start the games I wanted to play on a computer.&nbsp; Funny how one things leads to another – I ended up learning how to start the games, then I wanted more games which meant I had to program them from books (basic on the TI, don’t remember the other languages).&nbsp; And eventually we learned how to make the computer do stuff (little Tron games on an apple IIe that my Grandpa had, that kind of thing).&nbsp; We had a lot of fun with it, and I was way ahead when I took my first programming class – so much so that I finished very early and spent the time playing various computer games (full circle :).&nbsp; So I’m a big believer in teaching kids skills through games (more fun for you, too).</P>
<P>What games have you found that do this for programming?&nbsp; What really easy programming experiences are out there?&nbsp; I would love to hear what you’ve found, and recommend that you give Robozzle a try (and contribute more easy puzzles so kids have more puzzles before things get too tricky).</P>]]></content:encoded>
    </item>
    <item>
      <title>Hyper-V review</title>
      <link>https://docs.microsoft.com/archive/blogs/jamesfi/hyper-v-review</link>
      <pubDate>Thu, 31 Jan 2008 16:22:26 GMT</pubDate>
      <dc:creator><![CDATA[James Finnigan - MS]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jamesfi/2008/01/31/hyper-v-review/</guid>
      <description><![CDATA[The hypervisor support in Server 2008 is now out in beta and it's great to see the product hitting...]]></description>
      <content:encoded><![CDATA[<p>The hypervisor support in Server 2008 is now out in beta and it's great to see the product hitting the street.&#160; Virtualization is a huge change for the industry that can do a lot for everyone from data-centers to software houses, to people who just want to be able to run programs without worrying as much (yes, yes, escape exploits would remain a concern).</p>  <p>Here's <a href="https://www.windowsitpro.com/Windows/Articles/ArticleID/97857/pg/1/1.html">a review from Windows IT Pro</a>.&#160; Of course, this isn't what I actually work on - I work on the Virtual Machine Manager.&#160; Sadly, our product is still behind closed doors - I can't wait to get it out to customers.</p>  <p>To follow along until then, <a href="https://blogs.technet.com/rakeshm/default.aspx">enjoy Rakesh's blog</a>, which explains such decisions as <a href="https://blogs.technet.com/rakeshm/archive/2008/01/11/why-we-decided-to-manage-vmware.aspx">Why we decided to manage VMWare</a>.</p>  <p>Cheers,</p>  <p>James</p>]]></content:encoded>
    </item>
    <item>
      <title>Beginning again - and hiring</title>
      <link>https://docs.microsoft.com/archive/blogs/jamesfi/beginning-again-and-hiring</link>
      <pubDate>Wed, 07 Nov 2007 22:34:34 GMT</pubDate>
      <dc:creator><![CDATA[James Finnigan - MS]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jamesfi/2007/11/07/beginning-again-and-hiring/</guid>
      <description><![CDATA[Well, fun times.&#xA0; I've taken a position on the Virtual Machine Manager team.&#xA0; I'll be one...]]></description>
      <content:encoded><![CDATA[<p>Well, fun times.&#xA0; I've taken a position on the <a href="https://www.microsoft.com/scvmm ">Virtual Machine Manager</a> team.&#xA0; I'll be one of the lead developers working on the next version.&#xA0; It's an exciting space, with <a href="https://search.live.com/results.aspx?q=vmware+competitors">a lot of players</a> and a lot of new technologies.</p>  <p>I'm also <em>hiring</em>.&#xA0; So if you're interested we have a number of interesting positions UI and non-UI related (as you might imagine :)).&#xA0; </p>  <p>Here's a link to a <a href="https://members.microsoft.com/careers/search/details.aspx?JobID=15481BE7-1FE5-476D-B8EC-785CFB63DA02">UI programmer position</a>, but please feel free to send me a message if you're interested.&#xA0; And again, I'm hiring for non-UI positions as well - the link is just to show a little more information about the team and the direction that we're headed.&#xA0;&#xA0; (We are a C# shop.)</p>  <p>If you're interested in hearing more, you can follow along on the <a href="https://blogs.technet.com/virtualization/default.aspx">team blog</a>.</p>]]></content:encoded>
    </item>
    <item>
      <title>The Shell Extensions Approved list is *not* a complete list of shell extensions on the system</title>
      <link>https://docs.microsoft.com/archive/blogs/jamesfi/the-shell-extensions-approved-list-is-not-a-complete-list-of-shell-extensions-on-the-system</link>
      <pubDate>Sat, 08 Sep 2007 00:42:02 GMT</pubDate>
      <dc:creator><![CDATA[James Finnigan - MS]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jamesfi/2007/09/08/the-shell-extensions-approved-list-is-not-a-complete-list-of-shell-extensions-on-the-system/</guid>
      <description><![CDATA[I've noticed that a number of different programs just look at the Approved list of shell extensions...]]></description>
      <content:encoded><![CDATA[<p>I've noticed that a number of different programs just look at the Approved list of shell extensions [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved] and figure that all shell extensions will be in that list.&nbsp; It's not true, because lots of folks don't really care about <a href="https://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/gp/237.mspx?mfr=true" target="_blank">that policy</a>.&nbsp; I don't know how often it's used - it doesn't really make your system more secure as far as I can tell.&nbsp; (It may reduce the TCO related to folks installing poorly written shell extensions.)</p> <p>It also doesn't apply to all shell extensions.&nbsp; There are many of them (probably some of them with HKCU extensibility) that haven't been moved to the policy system yet.&nbsp; (So you should always register your shell extensions there, even if it doesn't seem to be necessary.)</p> <p>(That said, it certainly does give you quite a few of them for very little work. On my system, it finds about 325/400 - about 80%.&nbsp; Because of that,&nbsp;if you're thinking about turning on this policy consider the fact that you'll be disabling 1 in 5 shell extensions; will&nbsp;that generate more or less support calls?)</p>]]></content:encoded>
    </item>
    <item>
      <title>Supplemental Registrations (aka. Context Menu Handers (etc) - where are they loaded from...)</title>
      <link>https://docs.microsoft.com/archive/blogs/jamesfi/supplemental-registrations-aka-context-menu-handers-etc-where-are-they-loaded-from</link>
      <pubDate>Thu, 06 Sep 2007 12:00:00 GMT</pubDate>
      <dc:creator><![CDATA[James Finnigan - MS]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jamesfi/2007/09/06/supplemental-registrations-aka-context-menu-handers-etc-where-are-they-loaded-from/</guid>
      <description><![CDATA[I've been thinking about the registration problem where you want to add a context menu (much of this...]]></description>
      <content:encoded><![CDATA[<P>I've been thinking about the registration problem where you want to add a context menu (much of this applies to static verbs as well) to a file type (we'll say .ogg).&nbsp; You don't want the default verb, you just want to add some verbs.&nbsp; Because you don't want the default, you shouldn't put your progid in the HKCR\.ogg default value, so you put an entry under HKCR\.ogg\shellex\ContextMenuHandler.&nbsp; And this works great.. until someone comes along and puts a progid in HKCR\.ogg's default value.&nbsp; Look at the fallthrough logic below - #2 (where we registered), and #3 are only used if there is no progid!&nbsp; 
<P>Fallthrough logic when loading context menu handlers (static verbs and then context menu handlers are collected from the following places): 
<P><STRONG>(DO NOT USE THIS LOGIC&nbsp;IN YOUR CODE&nbsp;- it is a simplification of the real logic <EM>and </EM>it will change.&nbsp; Instead, use </STRONG><A href="https://msdn2.microsoft.com/en-us/library/ms633715.aspx" target=_blank mce_href="https://msdn2.microsoft.com/en-us/library/ms633715.aspx"><STRONG>IQueryAssociations</STRONG></A><STRONG> or AssocQuery* for all these kinds of file association related things.)</STRONG> 
<OL>
<LI>HKCR\&lt;ProgID&gt; 
<LI>HKCR\&lt;.ext&gt; (only if #1 does not exist) 
<LI>HKCR\Unknown (only if #1 does not exist) 
<LI>HKCR\SystemFileAssociations\&lt;.ext&gt; 
<LI>HKCR\SystemFileAssociations\&lt;PerceivedType&gt; 
<LI>HKCR\Folder (only used if the selected item has the SFGAO_FOLDER attribute, such as a folder, zip, cab, etc.) 
<LI>HKCR\* 
<LI>HKCR\AllFilesystemObjects</LI></OL>
<P>But there is a way!&nbsp; You can register <A href="https://msdn2.microsoft.com/en-us/library/aa969385.aspx#supplemental" target=_blank mce_href="https://msdn2.microsoft.com/en-us/library/aa969385.aspx#supplemental">supplemental verbs</A> associated with the <A href="https://msdn2.microsoft.com/en-us/library/aa969373.aspx" target=_blank mce_href="https://msdn2.microsoft.com/en-us/library/aa969373.aspx">SystemFileAssociations</A> key.&nbsp; Note that those keys (#4 and #5) are folded in regardless of the association having a progid registered.&nbsp; In our example, that would be HKCR\SystemFileAssociations\.ogg\shellex\ContextMenuHandler</P>
<P>The important thing here is that you should never put the registration under HKCR\&lt;.ext&gt;(!) because you should either be putting it under your progid (#1), or in SystemFileAssociations (#4).&nbsp; Why do we disable #2 and #3 in those cases?&nbsp; If folks are interested, I'll talk more about that later - or feel free to guess. :)</P>
<P>(A quick comment about #5 - I think it is often misused.&nbsp; Applications don't know how to handle very many perceived types (one exception is text).&nbsp; How are you going to handle the "video" perceived type?&nbsp; I guarantee that we'll come out with more codecs/container formats, etc.&nbsp; Unless you can guarantee that you can handle everything that will map into the perceived type, don't register for it - instead register for the individual associations that you really <EM>can</EM> handle.)</P>
<P>This technique is used for a lot of other things besides context menu handlers.&nbsp; It's also used for <A href="https://msdn2.microsoft.com/en-us/library/bb266532.aspx" target=_blank mce_href="https://msdn2.microsoft.com/en-us/library/bb266532.aspx">Property Handlers for Windows Search</A>, <A href="https://msdn2.microsoft.com/en-us/library//aa905327.aspx#installinganduninstalling" target=_blank mce_href="https://msdn2.microsoft.com/en-us/library//aa905327.aspx#installinganduninstalling">Windows Imaging Component codecs</A>, etc, etc, etc.</P>
<P>Cheers,<BR>James</P>
<P>[Update: finished the sentence beginning "In our example, that would be..."]</P>]]></content:encoded>
    </item>
    <item>
      <title>Installing shell extensions - please complain here</title>
      <link>https://docs.microsoft.com/archive/blogs/jamesfi/installing-shell-extensions-please-complain-here</link>
      <pubDate>Fri, 10 Aug 2007 21:02:00 GMT</pubDate>
      <dc:creator><![CDATA[James Finnigan - MS]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jamesfi/2007/08/10/installing-shell-extensions-please-complain-here/</guid>
      <description><![CDATA[So... I've been looking more closely at Wix and I think I'm going to build some custom actions to do...]]></description>
      <content:encoded><![CDATA[<P>So... I've been looking more closely at Wix and I think I'm going to build some custom actions to do a really good job installing shell extensions.&nbsp; Which ones do you find most problematic?&nbsp; I realize this is a bit of a change of pace for the blog, so I'll probably hit a few other forums, but please feel free to add comments/complaints about which extensions are problematic.</P>
<P>Maybe you've already done the work to install these properly, but in some cases that can be quite complicated and I could see a lot of folks just accepting some minor bugs and moving on.</P>
<P><STRONG>I'll start: </STRONG></P>
<P>Protocol Handlers (<A href="https://msdn2.microsoft.com/en-us/library/bb266527.aspx" mce_href="https://msdn2.microsoft.com/en-us/library/bb266527.aspx">https://msdn2.microsoft.com/en-us/library/bb266527.aspx</A>)&nbsp;and Schema Extensions (<A href="https://msdn2.microsoft.com/en-us/library/ms647576.aspx" mce_href="https://msdn2.microsoft.com/en-us/library/ms647576.aspx">https://msdn2.microsoft.com/en-us/library/ms647576.aspx</A>).&nbsp; Both of these <EM>require</EM> custom actions to be installed correctly - and there's no standard for it so everyone is probably doing it themselves which is going to lead to some really inconsistent behavior.&nbsp; None of that is going to help system stability at all.</P>
<P>Another one I came across recently was installing a shell folder that should appear on the desktop.&nbsp; I added it to the desktop namespace but until the user refreshes the desktop it isn't going to appear.&nbsp; You need to send a SHChangeNotify to get it to show up without user intervention.&nbsp; Anyway, there's no standard action for that.&nbsp; So unless you can accept a shortcut to the shell folder (which sends a notification), you'll want a CA there as well.&nbsp; And there again, you want to send as minimal a notification as possible to avoid having the system reload everything when all that you needed is a new icon to show up.</P>
<P>File Associations:<BR>This one is going to be a bit of a laundry list of issues, but I'll start off the first couple issues.</P>
<OL>
<LI>If previous handlers didn't register under openwith then your registration may blow away any record that they wanted to handle that file association.</LI>
<LI>If you register under a meta-type like TXTFile and then someone else claims .txt then you don't get invoked at all.</LI>
<LI>Man that thing is complicated.&nbsp; Way, way complicated. (I'm still learning the subtleties - feel free to correct me if I miss a beat.)</LI></OL>
<P>So there's a start - let me know&nbsp;as you come across other issues.</P>
<P>Cheers,<BR>James</P>
<P mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>Summer Fun, Full House</title>
      <link>https://docs.microsoft.com/archive/blogs/jamesfi/summer-fun-full-house</link>
      <pubDate>Thu, 26 Jul 2007 02:50:00 GMT</pubDate>
      <dc:creator><![CDATA[James Finnigan - MS]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jamesfi/2007/07/26/summer-fun-full-house/</guid>
      <description><![CDATA[(Normally this kind of post is reserved for my other blog&nbsp;where I mostly blog about non-tech -...]]></description>
      <content:encoded><![CDATA[<P>(Normally this kind of post is reserved for <A class="" href="https://jamesfinnigan.spaces.live.com/" mce_href="https://jamesfinnigan.spaces.live.com/">my other blog</A>&nbsp;where I mostly blog about non-tech - so don't worry, I won't be boring you with stories of how incrediby smart and cute my little boys are (obviously my wife's DNA is doing overtime).)</P>
<P>We've been enjoying our summer, with lots of friends around and good weather.&nbsp; We've got my sister-in-law staying with us while she gets her dental certification.&nbsp;&nbsp;Our youngest probably doesn't even remember life before she came to live with us.&nbsp; And for a few weeks we had a friend of mine from college crashing at our place for a bit while they worked out their housing situation.&nbsp; (Because John's doing his residency and needs to be very close to a number of hospitals, he needed to be in a very narrow corridor and had trouble finding folks who wanted to rent to someone out-of-state when there were plently of applicants in-state.)&nbsp; And the weather has been hot, but nice.</P>
<P>John is an eye surgeon and sees some pretty crazy stuff.&nbsp; Every once in a while I'll pick up his texts and look at something I hope never happens to me and be glad that someone is helping those folks.&nbsp; For example, the 4th of July had some obligatory fireworks mishaps.&nbsp; His days are pretty different from mine - I'm a little jealous of how closely he gets to work with the people he's helping.&nbsp; (I couldn't resist asking him if <A class="" href="https://www.nbc.com/Scrubs/" mce_href="https://www.nbc.com/Scrubs/">Scrubs</A>&nbsp;had any parts that resembled&nbsp;reality - Apparently not. :)&nbsp; </P>
<P>Anyway his kids are about the same age and they spent all their time together.&nbsp; Now that John and crew are settled in their new house, we're looking forward to hitting some cool places around here with them.&nbsp; It's a little limiting with small children (I have to wait before they're ready to go rock climbing with me :)), but I'm in no hurry for them to grow up.&nbsp; If you have any recommendations for good 2-5 year old destinations, I'd love to hear them.</P>
<P>Cheers,<BR>James</P>]]></content:encoded>
    </item>
    <item>
      <title>The best way to make UAC shut up for a while</title>
      <link>https://docs.microsoft.com/archive/blogs/jamesfi/the-best-way-to-make-uac-shut-up-for-a-while</link>
      <pubDate>Fri, 08 Jun 2007 23:25:00 GMT</pubDate>
      <dc:creator><![CDATA[James Finnigan - MS]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jamesfi/2007/06/08/the-best-way-to-make-uac-shut-up-for-a-while/</guid>
      <description><![CDATA[Let's say you want to install a few things and want UAC to stop bugging you while you install...]]></description>
      <content:encoded><![CDATA[<P>Let's say you want to install a few things and want UAC to stop bugging you while you install them.&nbsp; Should you turn off UAC and install the apps?&nbsp; Since that disables UAC's virtualization, it can destabilize things that depend on data written to those virtual locations.&nbsp; Here's an alternative that keeps all the virtualization intact while getting UAC to lay off for a while.</P>
<P>Fire up gpedit.msc and adjust this policy (pictured below):</P>
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/jamesfi/WindowsLiveWriter/ThebestwaytomakeUACshutupforawhile_11F33/image.png" original-url="https://blogs.msdn.com/blogfiles/jamesfi/WindowsLiveWriter/ThebestwaytomakeUACshutupforawhile_11F33/image.png" atomicselection="true" mce_href="https://blogs.msdn.com/blogfiles/jamesfi/WindowsLiveWriter/ThebestwaytomakeUACshutupforawhile_11F33/image.png"><IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=575 alt=image src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/jamesfi/WindowsLiveWriter/ThebestwaytomakeUACshutupforawhile_11F33/image_thumb.png" original-url="https://blogs.msdn.com/blogfiles/jamesfi/WindowsLiveWriter/ThebestwaytomakeUACshutupforawhile_11F33/image_thumb.png" width=1103 border=0 mce_src="https://blogs.msdn.com/blogfiles/jamesfi/WindowsLiveWriter/ThebestwaytomakeUACshutupforawhile_11F33/image_thumb.png"></A> </P>
<P>Change it to be <EM>Elevate without prompting</EM>:</P>
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/jamesfi/WindowsLiveWriter/ThebestwaytomakeUACshutupforawhile_11F33/image_1.png" original-url="https://blogs.msdn.com/blogfiles/jamesfi/WindowsLiveWriter/ThebestwaytomakeUACshutupforawhile_11F33/image_1.png" atomicselection="true" mce_href="https://blogs.msdn.com/blogfiles/jamesfi/WindowsLiveWriter/ThebestwaytomakeUACshutupforawhile_11F33/image_1.png"><IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=511 alt=image src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/jamesfi/WindowsLiveWriter/ThebestwaytomakeUACshutupforawhile_11F33/image_thumb_1.png" original-url="https://blogs.msdn.com/blogfiles/jamesfi/WindowsLiveWriter/ThebestwaytomakeUACshutupforawhile_11F33/image_thumb_1.png" width=431 border=0 mce_src="https://blogs.msdn.com/blogfiles/jamesfi/WindowsLiveWriter/ThebestwaytomakeUACshutupforawhile_11F33/image_thumb_1.png"></A> </P>
<P>Of course, remember to turn it back when you're done! :)</P>
<P>Cheers,</P>
<P>James</P>
<P><EM>[Update: how to do this without using gpedit.msc]</EM></P>
<P>Run this command&nbsp;(from an elevated&nbsp;command prompt) to make UAC elevate without prompting:</P>
<BLOCKQUOTE>
<P>reg ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f</P></BLOCKQUOTE>
<P>When you're done, run this command (from an elevated command prompt) to set it back to the default:</P>
<BLOCKQUOTE>
<P>reg ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d&nbsp;2 /f</P></BLOCKQUOTE>]]></content:encoded>
    </item>
    <item>
      <title>How to stop WinDbg from going crazy and loading all the symbols</title>
      <link>https://docs.microsoft.com/archive/blogs/jamesfi/how-to-stop-windbg-from-going-crazy-and-loading-all-the-symbols</link>
      <pubDate>Mon, 04 Jun 2007 10:00:00 GMT</pubDate>
      <dc:creator><![CDATA[James Finnigan - MS]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jamesfi/2007/06/04/how-to-stop-windbg-from-going-crazy-and-loading-all-the-symbols/</guid>
      <description><![CDATA[One of my favorite features of WinDbg is that it doesn't load all the symbols up-front.&nbsp; That's...]]></description>
      <content:encoded><![CDATA[<P>One of my favorite features of WinDbg is that it doesn't load all the symbols up-front.&nbsp; That's a huge part of what makes it so much faster than Visual Studio.&nbsp; However, every once in a while you can do things that cause WinDbg to go crazy and load all the symbols in a desperate attempt to resolve a symbol that it just isn't finding.&nbsp; Oftentimes this is because of a typo, or because you forgot to scope the symbol to a module.&nbsp; It's annoying - but it's not something that you have to live with.</P>
<P>To tell WinDbg not to do it's whole-hog symbol search use this command:</P>
<P><STRONG>.symopt+ 100</STRONG></P>
<P mce_keep="true">If you find yourself in a situation where you don't want to wait for the debugger to finish resolving symbols before issuing the command, you can just start windbg with the -snul parameter.&nbsp; In some cases, the reason this is happening is some goofy breakpoint you set, or something in your watch window - it's not going away.&nbsp; If you don't want to take the time to track it down, you can bail on the workspace by starting windbg with the -WX parameter, and saving whatever you put into the first one.</P>
<P mce_keep="true">Here's what the documentation has to say on the topic:</P>
<BLOCKQUOTE>
<P><STRONG>SYMOPT_NO_UNQUALIFIED_LOADS</STRONG><BR>This symbol option disables the symbol handler's automatic loading of modules. When this option is set and the debugger attempts to match a symbol, it will only search modules&nbsp;<EM>[whose symbols]</EM> have already been loaded.<BR>This option can be used as a defense against mistyping a symbol name. Normally, a mistyped symbol will cause the debugger to pause while it searches all unloaded symbol files. When this option is active, a mistyped symbol will not be found in the loaded modules, and then the search will terminate.<BR>This option is off by default. It can be activated by using the<STRONG> -snul</STRONG> command-line option. Once the debugger is running, it can be turned on or off by using <STRONG>.symopt+0x100</STRONG> or <STRONG>.symopt-0x100</STRONG>, respectively</P></BLOCKQUOTE>
<HR>
All postings are provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at <A href="https://www.microsoft.com/info/cpyright.htm"><FONT color=#006666>https://www.microsoft.com/info/cpyright.htm</FONT></A>]]></content:encoded>
    </item>
  </channel>
</rss>