<?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>DanVDW's WebLog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/danvdw/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/danvdw/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:20:27 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Test Posting</title>
      <link>https://docs.microsoft.com/archive/blogs/danvdw/test-posting</link>
      <pubDate>Wed, 10 Dec 2003 16:06:00 GMT</pubDate>
      <dc:creator><![CDATA[MSDN Archive]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/danvdw/2003/12/10/test-posting/</guid>
      <description><![CDATA[We moved, so I'm test posting.
&nbsp;]]></description>
      <content:encoded><![CDATA[<P>We moved, so I'm test posting.</P>
<P>&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>Fear of Pink</title>
      <link>https://docs.microsoft.com/archive/blogs/danvdw/fear-of-pink</link>
      <pubDate>Wed, 22 Oct 2003 12:52:00 GMT</pubDate>
      <dc:creator><![CDATA[MSDN Archive]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/danvdw/2003/10/22/fear-of-pink/</guid>
      <description><![CDATA[I fear pink.
    
    
        I didn't realize I fear pink until this morning.&#160;...]]></description>
      <content:encoded><![CDATA[<body xmlns="https://www.w3.org/1999/xhtml">
    <p>
        <strong>I fear pink.</strong>
    </p>
    <p>
        <strong>I didn't realize I fear pink until this morning.&#160; As I was stepping into
        the shower, I noticed I had a pink towel set aside for myself, and I shuddered.</strong>
    </p>
    <p>
        <strong>I'm a pinkophobe.&#160; I had no idea.</strong>
    </p>
    <p>
        <strong>I saw my male&#160;neighbor, wearing a pink shirt, out&#160;in his yard a&#160;couple
        weeks ago.&#160; I noted, to myself, just how&#160;*wrong* that was.&#160; I didn't
        say anything to anyone though.&#160; I knew my wife would regard such comments with
        scowling.</strong>
    </p>
    <p>
        <strong>Now, I'm admitting my fear.&#160; I&#160;not only don't like pink, I fear
        it.&#160; I'm afraid&#160;to wear pink.&#160; I'm afraid to use pink.&#160; </strong>
    </p>
    <p>
        <strong>Don't get me wrong, I toweled off with my pink towel.&#160; I'm not that far
        gone, yet.&#160; I wouldn't, by choice, select pink for just about anything, though
        -- clothing, paint,&#160;decorations, etc.</strong>
    </p>
    <p>
        <strong>I'll buy my daughters pink items and gladly allow them to wear pink.&#160;
        I'll&#160;not comment on my wife's use of pink.&#160; Maybe I'm not a true, blue,
        pinkophobe.&#160; Is there a word for a half-phobe?&#160; A semi-phobe?</strong>
    </p>
    <p>
        <strong>I don't run in fear from pink, and I don't cower&#160;away from pink.&#160;
        I suppose I'm a&#160;pinkosemiphobe then.&#160; </strong>
    </p>
    <p>
        <strong>I will use a pink highlighter.&#160; I just noticed I have on in my large
        coffee cup on my desk.&#160; On second thought, I think I'll go trade it in for a
        blue or yellow highlighter.</strong>
    </p>
    <p>
        <strong>---Dan---</strong>
    </p>
    <p>
        <strong>&#160;&#160;</strong>&#160; 
    </p>
</body>]]></content:encoded>
    </item>
    <item>
      <title>Messy Blogs</title>
      <link>https://docs.microsoft.com/archive/blogs/danvdw/messy-blogs</link>
      <pubDate>Mon, 20 Oct 2003 10:58:00 GMT</pubDate>
      <dc:creator><![CDATA[MSDN Archive]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/danvdw/2003/10/20/messy-blogs/</guid>
      <description><![CDATA[As you can see, I have little control over the current font I'm using in my...]]></description>
      <content:encoded><![CDATA[<body xmlns="https://www.w3.org/1999/xhtml">
    <p>
        <strong>As you can see, I have little control over the current font I'm using in my
        BLOG.</strong>
    </p>
    <p>
        <strong>I think we have a newer version of the BLOG editing tool out now.&#160; I'll
        check it out.</strong>
    </p>
    <p>
        &#160;
    </p>
</body>]]></content:encoded>
    </item>
    <item>
      <title>Windows 95 History</title>
      <link>https://docs.microsoft.com/archive/blogs/danvdw/windows-95-history</link>
      <pubDate>Fri, 17 Oct 2003 18:57:00 GMT</pubDate>
      <dc:creator><![CDATA[MSDN Archive]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/danvdw/2003/10/17/windows-95-history/</guid>
      <description><![CDATA[Remember way, way, way back when Microsoft shipped Windows 95 ®?...]]></description>
      <content:encoded><![CDATA[<body xmlns="https://www.w3.org/1999/xhtml">
    <p align="left">
        <strong>Remember way, way, way back when Microsoft shipped Windows 95 <font size="4">®?</font></strong>
    </p>
    <p align="left">
        <font size="4">Anyway, we had the control panel option where you'd see a map for the
        timezone and clickity-click on the map in a timezone area, and that would highlight
        the map along a border-line&#160;and select your timezone for&#160;you.</font>
    </p>
    <p align="left">
        <strong>Wasn't that cool?&#160; Heck yeah.&#160; I thought so.&#160; We changed it
        though.&#160; We still had the map, but you couldn't clickity-click on the map and
        get a highlighted area.&#160; Clicking did nothing for changing your timezone.</strong>
    </p>
    <p align="left">
        <strong>Wanna know why?</strong>
    </p>
    <p align="left">
        <strong>Well, there is a county, and I won't mention it's name, but said country is
        in constant border disputes with another country.&#160; Microsoft drew the border-line
        "incorrectly" according to said country.</strong>
    </p>
    <p align="left">
        <strong>They threatened to never, ever, ever allow us to sell that software in their
        country if we didn't "fix" the border-line.</strong>
    </p>
    <p align="left">
        <strong>We learned not to highlight timezones and border-lines any more.</strong>
    </p>
    <p align="left">
        <strong>---Dan---</strong>
    </p>
</body>]]></content:encoded>
    </item>
    <item>
      <title>Hey, I Got a Comment!</title>
      <link>https://docs.microsoft.com/archive/blogs/danvdw/hey-i-got-a-comment</link>
      <pubDate>Fri, 10 Oct 2003 18:00:00 GMT</pubDate>
      <dc:creator><![CDATA[MSDN Archive]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/danvdw/2003/10/10/hey-i-got-a-comment/</guid>
      <description><![CDATA[I got a real comment (not from Ivanna).
    
    10/01/2003 8:57 AM...]]></description>
      <content:encoded><![CDATA[<body xmlns="https://www.w3.org/1999/xhtml">
    <p>
        <strong>I got a real comment (not from Ivanna).</strong>
    </p>
    <h3 class="commentTitle">10/01/2003 8:57 AM
    </h3>
    <p>
        <span class="commentBody">I see above that you've fixed this already, but IIRC John
        Robbins' book "Debugging Applications for Microsoft .NET and Microsoft Windows" details
        how to debug a service on startup. IIRC, it involves setting the ImageFileOptions
        key in the registry.</span> 
    </p>
    <p class="commentFooter">
        <a class="permalink" href="mailto:mike_blogAT NOSPAMdimmick dot demon dot co dot uk">Mike
        Dimmick</a> 
    </p>
    <p class="commentFooter">
        <strong>Thanks Mike.&#160; I actually set it up.&#160; We know how to debug services
        on startup.&#160; I&#160;did too.&#160; However, I had a problem with timing.&#160;
        The service&#160;auto-unloaded after a&#160;specific amount of time and my debug was
        worthless.&#160; I would've needed an extra step.</strong>
    </p>
    <p class="commentFooter">
        <strong>Plus, now I know how&#160;to log WebClient.&#160; Well, really, the code only
        supports "live debug output".&#160; The logging part I&#160;uncommented and added
        code to get to work.&#160; Regardless, part of that experience was preparing for the
        future.&#160; I'll be way better prepared for the next WebClient issue I see.</strong>
    </p>
    <p class="commentFooter">
        <strong>I hope.</strong>
    </p>
    <p class="commentFooter">
        <strong>Thanks for the comment!</strong>
    </p>
    <p class="commentFooter">
        &#160;&#160;
    </p>
</body>]]></content:encoded>
    </item>
    <item>
      <title>Logging WebClnt continued</title>
      <link>https://docs.microsoft.com/archive/blogs/danvdw/logging-webclnt-continued</link>
      <pubDate>Tue, 30 Sep 2003 17:21:00 GMT</pubDate>
      <dc:creator><![CDATA[MSDN Archive]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/danvdw/2003/09/30/logging-webclnt-continued/</guid>
      <description><![CDATA[Okay, so I finally figured out why the binary wasn't writing to the log file....]]></description>
      <content:encoded><![CDATA[<body xmlns="https://www.w3.org/1999/xhtml">
    <p>
        <strong>Okay, so I finally figured out why the binary wasn't writing to the log file.</strong>
    </p>
    <p>
        <strong>The code was commented out.</strong>
    </p>
    <p>
        <strong>I can build it, so I modify the code.&#160; I always copy the file&#160;and
        make a backup of the original.&#160; Then, I go to down on the&#160;old file.&#160;
        Rebuild.&#160; Errors.&#160;&#160;Okay.&#160; Some more stuff needed to be actually
        uncommented&#160;out.&#160; You can't have a:</strong>
    </p>
    <p>
        <strong>dwMyDwordValue = 10;</strong>
    </p>
    <p>
        <strong>and not have </strong>
    </p>
    <p>
        <strong>DWORD&#160;dwMyDwordValue;</strong>
    </p>
    <p>
        <strong>up above it.&#160; Yeah, that's real basic C programming, but heck, who'd
        know if you didn't write it all yourself?</strong>
    </p>
    <p>
        <strong>Well, I got the log and it showed me the problem.&#160; I didn't have to kernel
        debug after all.&#160; I was able to provide a solution to the customer, so I 'm hoping
        all is well now.&#160; Basically, with the other service (I think it's a third party
        service) that was running, our workstation service wasn't loading fast enough for
        webclient.&#160; If you make webclient dependent upon LanManWorkstation, it works.</strong>
    </p>
    <p>
        <strong>Makes sense as to why you could boot with webclient turned off and actually
        run it fine.&#160; The issue was related to timing.</strong>
    </p>
    <p>
        <strong>That logging ability was nice.&#160; I'm checking with our dev folks to see
        if we can send that logging binary to customers.&#160; Please don't email me and ask
        me for it.&#160; If I need to, I'll know when to use it.</strong>
    </p>
    <p>
        <strong>Would it have been easier to kernel debug to begin with?&#160; Probably, but
        I wouldn't have learned how to log this stuff and that may pay off big time in the
        future over and over again.&#160; I hope so.</strong>
    </p>
    <p>
        <strong></strong>&#160;
    </p>
    <p>
        &#160;
    </p>
</body>]]></content:encoded>
    </item>
    <item>
      <title>WebClnt</title>
      <link>https://docs.microsoft.com/archive/blogs/danvdw/webclnt</link>
      <pubDate>Mon, 29 Sep 2003 18:21:00 GMT</pubDate>
      <dc:creator><![CDATA[MSDN Archive]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/danvdw/2003/09/29/webclnt/</guid>
      <description><![CDATA[I'm still working on that webclient issue.
    
    
        I think I'm going...]]></description>
      <content:encoded><![CDATA[<body xmlns="https://www.w3.org/1999/xhtml">
    <p>
        <strong>I'm still working on that webclient issue.</strong>
    </p>
    <p>
        <strong>I think I'm going to&#160;have to setup a kernel-mode debug, which is pretty
        easy to do except I need a second system to do the debugging from.&#160; I&#160;think
        I'll just use my laptop rather than asking the lab to create one for me.</strong>
    </p>
    <p>
        <strong>Well, looking at the web client code, I seem to see some logging functionality.&#160;
        I love to jump&#160;on logging functionality -- even if it's a waste of my time.&#160; </strong>
    </p>
    <p>
        <strong>Well, none of my logging experimentation has panned out.&#160; I&#160;have
        no log file.&#160; I've broken into the process to see if the debug logging functionality
        even exists in the binary I built.&#160; We'll see.</strong>
    </p>
    <p>
        <strong>As I'm investigating further, I find I am stupid and don't know hex.&#160;
        Now, I also find the log file won't be created if it's not there.&#160; I create it
        but it still can't access it.&#160; I set permissions to Everyone Full Control, and
        now it can access it but it doesn't write to it.</strong>
    </p>
    <p>
        <strong>Well, I'm still trying to figure this out.&#160; At the minimum, I should
        be able to get a debug monitor output, but I want more!</strong>
    </p>
    <p>
        <strong>That's all for today.</strong>
    </p>
    <p>
        &#160;
    </p>
</body>]]></content:encoded>
    </item>
    <item>
      <title>Tricks with SVCHOST.EXE</title>
      <link>https://docs.microsoft.com/archive/blogs/danvdw/tricks-with-svchost-exe</link>
      <pubDate>Fri, 26 Sep 2003 16:22:00 GMT</pubDate>
      <dc:creator><![CDATA[MSDN Archive]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/danvdw/2003/09/26/tricks-with-svchost-exe/</guid>
      <description><![CDATA[Well, if you read what I wrote yesterday, you read that I put a service all
        by...]]></description>
      <content:encoded><![CDATA[<body xmlns="https://www.w3.org/1999/xhtml">
    <p>
        <strong>Well, if you read what I wrote yesterday, you read that I put a service all
        by itself in a separate SVCHOST.EXE proces.</strong>
    </p>
    <p>
        <strong>Windows XP SP1</strong>
    </p>
    <p>
        <strong>Service of interest:&#160; WebClnt</strong>
    </p>
    <p>
        <strong>Binary of interest:&#160; WEBCLNT.DLL</strong>
    </p>
    <p>
        <strong>Problem:&#160; Hangs on startup.</strong>
    </p>
    <p>
        <strong>If you run a CMD.EXE prompt (command prompt) and type:&#160;&#160; TASKLIST
        /SVC you'll see an output like this:</strong>
    </p>
    <p>
        <strong>F:\Documents and Settings\danvdw&gt;tasklist /SVC</strong>
    </p>
    <p>
        <strong>Image Name&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
        PID Services<br />
        ========================= ====== =============================================<br />
        System Idle Process&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
        0&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; N/A<br />
        System&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
        4&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;N/A<br />
        services.exe&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
        416&#160;&#160;&#160;&#160;&#160;&#160; Eventlog, PlugPlay<br />
        lsass.exe&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
        428&#160;&#160;&#160;&#160;&#160;&#160;&#160; Netlogon, PolicyAgent, ProtectedStorage,&#160;SamSs<br />
        svchost.exe&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
        636&#160;&#160;&#160;&#160;&#160;&#160;&#160; RpcSs<br />
        svchost.exe&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
        660&#160;&#160;&#160;&#160;&#160;&#160;&#160; AudioSrv, BITS, CryptSvc, Dhcp, dmserver,&#160;ERSvc,
        EventSystem,&#160;&#160;&#160;&#160; </strong><strong>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
        lanmanserver,&#160;lanmanworkstation, Messenger, Netman, Nla,<br />
        &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
        Schedule, seclogon, SENS, ShellHWDetection,<br />
        &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
        srservice, TermService, Themes, uploadmgr,<br />
        &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;W32Time,
        winmgmt, wuauserv, WZCSVC<br />
        svchost.exe&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
        772&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Dnscache<br />
        svchost.exe&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
        796&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; LmHosts, RemoteRegistry, SSDPSRV,
        WebClient<br />
        spoolsv.exe&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
        876&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Spooler<br />
        inetinfo.exe&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
        &#160; 1084&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;IISADMIN, SMTPSVC,
        W3SVC<br />
        <br />
        &lt;Cut Short to Eliminate Boredom&gt;</strong>
    </p>
    <p>
        <strong>I'm interested in the one that has WebClient in it.&#160; I see it's Process
        ID (PID) 796.</strong>
    </p>
    <p>
        <strong>That's nice to know, but not really want I want.&#160; What I want to see
        is WebClient all alone in an SVCHOST.EXE process.&#160; Exactly like DNSCACHE is doing.&#160;
        Why can't my webclient do that too?&#160; I think it can!</strong>
    </p>
    <p>
        <strong>If you read Raymond Chen's blog, you'll see he refers to Q314056 about SVCHOST.EXE.</strong>
    </p>
    <p>
        <strong>Now, I mucked with the registry on this system.&#160; If you muck with your
        registry, make sure you make backups of the stuff before you fool with it.&#160; I
        will not be held responsible for anything you do to your registry even if it's something
        I write about.</strong>
    </p>
    <p>
        <strong>Are we clear on that?</strong>
    </p>
    <p>
        <strong>HKLM\Software\Microsoft\WindowsNT\CurrentVersion\svchost</strong>
    </p>
    <p>
        <strong>Right there, under svchost, are keys and values.&#160; I'm interested in the
        *value* that is Localservice and I see it's a REG_MULTI_SZ and is:</strong>
    </p>
    <p>
        <strong>Alerter<br />
        WebClient<br />
        LmHosts<br />
        RemoteRegistry<br />
        upnphost<br />
        SSDPSRV<br />
        </strong><strong></strong>
    </p>
    <p>
        <strong>There's my WebClient.&#160; What if I just highlight it and take it out of
        there with a DEL button press?&#160; That works.</strong>
    </p>
    <p>
        <strong>Okay.&#160; But, I want it in it's own SVCHOST.EXE.&#160; Can I do that?&#160;
        Well, I think I can if I hack some.&#160; So, let's hack:</strong>
    </p>
    <p>
        <strong>I notice that the *keys* are similar to these values.&#160; Let's do a new
        key and value.&#160; I'll call it WebClntSvc.</strong>
    </p>
    <p>
        <strong>So, I add a Key and a Value called WebClntSvc.&#160; I could have called it
        anything, like AnyNameAnything, but I called it WebClntSvc.</strong>
    </p>
    <p>
        <strong>So, I make a REG_MULTI_SZ *value* entry called WebClntSvc and add:&#160; WebClient.</strong>
    </p>
    <p>
        <strong>I also make a Value entry and call it WebClntSvc.&#160; What to add there?&#160;
        Heck, I just copied what was in the Localservice key. That key had:</strong>
    </p>
    <p>
        <strong>AuthenticationCapabilities, REG_DWORD, 0x2000 and CoInitializeSecurityParam,
        REG_DWORD, 0x1</strong>
    </p>
    <p>
        <strong>So, I added them both.&#160; Is that it?</strong>
    </p>
    <p>
        <strong>No, because I see that HKLM\System\CurrentControlSet\Services is of interest
        to me, based on the KB article.</strong>
    </p>
    <p>
        <strong>If I look at HKLM\System\CurrentControlSet\Services\WebClient, I see an ImagePath
        value that's a REG_SZ.&#160; I think I want to edit that and change it from:</strong>
    </p>
    <p>
        <strong>%SystemRoot%\System32\svchost.exe -k LocalService</strong>
    </p>
    <p>
        <strong>to</strong>
    </p>
    <p>
        <strong>%SystemRoot%\System32\svchost.exe -k WebClntSvc</strong>
    </p>
    <p>
        <strong>We can confirm this works by checking the interface.&#160; That's right-click
        on My Computer, Select Manage, then go into the Services, find WebClient and open
        it up.</strong>
    </p>
    <p>
        <strong>Make sure the "Path to Executable"&#160;was&#160;changed.&#160; Mine would
        say:</strong>
    </p>
    <p>
        <strong>F:\WINDOWS\System32\svchost.exe -k WebClntSvc.</strong>
    </p>
    <p>
        <strong>F: is my system drive here.&#160; Don't ask me why.&#160; You don't want to
        know.</strong>
    </p>
    <p>
        <strong>That would make sense, right?&#160; Does to me.&#160; Then, I reboot.&#160;
        Now, I have a separate instance of SVCHOST.EXE running with WebClient in it.</strong>
    </p>
    <p>
        <strong>I do.</strong>
    </p>
    <p>
        <strong>Now, to debug it is simple.&#160; Right, I just attach my debugger to the
        process that exists as SVCHOST.EXE with the one and only service in it that's WebClient.</strong>
    </p>
    <p>
        <strong>However, I don't want to debug it as it is, I want to debug it as it starts.&#160;
        Hmm... How do to that?</strong>
    </p>
    <p>
        <strong>Well, it's tricky and I have one trick up my sleeve to use that is this:&#160;
        Copy SVCHOST.EXE to SVCHOST1.EXE in the same place as SVCHOST.EXE and use SVCHOST1.EXE
        in my ImageFileExecutionOptions registry setting and use SVCHOST1.EXE in the registry
        location for the service for the executable.</strong>
    </p>
    <p>
        <strong>Now, when I check the interface, my path says:</strong>
    </p>
    <p>
        <strong>F:\WINDOWS\System32\svchost1.exe -k WebClntSvc.</strong>
    </p>
    <p>
        <strong>There is a problem here.&#160; The default SVCHOST.EXE has a timeout for any
        service.&#160; If it doesn't start in X seconds, you get a nifty dialog telling you
        it didn't start, blah blah blah.</strong>
    </p>
    <p>
        <strong>You don't get the dialog for the failure on startup, but it's not running
        regarless.</strong>
    </p>
    <p>
        <strong>I'm guessing there is a way around this, but I don't know what yet.....</strong>
    </p>
</body>]]></content:encoded>
    </item>
    <item>
      <title>I'm Restricted</title>
      <link>https://docs.microsoft.com/archive/blogs/danvdw/im-restricted</link>
      <pubDate>Fri, 26 Sep 2003 11:58:00 GMT</pubDate>
      <dc:creator><![CDATA[MSDN Archive]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/danvdw/2003/09/26/im-restricted/</guid>
      <description><![CDATA[Last night, my wife called me into a room for a "private
        conference."&#160;...]]></description>
      <content:encoded><![CDATA[<body xmlns="https://www.w3.org/1999/xhtml">
    <p>
        <strong>Last night,</strong> <strong>my wife called me into a room for a "private
        conference."&#160; She doesn't like me sharing about our lives publically. </strong>
    </p>
    <p>
        <strong>She's very private.&#160; At least, that's what she tells me.&#160; Yeah.&#160;
        I'd agree.&#160; We've been married 20 years, so I probably know that.&#160; Anyway,
        I know better than to expect her to change.&#160; I just didn't realize sharing info
        about the family in a BLOG would bother her much.</strong>
    </p>
    <p>
        <strong>I won't be sharing a whole lot more of family stuff.&#160; I guess I'll do
        more work stuff.&#160; </strong>
    </p>
    <p>
        <strong>Remember I mentioned Brittany is sewing?&#160; Well, last night, Bekah who
        is 5 years old, came upstairs into the bonus room with this huge, gargantuan piece
        of lime-green cloth and scissors.&#160; She starts cutting and humming a little tune
        while she cuts.</strong>
    </p>
    <p>
        <strong>Me and the boys, playing our video games, look down at her, sitting on the
        flooor humming and cutting along, and freak.&#160; "Are you supposed to be cutting
        that, Bekah?"</strong>
    </p>
    <p>
        <strong>Yes.&#160;</strong>
    </p>
    <p>
        <strong>You sure?</strong>
    </p>
    <p>
        <strong>Yes.</strong>
    </p>
    <p>
        <strong>Ben runs out of the room to check with the Overlord or the OIT to see if this
        statement of cutting allowability is true.</strong>
    </p>
    <p>
        <strong>Apparently, the voluminous lime-green cloth was deemed too ugly to use.&#160;
        Hence, Bekah's humming and cutting.&#160; She had a terrific time.</strong>
    </p>
    <p>
        <strong>What?&#160; I didn't say anything about my family, did I?</strong>
    </p>
    <p>
        &#160;
    </p>
</body>]]></content:encoded>
    </item>
    <item>
      <title>Work Stuff</title>
      <link>https://docs.microsoft.com/archive/blogs/danvdw/work-stuff</link>
      <pubDate>Thu, 25 Sep 2003 18:21:00 GMT</pubDate>
      <dc:creator><![CDATA[MSDN Archive]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/danvdw/2003/09/25/work-stuff/</guid>
      <description><![CDATA[Apparently, I'm encouraged to and supposed to talk about what I do at work...]]></description>
      <content:encoded><![CDATA[<body xmlns="https://www.w3.org/1999/xhtml">
    <p>
        <strong>Apparently, I'm encouraged to and supposed to talk about what I do at work
        some in the blog.&#160; Well, we can't divulge sensitive information.</strong>
    </p>
    <p>
        <strong>Okay.&#160; Work related, huh?&#160; Here's something.</strong>
    </p>
    <p>
        <strong>I got a DVD ROM image from a large department store IT group a few weeks back.&#160;
        It had &lt;NAME OF DEPT STORE&gt; CONFIDENTIAL written in hand all over the DVD ROM.</strong>
    </p>
    <p>
        <strong>Like what, we have spies from other department stores to worry about?&#160;
        Uh oh.&#160; Be on the look out for those department store IT spies.&#160; You know,
        the guys seeking the CONFIDENTIAL information about the other department stores. </strong>
    </p>
    <p>
        <strong>Maybe they're having a special sale!&#160; Whoo hoo!</strong>
    </p>
    <p>
        <strong>Anyway, having the DVD image to restore on a lab computer is really one of
        the best ways I have of solving problems.&#160; This customer has a Microsoft service
        that's not starting when Windows XP starts up.</strong>
    </p>
    <p>
        <strong>Using Publically Documented information, I moved the service from where it
        was running under SVCHOST.EXE with a number of other services to where it runs under
        its own SVCHOST.EXE.&#160; How?&#160; I can't remember as that was this morning and
        now is this afternoon.&#160; But I did.&#160;</strong>
    </p>
    <p>
        <strong>The problem still occurs, but now, when I break into that instance of SVCHOST.EXE
        (as it's attempting to load that service that's not loading), I get two threads with
        a simple stack each to look at.&#160; Makes it much, much easier for me to see what's
        going on.&#160; Of course, I have no clue what's going on.&#160; I have to figure
        this out.</strong>
    </p>
    <p>
        <strong>Interestingly enough, if another, third-party service that's running is disabled,
        this problem doesn't occur.&#160; Neither service is running in the same process.&#160;
        What does that mean?&#160; Who knows.&#160; I would *love* to be able to blame the
        problem on the other, third-party service, but I can't without first figuring out
        what's going on.</strong>
    </p>
    <p>
        <strong>I guess that's why I get all those dollars -- figure out the tough stuff.&#160;
        I'm a hundredaire you know.&#160; I have like $100.00 or more in the bank now.&#160;
        I wonder if I can tell people I have a hundred dollars in the bank in a blog?&#160;
        I hope so.</strong>
    </p>
    <p>
        <strong>Anyway, if I can recreate my steps to moving the service into it's own process,
        I'll post them 'cause that might be interesting to you and I figured it out from a
        single KB article that's public.</strong>
    </p>
    <p>
        <strong></strong>&#160;
    </p>
</body>]]></content:encoded>
    </item>
  </channel>
</rss>