<?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>Debugging In Progress...</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/dip/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/dip/feed.xml</link>
    <description>This blog is intended to provide information on debug issues encountered in Microsoft Support, such as STOP errors or hanging servers.</description>
    <lastBuildDate>Wed, 17 Apr 2019 04:02:07 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>The End of DiP</title>
      <link>https://docs.microsoft.com/archive/blogs/dip/the-end-of-dip</link>
      <pubDate>Thu, 23 Jul 2015 23:17:56 GMT</pubDate>
      <dc:creator><![CDATA[Rob Scheepens]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dip/2015/07/23/the-end-of-dip/</guid>
      <description><![CDATA[Hello All,
This is the last post I will be writing on this blog. On 28th July 2015 I will leave...]]></description>
      <content:encoded><![CDATA[<p>Hello All,</p>
<p>This is the last post I will be writing on this blog. On 28th July 2015 I will leave Microsoft.</p>
<p>Thank you, all who have read my posts, contacted me, and who worked with me on resolving some of the issue seen on this blog.</p>
<p>All the best,<br />\Rob</p>]]></content:encoded>
    </item>
    <item>
      <title>Win2012R2: STOP 0x139 or 0xD1 in NETIO!NsiEnumerateObjectsAllParametersEx+0x20d</title>
      <link>https://docs.microsoft.com/archive/blogs/dip/win2012r2-stop-0x139-or-0xd1-in-netionsienumerateobjectsallparametersex0x20d</link>
      <pubDate>Sat, 16 May 2015 00:00:00 GMT</pubDate>
      <dc:creator><![CDATA[Rob Scheepens]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dip/2015/04/17/win2012r2-stop-0x139-or-0xd1-in-netionsienumerateobjectsallparametersex0x20d/</guid>
      <description><![CDATA[Status: Resolved
150516: Finally: https://support.microsoft.com/en-us/kb/3055343 has the updated...]]></description>
      <content:encoded><![CDATA[<p><strong>Status: Resolved</strong></p>
<p>150516: Finally: <a href="https://support.microsoft.com/en-us/kb/3055343">https://support.microsoft.com/en-us/kb/3055343</a> has the updated version. Please install at earliest convenience!</p>
<p>150512: to all affected, please bear with us a few more days, until the new release is out. This should be later this week, or early next week. As soon as the hotfix is available, I will update this post.</p>
<p>150501: Thanks to all of you who sent me additional dumps for this. There have been additional releases of netcfgx.dll, for example in 3021052, and as part of the March Rollup. This explains why some of you started seeing this issue after March/April updates. Checking internally shows that the various issues seen in the dumps provided should be resolved with the May (REL15-05) release of netcfgx.dll. The root cause of the problem allows for this issue to exhibit itself in many different froms, which explains the various dumps and workarounds found by some of you. Stay tuned for the mid-May release! I will update here once it&#39;s available.</p>
<p>150429: one of my readers sent me that they had 0x139s after the April updates, like some of you are seem to be having. They appear to have resolved it by recreating their virtual switch. I suggest that if applicable you also try this step and share results.</p>
<p>150417: I only mentioned the workaround (uninstall KB2966087) below in the comments. Adding it here now. Note that this fix was encompassed in KB2975719, so if you do not have the first one installed check for the latter, which is the August Rollup.</p>
<p>150415: one of the blog readers sent me a minidump of a STOP 0x139 on Windows Server 2012 that might be confused with this issue. Do note that the issue below is specific to 2012R2. The 2012 issue was:</p>
<p style="margin-left:30px;">2883658&nbsp;&quot;0x00000139&quot; Stop error on a Windows Server 2012-based computer that has many TCP connections<br /><a href="https://support.microsoft.com/kb/2883658/EN-US">https://support.microsoft.com/kb/2883658/EN-US</a></p>
<p>Recently we&#39;re seeing quite a few STOP 0x139/0xD1 errors, where the 0x139 stack is below:</p>
<p><span style="font-family:courier new,courier;">00 ffffd000`748c5fc8 fffff803`7b3d14e9 nt!KeBugCheckEx</span><br /><span style="font-family:courier new,courier;">01 ffffd000`748c5fd0 fffff803`7b3d1810 nt!KiBugCheckDispatch+0x69</span><br /><span style="font-family:courier new,courier;">02 ffffd000`748c6110 fffff803`7b3d0a34 nt!KiFastFailDispatch+0xd0</span><br /><span style="font-family:courier new,courier;">03 ffffd000`748c62f0 fffff800`6a2ee3b1 nt!KiRaiseSecurityCheckFailure+0xf4</span><br /><span style="font-family:courier new,courier;">04 ffffd000`748c6480 fffff800`6a209308 NDIS!ndisNsiEnumerateAllInterfaceInformation+0x24c51</span><br /><span style="font-family:courier new,courier;">05 ffffd000`748c65a0 fffff800`6b264fc1 NETIO!NsiEnumerateObjectsAllParametersEx+0x20d</span><br /><span style="font-family:courier new,courier;">06 ffffd000`748c6790 fffff800`6b264bea nsiproxy!NsippEnumerateObjectsAllParameters+0x201</span><br /><span style="font-family:courier new,courier;">07 ffffd000`748c6980 fffff803`7b6223ef nsiproxy!NsippDispatch+0x5a</span><br /><span style="font-family:courier new,courier;">08 ffffd000`748c69c0 fffff803`7b62198e nt!IopXxxControlFile+0xa4f</span><br /><span style="font-family:courier new,courier;">09 ffffd000`748c6b60 fffff803`7b3d11b3 nt!NtDeviceIoControlFile+0x56</span><br /><span style="font-family:courier new,courier;">0a ffffd000`748c6bd0 00007ff9`3d890dfa nt!KiSystemServiceCopyEnd+0x13</span></p>
<p>The issue is caused by a problem in netcfgx.dll. We currently have an internal repro, and we expect to resolve this in REL15-05 timeframe.</p>
<p>Note that this issue could also manifest itself as a STOP 0x3B.</p>
<p>As always, <a href="mailto:rob.scheepens@microsoft.com?subject=Win2012R2:%20STOP%200x139%20or%200xD1%20in%20NETIO!NsiEnumerateObjectsAllParametersEx+0x20d" target="_blank">reach out</a> when you have this issue!</p>]]></content:encoded>
    </item>
    <item>
      <title>Win2012R2: STOP 0xD1 in MsLbfoProvider!vmqcGetFirstMappedMNic+0xf</title>
      <link>https://docs.microsoft.com/archive/blogs/dip/win2012r2-stop-0xd1-in-mslbfoprovidervmqcgetfirstmappedmnic0xf</link>
      <pubDate>Thu, 12 Mar 2015 01:18:00 GMT</pubDate>
      <dc:creator><![CDATA[Rob Scheepens]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dip/2015/01/15/win2012r2-stop-0xd1-in-mslbfoprovidervmqcgetfirstmappedmnic0xf/</guid>
      <description><![CDATA[Status: Resolved
150312: Apologies for not updating this... the public release of this has slipped....]]></description>
      <content:encoded><![CDATA[<p><strong>Status: Resolved</strong></p>
<p>150312: Apologies for not updating this... the public release of this has slipped. The KB including this fix is <a href="https://support2.microsoft.com/kb/3031598">https://support2.microsoft.com/kb/3031598</a>.</p>
<p>150115: The hotfix is scheduled for release in the February 2015 cycle.</p>
<p>Hi All, back again after having been away for a long time... This time with a networking-related bugcheck, with the stack below. This issue is caused by a problem in MsLbfoProvider, but it is only triggered when there are underlying problems with the miniport (NIC). Specifically, there must have been a condition that triggered NDIS to automatically reset the miniport. After that, LBFO loses track of the VMQ queues assigned to the miniport, eventually causing the STOP 0xD1. I have filed a hotfix request for this issue today. Once I get updated information on if/when this is fixed, I&#39;ll update this post. If you think you are hit by this issue, open a case with support and <a title="AV_MsLbfoProvider!vmqcGetFirstMappedMNic" href="mailto:rob.scheepens@microsoft.com?subject=AV_MsLbfoProvider!vmqcGetFirstMappedMNic" target="_blank">let me know</a>!</p>
<p><span style="font-family:courier new,courier;">AV_MsLbfoProvider!vmqcGetFirstMappedMNic</span></p>
<p><span style="font-family:courier new,courier;">&nbsp;# Child-SP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RetAddr&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call Site</span><br /><span style="font-family:courier new,courier;">00 ffffd001`48cab918 fffff801`b17e47e9 nt!KeBugCheckEx</span><br /><span style="font-family:courier new,courier;">01 ffffd001`48cab920 fffff801`b17e303a nt!KiBugCheckDispatch+0x69</span><br /><span style="font-family:courier new,courier;">02 ffffd001`48caba60 fffff801`3e16f74f nt!KiPageFault+0x23a</span><br /><span style="font-family:courier new,courier;">03 ffffd001`48cabbf8 fffff801`3e16ee1e MsLbfoProvider!vmqcGetFirstMappedMNic+0xf</span><br /><span style="font-family:courier new,courier;">04 ffffd001`48cabc00 fffff801`3c621a13 MsLbfoProvider!LbfoReceiveNetBufferListsComplete+0x92</span><br /><span style="font-family:courier new,courier;">05 ffffd001`48cabc50 fffff801`3c611c2d NDIS! ?? ::FNODOBFM::`string&#39;+0x99f5</span><br /><span style="font-family:courier new,courier;">06 ffffd001`48cabce0 fffff801`3c611cf2 NDIS!ndisReturnNetBufferListsInternal+0x12d</span><br /><span style="font-family:courier new,courier;">07 ffffd001`48cabd40 fffff801`3daefa01 NDIS!NdisReturnNetBufferLists+0x72</span><br /><span style="font-family:courier new,courier;">08 ffffd001`48cabda0 fffff801`3daef36b vmswitch!VmsPtNicPvtPacketRouted+0x1b1</span><br /><span style="font-family:courier new,courier;">09 ffffd001`48cabe30 fffff801`3daef03e vmswitch!VmsExtIoPacketRouted+0x28b</span><br /><span style="font-family:courier new,courier;">0a ffffd001`48cabee0 fffff801`3c618245 vmswitch!VmsExtPtSendNetBufferListsComplete+0x9e</span><br /><span style="font-family:courier new,courier;">0b ffffd001`48cabf30 fffff801`3c618a68 NDIS!ndisMSendCompleteNetBufferListsInternal+0x135</span><br /><span style="font-family:courier new,courier;">0c ffffd001`48cac000 fffff801`3daef3a5 NDIS!NdisMSendNetBufferListsComplete+0x2b8</span><br /><span style="font-family:courier new,courier;">0d ffffd001`48cac170 fffff801`3daeef62 vmswitch!VmsExtIoPacketRouted+0x2c5</span><br /><span style="font-family:courier new,courier;">0e ffffd001`48cac220 fffff801`3c621a8e vmswitch!VmsExtMpReturnNetBufferLists+0x42</span><br /><span style="font-family:courier new,courier;">0f ffffd001`48cac250 fffff801`3c611c2d NDIS! ?? ::FNODOBFM::`string&#39;+0x9a70</span><br /><span style="font-family:courier new,courier;">10 ffffd001`48cac2e0 fffff801`3c611cf2 NDIS!ndisReturnNetBufferListsInternal+0x12d</span><br /><span style="font-family:courier new,courier;">11 ffffd001`48cac340 fffff801`3daef3ed NDIS!NdisReturnNetBufferLists+0x72</span><br /><span style="font-family:courier new,courier;">12 ffffd001`48cac3a0 fffff801`3daeeddc vmswitch!VmsExtIoPacketRouted+0x30d</span><br /><span style="font-family:courier new,courier;">13 ffffd001`48cac450 fffff801`3db03fad vmswitch!VmsNblHelperRefCountDecrementMany+0x7c</span><br /><span style="font-family:courier new,courier;">14 ffffd001`48cac490 fffff801`3db00d8a vmswitch!VmsRouterDeliverNetBufferLists+0x62d</span><br /><span style="font-family:courier new,courier;">15 ffffd001`48cac570 fffff801`3c611903 vmswitch!VmsExtPtReceiveNetBufferLists+0x13a</span><br /><span style="font-family:courier new,courier;">16 ffffd001`48cac5d0 fffff801`3c62129b NDIS!ndisMIndicateNetBufferListsToOpen+0x123</span><br /><span style="font-family:courier new,courier;">17 ffffd001`48cac690 fffff801`3c6128f6 NDIS!ndisMTopReceiveNetBufferLists+0x2db</span><br /><span style="font-family:courier new,courier;">18 ffffd001`48cac720 fffff801`3daed9c9 NDIS!NdisMIndicateReceiveNetBufferLists+0xb96</span><br /><span style="font-family:courier new,courier;">19 ffffd001`48cac900 fffff801`3c617a21 vmswitch!VmsExtMpSendNetBufferLists+0x359</span><br /><span style="font-family:courier new,courier;">1a ffffd001`48caca90 fffff801`3daf3347 NDIS!NdisSendNetBufferLists+0x551</span><br /><span style="font-family:courier new,courier;">1b ffffd001`48cacc80 fffff801`3daf2e14 vmswitch!VmsExtPtRouteNetBufferLists+0x377</span><br /><span style="font-family:courier new,courier;">1c ffffd001`48cacd50 fffff801`3c611903 vmswitch!VmsPtNicReceiveNetBufferLists+0x3c4</span><br /><span style="font-family:courier new,courier;">1d ffffd001`48caceb0 fffff801`3c62129b NDIS!ndisMIndicateNetBufferListsToOpen+0x123</span><br /><span style="font-family:courier new,courier;">1e ffffd001`48cacf70 fffff801`3c6128f6 NDIS!ndisMTopReceiveNetBufferLists+0x2db</span><br /><span style="font-family:courier new,courier;">1f ffffd001`48cad000 fffff801`3da687f0 NDIS!NdisMIndicateReceiveNetBufferLists+0xb96</span><br /><span style="font-family:courier new,courier;">20 ffffd001`48cad1e0 fffff801`3da6821a NdisImPlatform!implatTryToIndicateReceiveNBLs+0x1e8</span><br /><span style="font-family:courier new,courier;">21 ffffd001`48cad250 fffff801`3c611903 NdisImPlatform!implatReceiveNetBufferLists+0x1a2</span><br /><span style="font-family:courier new,courier;">22 ffffd001`48cad2d0 fffff801`3c6126dd NDIS!ndisMIndicateNetBufferListsToOpen+0x123</span><br /><span style="font-family:courier new,courier;">23 ffffd001`48cad390 fffff801`3dbc15fa NDIS!NdisMIndicateReceiveNetBufferLists+0x97d</span><br /><span style="font-family:courier new,courier;">24 ffffd001`48cad570 fffff801`3dbc2088 ixn64x64+0x295fa</span><br /><span style="font-family:courier new,courier;">25 ffffd001`48cad5c0 fffff801`3dba4607 ixn64x64+0x2a088</span><br /><span style="font-family:courier new,courier;">26 ffffd001`48cad640 fffff801`3dba4a01 ixn64x64+0xc607</span><br /><span style="font-family:courier new,courier;">27 ffffd001`48cad6b0 fffff801`3dba3ec8 ixn64x64+0xca01</span><br /><span style="font-family:courier new,courier;">28 ffffd001`48cad720 fffff801`3c613005 ixn64x64+0xbec8</span><br /><span style="font-family:courier new,courier;">29 ffffd001`48cad760 fffff801`b16c8130 NDIS!ndisInterruptDpc+0x1b5</span><br /><span style="font-family:courier new,courier;">2a ffffd001`48cad860 fffff801`b16c734b nt!KiExecuteAllDpcs+0x1b0</span><br /><span style="font-family:courier new,courier;">2b ffffd001`48cad9b0 fffff801`b17dc7ea nt!KiRetireDpcList+0xdb</span><br /><span style="font-family:courier new,courier;">2c ffffd001`48cadc60 00000000`00000000 nt!KiIdleLoop+0x5a</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Win2008R2/Win7: STOP 0xF4 during Task Sequence / OS Deployment</title>
      <link>https://docs.microsoft.com/archive/blogs/dip/win2008r2win7-stop-0xf4-during-task-sequence-os-deployment</link>
      <pubDate>Wed, 21 Jan 2015 00:05:00 GMT</pubDate>
      <dc:creator><![CDATA[Rob Scheepens]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dip/2015/01/21/win2008r2win7-stop-0xf4-during-task-sequence-os-deployment/</guid>
      <description><![CDATA[Status: Resolved
Update 150630: one of my colleagues mailed me additional info, see below under...]]></description>
      <content:encoded><![CDATA[<p><strong>Status: Resolved</strong></p>
<p>Update 150630: one of my colleagues mailed me additional info, see below under Additional.</p>
<p>Recently I came across two very similar STOP 0xF4 cases, sent to me by ConfigMgr colleagues. When examining the dump, it became clear there was&nbsp;a problem with services.exe. In one dump it was still present while exiting, in the other dump it was already gone. The error code was the same: 14001, 0x36b1 in hex. Some details of the dumps:</p>
<p style="margin-left:30px;"><span style="font-family:courier new,courier;">FAILURE_BUCKET_ID:&nbsp; X64_0xF4_36b1_IMAGE_wininit.exe</span></p>
<p style="margin-left:30px;"><span style="font-family:courier new,courier;">0: kd&gt; knL</span><br /><span style="font-family:courier new,courier;">&nbsp;# Child-SP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RetAddr&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call Site</span><br /><span style="font-family:courier new,courier;">00 fffff880`03581b08 fffff800`01e5fab2 nt!KeBugCheckEx</span><br /><span style="font-family:courier new,courier;">01 fffff880`03581b10 fffff800`01e0aabb nt!PspCatchCriticalBreak+0x92</span><br /><span style="font-family:courier new,courier;">02 fffff880`03581b50 fffff800`01d89f04 nt! ?? ::NNGAKEGL::`string&#39;+0x17486</span><br /><span style="font-family:courier new,courier;">03 fffff880`03581ba0 fffff800`01ad0e53 nt!NtTerminateProcess+0xf4</span><br /><span style="font-family:courier new,courier;">04 fffff880`03581c20 00000000`778d157a nt!KiSystemServiceCopyEnd+0x13</span><br /><span style="font-family:courier new,courier;">05 00000000`0020f7a8 00000000`00000000 0x778d157a</span></p>
<p style="margin-left:30px;"><span style="font-family:courier new,courier;">0: kd&gt; !error 36b1</span><br /><span style="font-family:courier new,courier;">Error code: (Win32) 0x36b1 (14001) - The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.</span></p>
<p>The issue in this case occurs because WinPE tries to compact the offline registry and fails to commit the registry hives back to disk. This problem only happen when you deploy windows 7 and use WinPE 5.0 or 5.1, 32 bit, to deploy the image. Resolution is to set this registry value in the boot.wim using DISM:</p>
<p style="margin-left:30px;"><span style="font-family:courier new,courier;">HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Configuration Manager</span></p>
<p style="margin-left:30px;"><span style="font-family:courier new,courier;">Name:&nbsp; RegistryReorganizationLimitDays</span><br /><span style="font-family:courier new,courier;">Datatype: DWORD</span><br /><span style="font-family:courier new,courier;">Value:&nbsp; 365</span></p>
<p>Setting this value has the effect that the registry hives are not compacted as long as the modified date of the hives is not older than a year. When you intend to use the deployment longer than a year,&nbsp; a higher value must be chosen.</p>
<p>If you have run into this issue and you managed to resolve it using this information, <a title="Win2008R2/Win7: STOP 0xF4 during Task Sequence / OS Deployment" href="mailto:rob.scheepens@microsoft.com?subject=Win2008R2/Win7:%20STOP%200xF4%20during%20Task%20Sequence%20/%20OS%20Deployment" target="_blank">please let me know</a>! Do note that not all STOP 0xF4 errors are the same! If you have another 0xF4 and need help, reach out!</p>
<p><strong>Additional</strong></p>
<p>We have had several customer run into this issue and found that just setting that registry key does not always correct the problem.</p>
<p>Basically Windows 8.1 adds a feature when mounting the registry that compacts it (gets rid of unused space) when loading it for the first time. During the Apply Operating System and Driver tasks, the Task Sequence mounts the registry. Since the Task Sequence is in WinPE 5 (which is based off of Windows 8.1) during these mounts, the Windows 7 registry, which has never been compacted before, gets compacted. When the registry is loaded to do the compacting, it needs a piece of contiguous memory that is as big as the registry to do the compacting. The size of the registry can vary a lot depending on the image, but you can say that it will usually be around 60MB in size.</p>
<p>This process is sometimes a problem when using an x86 boot image. Basically because WinPE&nbsp; has no page file, WinPE relies completely on what physical memory is available. The end result is that memory in WinPE gets very fragmented. With x64 WinPE this is not a big deal on most modern PCs because there is a lot of memory available. However with x86 boot images, there is a limit of how much memory can be addressed (around 3GB) regardless of how much memory the PC actually has. The end result is that when the memory gets very fragmented with an x86 boot image, there is less of a chance of there being a piece of contiguous memory that large enough to hold the registry that needs to be mounted. In these situations, when the registry gets mounted, it gets corrupted and part of the registry basically gets chopped off.</p>
<p>The result of the registry corruption can be seen as blue screens (like the customer is seeing) or other symptoms like Windows Update not working. It really depends on what got chopped out of the registry.</p>
<p>There are several solutions to the problem:</p>
<p>1)&nbsp;Use an x64 boot image. Because x64 boot images can address a much larger amount of memory, the chance of there not being a piece of contiguous memory that is large enough to hold the registry is extremely low. This will eliminate the problem from every happening</p>
<p>2)&nbsp;Prevent the registry from compacting in WinPE 5:<br />a.&nbsp;On an x64 Windows 8.1 PC, mount the Windows 7 OS WIM and then load the SYSTEM and SOFTWARE registry hives from the image. This will initiate the initial compact of the registry. Unload the registry and it will save compacted. Unmount and commit the changes to the Windows 7 OS WIM file. This will prevent the initial compacting of the registry in WinPE 5.</p>
<p>b.&nbsp;Set the following registry keys on the WinPE 5 boot image. This needs to be done to the offline WinPE 5 boot image and cannot be done &ldquo;real time&rdquo; during the ConfigMgr Task Sequence:</p>
<p>HKLM\CurrentControlSet\Control\Session Manager\Configuration Manager<br />DWord : RegistryReorganizationLimitDays = 3650<br />DWord : RegistryReorganizationLimit = 536870912</p>
<p>This will cause subsequent registry loads not to compact for 10 years after the last compact. Additionally it will not compact the registry when the registry is under 500MB. Values are purposely set high to prevent registry compact from ever occurring.</p>
<p>Please note that &ldquo;Configuration Manager&rdquo; here does not refer to System Center Configuration Manager. It is a Windows key that exists whether or not System Center Configuration Manager is being used and is not related to System Center Configuration Manager</p>
<p>3)&nbsp;Use a WinPE 3.1 boot image instead. WinPE 3.1, which is based on Windows 7, does not attempt to compact the registry. Instructions for creating a proper WinPE 3.1 boot image for use in ConfigMgr 2012 R2 are at <a href="https://technet.microsoft.com/en-us/library/dn387582.aspx">https://technet.microsoft.com/en-us/library/dn387582.aspx</a>.</p>
<p>4)&nbsp;It appears that the bug that is causing this issue has been fixed in Windows 10. However it was just fixed recently (May) so we are unsure if it is going to make it in the final release of Windows 10. If it does make it in the final release of Windows 10, then an additional option is that when the final version of the Windows 10 ADK is released, upgrade to SP1 for ConfigMgr 2012 R2 and then use a WinPE 10 boot image.</p>]]></content:encoded>
    </item>
    <item>
      <title>INFO: Capturing dumps of hung/frozen vms</title>
      <link>https://docs.microsoft.com/archive/blogs/dip/info-capturing-dumps-of-hungfrozen-vms</link>
      <pubDate>Tue, 20 Jan 2015 01:09:00 GMT</pubDate>
      <dc:creator><![CDATA[Rob Scheepens]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dip/2013/07/30/info-capturing-dumps-of-hungfrozen-vms/</guid>
      <description><![CDATA[150120: recently me and some colleagues have been seeing problems with vmss2core where created dmp...]]></description>
      <content:encoded><![CDATA[<p>150120: recently me and some colleagues have been seeing problems with vmss2core where created dmp files are 0 bytes in size. Looking at the comments section on <a href="https://labs.vmware.com/flings/vmss2core">https://labs.vmware.com/flings/vmss2core</a> it appears there are more people seeing this. I&#39;m trying to get in touch with VMware to resolve this. This happens when converting 2012R2 dumps (for me and my colleague).</p>
<p>///</p>
<p>Hi All,</p>
<p>In Support we frequently use memory dumps as a tool to troubleshoot problems, such as a hung or frozen machine. Sometimes however, capturing a dump proves anything but trivial, and it may take extended amounts of time and effort to finally get the data we want. Now, when working with virtual machines, I still see engineers struggle with capturing a memory dump of a hung vm. However, both Hyper-V and VMware provide functionality to capture the machine state and convert the state file(s) - vsv/bin on Hyper-V, vmss on VMware -, to a dump file that can be read into WinDbg. Converting is simple: on Hyper-V use <a href="https://archive.msdn.microsoft.com/vm2dmp" target="_blank">vm2dmp</a>, on VMware use <a href="https://labs.vmware.com/flings/vmss2core" target="_blank">vmss2core</a> (thanks to Paudie from VMware for sharing this link with me).</p>
<p><a href="mailto:robschee@microsoft.com?subject=Capturing%20dumps%20of%20hung/frozen%20vms" target="_blank">Let me know </a>if this bit of info helped you!<br /><br />Note: should you want to go the &quot;old&quot; way of getting dumps on vms, then you&#39;ll surely appreciate the virtual NMI functionality in Hyper-V 2012 R2. ;)<br /><br />\Rob</p>]]></content:encoded>
    </item>
    <item>
      <title>Win2012R2: STOP 0x133 and STOP 0x9E caused by too many NBLs in a DPC</title>
      <link>https://docs.microsoft.com/archive/blogs/dip/win2012r2-stop-0x133-and-stop-0x9e-caused-by-too-many-nbls-in-a-dpc</link>
      <pubDate>Mon, 19 Jan 2015 07:43:34 GMT</pubDate>
      <dc:creator><![CDATA[Rob Scheepens]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dip/2015/01/19/win2012r2-stop-0x133-and-stop-0x9e-caused-by-too-many-nbls-in-a-dpc/</guid>
      <description><![CDATA[Status: in progress...
Hi All, recently we have been seeing an increase in STOP 0x133 (on...]]></description>
      <content:encoded><![CDATA[<p><strong>Status: in progress...</strong></p>
<p>Hi All, recently we have been seeing an increase in STOP 0x133 (on non-clustered) and 0x9E (on clustered)&nbsp;cases, where the root cause is that there are too many NBLs indicated in a DPC. This causes the DPC watchdog timer to expire, resulting in mentioned STOP errors. Part of an example stack is</p>
<p><span style="font-family:courier new,courier;">1f ffffd001`1d4f2800 fffff800`d9cfa347 NDIS!NdisSendNetBufferLists+0x551</span><br /><span style="font-family:courier new,courier;">20 ffffd001`1d4f29f0 fffff800`d9cf9e14 vmswitch!VmsExtPtRouteNetBufferLists+0x377</span><br /><span style="font-family:courier new,courier;">21 ffffd001`1d4f2ac0 fffff800`d845b903 vmswitch!VmsPtNicReceiveNetBufferLists+0x3c4</span><br /><span style="font-family:courier new,courier;">22 ffffd001`1d4f2c20 fffff800`d846b29b NDIS!ndisMIndicateNetBufferListsToOpen+0x123</span><br /><span style="font-family:courier new,courier;">23 ffffd001`1d4f2ce0 fffff800`d845c8f6 NDIS!ndisMTopReceiveNetBufferLists+0x2db</span><br /><span style="font-family:courier new,courier;">24 ffffd001`1d4f2d70 fffff800`d81df7f0 NDIS!NdisMIndicateReceiveNetBufferLists+0xb96</span><br /><span style="font-family:courier new,courier;">25 ffffd001`1d4f2f50 fffff800`d81df21a NdisImPlatform!implatTryToIndicateReceiveNBLs+0x1e8</span><br /><span style="font-family:courier new,courier;">26 ffffd001`1d4f2fc0 fffff800`d845b903 NdisImPlatform!implatReceiveNetBufferLists+0x1a2</span><br /><span style="font-family:courier new,courier;">27 ffffd001`1d4f3040 fffff800`d845c6dd NDIS!ndisMIndicateNetBufferListsToOpen+0x123</span><br /><span style="font-family:courier new,courier;">28 ffffd001`1d4f3100 fffff800`d89e9eb7 NDIS!NdisMIndicateReceiveNetBufferLists+0x97d</span></p>
<p>At present, there is no definitive solution available, but there are some mitigating actions available:</p>
<p>1. Optimize RSS/VMQ configuration. A NIC miniport indicating a &gt;256 NBL chain per CPU indicates RSS/VMQ is not correctly used. See <a href="/b/networking/archive/2013/09/10/vmq-deep-dive-1-of-3.aspx">https://blogs.technet.com/b/networking/archive/2013/09/10/vmq-deep-dive-1-of-3.aspx</a>.</p>
<p>2. Use a Receive Side Throttling (<a title="RST" href="https://msdn.microsoft.com/en-us/library/windows/hardware/ff570441(v=vs.85).aspx" target="_blank">RST</a>) capable NIC.</p>
<p>3 Reduce the number of Receive Buffers for the miniport indicating the high amount of NBLs. Note that this setting is not available for Hyper-V vNICs. Also, by setting this a performance limitation might be introduced. Monitor your network performance after changing this value.</p>
<p>Also ensure that NIC driver/firmware are up-to-date. Additional information: <a href="https://msdn.microsoft.com/en-us/library/windows/hardware/ff567241(v=vs.85).aspx">https://msdn.microsoft.com/en-us/library/windows/hardware/ff567241(v=vs.85).aspx</a>.</p>
<p>When you think you are hitting this scenario, <a href="mailto:rob.scheepens@microsoft.com?subject=Win2012R2:%20STOP%200x133%20and%20STOP%200x9E%20caused%20by%20too%20many%20NBLs%20in%20a%20DPC" target="_blank">please reach out to us</a>.</p>]]></content:encoded>
    </item>
    <item>
      <title>Automated Diagnostics for free! :)</title>
      <link>https://docs.microsoft.com/archive/blogs/dip/automated-diagnostics-for-free</link>
      <pubDate>Mon, 17 Nov 2014 22:47:43 GMT</pubDate>
      <dc:creator><![CDATA[Rob Scheepens]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dip/2014/11/17/automated-diagnostics-for-free/</guid>
      <description><![CDATA[Did you know you can leverage the power of Microsoft&#39;s Automated Diagnostics ecosystem? To do...]]></description>
      <content:encoded><![CDATA[<p>Did you know you can leverage the power of Microsoft&#39;s Automated Diagnostics ecosystem? To do so, visit <a href="https://home.diagnostics.support.microsoft.com/">https://home.diagnostics.support.microsoft.com/</a>. In the context of this blog: if you want to have a memory dump uploaded and checked, use the <a href="https://support.microsoft.com/kb/2027760" target="_blank">Machine Memory Collector diagnostic package</a> (search for &quot;dump&quot;). If a result is found, you&#39;ll be notified. If not, you want to create a case with Support.</p>]]></content:encoded>
    </item>
    <item>
      <title>[INFO] Setting up Debugging</title>
      <link>https://docs.microsoft.com/archive/blogs/dip/info-setting-up-debugging</link>
      <pubDate>Sat, 07 Sep 2013 08:02:52 GMT</pubDate>
      <dc:creator><![CDATA[Rob Scheepens]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dip/2013/09/07/info-setting-up-debugging/</guid>
      <description><![CDATA[Hi All, just wanted to share this link with you:...]]></description>
      <content:encoded><![CDATA[<p>Hi All, just wanted to share this link with you: <a href="https://msdn.microsoft.com/en-us/library/windows/hardware/hh450944(v=vs.85).aspx">https://msdn.microsoft.com/en-us/library/windows/hardware/hh450944(v=vs.85).aspx.</a> It contains a wealth of information about how to setup various debug connections, for example from Visual Studio, or WinDbg, or ntsd, etc. Enjoy!</p>]]></content:encoded>
    </item>
    <item>
      <title>[INFO] Troubleshooting Pool Corruption</title>
      <link>https://docs.microsoft.com/archive/blogs/dip/info-troubleshooting-pool-corruption</link>
      <pubDate>Fri, 30 Aug 2013 02:43:22 GMT</pubDate>
      <dc:creator><![CDATA[Rob Scheepens]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dip/2013/08/30/info-troubleshooting-pool-corruption/</guid>
      <description><![CDATA[Hello All, time for another post, this time on Pool Corruption. Many of the STOP errors we in...]]></description>
      <content:encoded><![CDATA[<p>Hello All, time for another post, this time on Pool Corruption. Many of the STOP errors we in Support see are pool-related. For example, the one I saw some days ago:</p>
<p><span style="font-family: courier new,courier;">X64_0x3B_nt!ExDeferredFreePool+249</span></p>
<p>Other common pool-related STOP errors include 0x1E, 0x50, 0xA, and 0x8E.</p>
<p>Quite often, the stack in such cases reveals an offending (third party) driver. Also often however, there is no clear indication of what might have happened. Take note also, that simply having a driver on the stack does not make it the culprit of the crash: it could have simply tripped over a corruption that was caused by another driver at an earlier point in time. In most cases, one memory dump is not enough, and we need additional information in subsequent dumps to find the root cause of the problem. We can obtain such info by enabling <a href="https://msdn.microsoft.com/en-us/library/windows/hardware/ff545448(v=vs.85).aspx">Driver Verifier</a>. The options to specify related to Pool issues are Special Pool and Pool Tracking, under the Standard Flags:</p>
<p><span style="font-family: courier new,courier;">STANDARD FLAGS:</span><br /><span style="font-family: courier new,courier;">These flags are considered standard options for Driver Verifier and can be</span><br /><span style="font-family: courier new,courier;">set using '/standard' or by the combination of the options: '/flags 0x209BB'</span><br /><span style="font-family: courier new,courier; background-color: #ffff00;">&nbsp; bit&nbsp; 0 (0x00000001) - Special pool</span><br /><span style="font-family: courier new,courier;">&nbsp; bit&nbsp; 1 (0x00000002) - Force IRQL checking</span><br /><span style="font-family: courier new,courier; background-color: #ffff00;">&nbsp; bit&nbsp; 3 (0x00000008) - Pool tracking</span><br /><span style="font-family: courier new,courier;">&nbsp; bit&nbsp; 4 (0x00000010) - I/O verification</span><br /><span style="font-family: courier new,courier;">&nbsp; bit&nbsp; 5 (0x00000020) - Deadlock detection</span><br /><span style="font-family: courier new,courier;">&nbsp; bit&nbsp; 7 (0x00000080) - DMA checking</span><br /><span style="font-family: courier new,courier;">&nbsp; bit&nbsp; 8 (0x00000100) - Security checks</span><br /><span style="font-family: courier new,courier;">&nbsp; bit 11 (0x00000800) - Miscellaneous checks</span><br /><span style="font-family: courier new,courier;">&nbsp; bit 17 (0x00020000) - DDI compliance checking</span></p>
<p>The syntax to enable this: "verifier /flags 0x9 /all". This needs a reboot to be effective. Should you want to enable this run-time: "verifier /volatile /flags 0x9 /adddriver *". No reboot needed, but verification will also not be persistent across reboots. Please refer to the Driver Verifer link above for further information.</p>
<p>As a bonus, when enabling Pool Tracking, we also enable TrackNblOwner, which comes in handy when debugging network problems, as my friend and colleague Karim explains <a href="https://blogs.msdn.com/b/ntdebugging/archive/2013/03/29/debugging-a-network-connectivity-issue-tracknblowner-to-the-rescue.aspx">here</a>.</p>
<p>Pool Tracking creates an in-memory database to store thread stacks related to pool allocations. By default, this is&nbsp;65536 (0x10000) entries, but in cases where this is not enough, we can allocate up to 1048576 entries (0x100000), through the VerifierPoolTracesLength registry value under:</p>
<p><span style="font-family: courier new,courier;">HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management</span></p>
<p>Note: only Windows 8 and higher. Each database entry is 128 bytes, so allocating one million (1048576) of these, only costs us 128MB of physical RAM, as the stack trace database is in Nonpaged Pool.</p>
<p>Thoughts? Comments? <a href="mailto:robschee@microsoft.com?subject=[INFO] Troubleshooting Pool Corruption">Let me know</a>!</p>]]></content:encoded>
    </item>
    <item>
      <title>Some basic debugging steps... KB315263</title>
      <link>https://docs.microsoft.com/archive/blogs/dip/some-basic-debugging-steps-kb315263</link>
      <pubDate>Tue, 06 Aug 2013 02:17:14 GMT</pubDate>
      <dc:creator><![CDATA[Rob Scheepens]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dip/2013/08/06/some-basic-debugging-steps-kb315263/</guid>
      <description><![CDATA[Just came across this pretty old KB, that still applies though:
315263&nbsp;How to read the small...]]></description>
      <content:encoded><![CDATA[<p>Just came across this pretty old KB, that still applies though:</p>
<p>315263&nbsp;How to read the small memory dump file that is created by Windows if a crash occurs<br /><a href="https://support.microsoft.com/kb/315263/EN-US">https://support.microsoft.com/kb/315263/EN-US</a></p>
<p>&nbsp;</p>
<p>\Rob<br />&nbsp;</p>]]></content:encoded>
    </item>
  </channel>
</rss>