4d61726b / VirtualKD-Redux

VirtualKD-Redux - A revival and modernization of VirtualKD
GNU Lesser General Public License v2.1
812 stars 136 forks source link

vmware guest os will be red point after update to win11 #59

Closed spobit closed 7 months ago

spobit commented 8 months ago

Describe the bug I was updated os to win11, then the vmware guset os will be red point when starts it.

To Reproduce

Screenshots image

image

Configuration (please complete the following information):

Additional context Add any other context about the problem here.

4d61726b commented 8 months ago

Thanks for filling out the template. I have a similar configuration as yours and it works for me, so something on your host might be preventing vmmon64.exe from loading kdclient.dll into the vmx process.

Can you:

  1. Close everything on your host, including VMware Workstation and vmmon64.exe
  2. Start VMware Workstation
  3. Start the VM, but just press F8, don't disable driver signature enforcement. Stay at the menu.
  4. Start vmxpatch64.exe
  5. Select the one VM to patch and apply the patch

Can you post the output / result of this? Does vmxpatch64.exe succeed? I am hoping that this would give us a hint as to what the issue is.

spobit commented 8 months ago

@4d61726b VirtualKD-Redux 2023.0

Listing detected VM sessions:

PID Name

1 14656

Which VM session to patch/unpatch? (1-1): 1 The vmware-vmx.exe has been successfully patched. You can now use the debugger. Do you want to unpatch it back? (y/n) y Failed to unpatch VM session.

Press any key to exit...

4d61726b commented 8 months ago

Can you exit everything and perform the steps again?

This time, once it successfully patched (as seen in your reply), don't unpatch it (specify n). Then start vmmon64.exe. Is the VM "green" this time and not "red"? If it's green, can you disable driver signature enforcement in the VM and see if you can kernel debug?

spobit commented 8 months ago

@4d61726b image

spobit commented 8 months ago

reinstall win11, everything is ok.