This is most likely in the incorrect forum but I couldn't find anything else that fits and I was referred to post here from my original post at: https://answers.microsoft.com/en-us/windows/forum/windows_10-update/system-thread-exception-not-handled-error-on/fdfea291-af49-4634-b0f1-052294aa6197
Okay so I have a windows server 2016 VM that will not boot due to a "SYSTEM THREAD EXCEPTION NOT HANDLED" error during the boot process. This error also occurs when I try boot in safe mode. Now before I get into explaining what I have
tried, I would like to make it clear I know why this is happening, and I have reproduced this on another VM.
What I was doing before I ran into this issue was trying to add registry keys/values to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Cryptography\Providers in an attempt to register the sample KSP C code I built and that I got from the Windows
Cryptographic Provider Development Kit. Once restarting the computer, it becomes unbootable and everything I have tried to undo what I did is working.
What I have tried:
- sfc /scannow, in the cmd line
- using reg.exe in the cmd line to try and remove the registry keys I added, but they do not appear to be showing up
- restarting in safe mode, with every possible configuration windows allows, such as with/without networking, with cmd line, with debugging enabled, etc.
Restoring the VM isn't an option because I do not have a recovery point to restore too, and I also do not have any VMWare snapshots to revert to. My only option without getting this fixed is to scrap the VM and start anew, but I would like to be
able to recover from this issue if it happens again while trying to register a custom build KSP.