How to turn off Windows kernel debugging at boot time?
Worked out how to get the machine running again.
Pressing F8 during reboot gives the Repair option. Selecting Repair and gives a number of other options including Restoring to a previous restore point and also opening a command prompt.
I had tried the following...
Opening a command prompt and typing "bcdedit -debug off" which was accepted but didn't seem to help. I then tried restoring to a restore point of a couple of days previous. Again I got a hang on reload.
The reason,.... neither of these actually turned off the debug option for the boot config.
What I needed to do was: in the Repair menu - open a command prompt. Then type bcdedit /enum to list the boot configs. Then call
bcdedit /set {default} debug off
I guess my initial attempts to call bcdedit -debug off were turning it off on the (which it already was) on the boot manager config because I didn't specify a particular config name.
There is no need for to use the repair option! Just press F10 instead of F8, now you will be able to edit the bootparameter! Just delete /DEBUG
and press enter to continue the boot process. After set use bcdedit -debug off
to permanently change the debug option.