title: DSC Configuration Keeps Restarting
body: <p>I have my LocalConfigurationManager set up as follows:</p>
  
  <pre><code>[DSCLocalConfigurationManager()]
  Configuration LCMConfig
  {
      Node localhost
      {
          Settings
          {
              RebootNodeIfNeeded = $true
              ActionAfterReboot = 'ContinueConfiguration'
              AllowModuleOverwrite = $true
              DebugMode = 'All'
          }
      }
  }
  LCMConfig
  Set-DscLocalConfigurationManager -Path .\LCMConfig -Verbose -Force
  </code></pre>
  
  <p>Then I kick off a DSC Configuration via </p>
  
  <pre><code>Start-DscConfiguration -Path .\RDS -Verbose -Wait
  </code></pre>
  
  <p>This configuration sets up an RemoteApp server which involves a whole bunch of steps and several reboots. One of those reboots is happening in a loop over and over again. When the reboot happens, I can get into the system long enough to run a quick command or two before DSC restarts the system again. How can I tell what specific Resource in the Configuration that DSC is getting hung up on.</p>
  
  <p>If I run </p>
  
  <pre><code>Remove-DSCConfiguration -Stage Pending,Current,Previous
  </code></pre>
  
  <p>the reboots stop...but then I seem to lose all information on where the problem is happening.</p>
  
  <p>I can capture the output of Get-DSCConfiguration, but I can't make sense enough of the output to tell where the reboot loop is happening.</p>
  
  <p>How can I further debug this?</p>