WINDBG find Windows 11 getting stuck at "Restarting"

Hi There,

I have a Hyper-V VM of a Windows 11 box getting stuck at "Restarting" anytime it has to Restart or Shutdown, I've tried/done below so far:

  1. I've enabled verbose messages for winlogon.exe during boot/shutdown, the shutdown screen goes through some services/software shutting down and then eventually gets to "Restarting"
  2. Target: bcdedit /debug on
  3. Host: Set-VMFirmware -Vmname VM-HOSTNAME -EnableSecureBoot Off
  4. Host: Set-VMComPort -VMName VM-HOSTNAME 1 \.\pipe\TestPipe
  5. Host: !gflag +sls
  6. Host: !gflag +dwl
  7. Host: !dml_proc

I simply want to be able to see what is causing the hang, the Event Log does not show anything helpful, I want to query a list of the Services and what state they are in to see if it's 1 of those causing the issue but after Googling I can't find or see how to query this from WINDBG?, any help would be appreciated.

Thanks

I had slow restart issues in the past with serial pipe transport. Try switching to NET transport with bcdedit

1 Like

Does it ever finish restarting or is stuck literally forever? And is this running your code or just a stock VM?

The recommendation to switching to KDNET is a good one...