Permalink
Browse files

Explicitly set BcdLibraryInteger_DebuggerType to DebuggerSerial.

Windows 10 14393 (Redstone) has a default Debugger type set to LOCAL and
this breaks the VirtualKD. The workaround is to set Debugger type to
SERIAL for our entry.
  • Loading branch information...
TheEragon committed Aug 9, 2016
1 parent 5229736 commit 4c274c67fecdee5301619f1fcf5d49cc093b39a5
Showing with 3 additions and 0 deletions.
  1. +3 −0 vminstall/bootedit.cpp
View
@@ -98,6 +98,9 @@ namespace VistaBCD
st = m_Object.SetElement(BcdLibraryBoolean_AutoRecoveryEnabled, false);
if (!st.Successful())
return st;
+ st = m_Object.SetElement(BcdLibraryInteger_DebuggerType, (ULONGLONG)0); //Set DebuggerType to DebuggerSerial
+ if (!st.Successful())
+ return st;
}
return MAKE_STATUS(Success);

0 comments on commit 4c274c6

Please sign in to comment.