u/Icy-Advertising-1465

Windows 11 PC doesn't boot after enabling Kernel-mode Hardware-enforced Stack Protection and deleting the regedit key for sptd2.

One day I was going through my security settings and I decided to enable "Kernel-mode Hardware-enforced Stack Protection". I tried enabling this setting and it first told that me that a driver named "sptd2.sys" wasn't allowing it to be enabled. I searched and searched on how to disable that driver, and I found a guide that told me how. (The afforementioned guide can be found here. I followed this guide by changing the value of the key to four, and deleting the folder/key itself. I then turned off my PC, as I had to do something else. Later, I went to my PC and tried turning it on, and noticed that it had encountered a problem, and that Windows was going to restart my PC for me. I waited for it to restart, and when it did it blue screened, with a stop code of "INACCESSIBLE_BOOT_DEVICE". After that, it booted into WinRE.

(I noticed that people online say to change your drive settings from default to ACHI, but I don't think I have a menu for that in the BIOS, as I am using Acer's AN515-57 laptop)

I tried lots of commands and features to fix it. sfc /scannow, bootrec, and dism. I also tried to uninstall software updates, which somehow didn't want to uninstall at all. I tried to boot into Safe Mode, which also didn't work, as it wouldn't even boot into Safe Mode. And I tried to use Start-Up Repair, which practically did nothing.

Now, I am fine with this happening, as I have everything backed up to an external hard drive, but I was wondering if there was any way to fix this problem?

P.S. - I am pretty sure that the reason I am boot looping is that I did not correctly delete the driver. I only deleted the registry key for it, and so Windows thought it was gone, and allowed me to enable Kernel-mode Hardware-enforced Stack Protection. Although when it tried to boot, it noticed that the driver was still there, and won't boot due to that.

reddit.com
u/Icy-Advertising-1465 — 2 days ago