On a windows 7 machine we can enable kernel debugging by doing the following steps.
- Open a elevated command prompt(For more information see here)
- From the command prompt run the below commands
bcdedit /debug ON
bcdedit /dbgsettings SERIAL DEBUGPORT:1 BAUDRATE:115200
If the above commands are run from a non elevated command prompt then you will get the following error.
The boot configuration data store could not be opened. Access is denied.