Zend certified PHP/Magento developer

Windows 11 BSOD after installing Visual Studio – have bootable drive settings been changed somehow?

I installed Visual Studio from Microsoft via this link. I was wanting to install qView (minimalist image viewer), and it requires Visual Studio, so I thought I would make sure that I have the latest version. I downloaded and installed it, and immediately upon restarting, I was hit with BSOD, with the error message “BAD_POOL_HEADER”.

Looking this up, I found suggestions for it being a RAM problem. OK; so I removed and reinstalled the RAM. I ran Microsoft’s memory check. I used diskpart and bcdboot to check the drives and repair the boot partition. I ran chkdsk, and found no errors. But I couldn’t get past the BSOD with any suggestion I tried. I couldn’t get in to Safe Mode or Recovery Mode. I did manage to do a system restore to a day before installing Visual Studio – no difference, no improvement, just the BSOD looping forever. Same when I did a restore point for another week earlier.

On another suggestion, I removed my additional storage drives (I have 2, drives D and F). Now, one of them does have a copy of an old Windows installation that I kept as a backup, just in case. But it’s not bootable, and I’ve been using the hardware/software combination for months with no issues at all. I also removed a second SSD drive with an old Windows 10 installation on it that I was going to wipe and install Linux on at some point. That drive is bootable, but Windows was at no point trying to boot that drive. When I forced it to through UEFI settings, it booted into with no problems, albeit without the storage drives connected.

After removing the 3 drives, I was able to boot in to my system on the C drive as normal. So I went back and reattached the first storage drive; no good, back to BSOD. Same with the second storge drive, same with both at the same time. Remove them again, and my C drive works as normal. The second SSD with the old Windows installation was not involved, sat on the desk the whole time.

I did notice during all this that my C drive and F drive had been swapped when I look at them with diskpart. I couldn’t find out if this was a feature of Windows 11 trying to go through some sort of error-checking off the back of the BSOD, or if something else had caused it.

I believe installing Visual Studio caused it. Nothing else on my system had changed, nothing else was running, nothing else was installed. After installing it and rebooting, the problems started. The joke was, I think I already had the latest Visual Studio installed. I just thought there would be no harm making sure I had the newest version…

So I went to Microsoft Support and explained it all to them. Of course, I was gaslit with the wonderful response that I “should have contacted customer support before installing Visual Studio to check that it was compatible with [my] hardware”, and the even better “this is a hardware error, there is nothing wrong with Visual Studio” – with no further investigation whatsoever. No interest in doing anything except booting into Safe Mode, which I can only do with the storage drives removed. So now after escalating this, I’m waiting for an e-mail response from Microsoft that I already know will simply advise me to do a clean install of Windows. And of course, I could work this out for myself.

I really don’t want to do a clean install, because my music software includes hundreds of VSTs and bit and pieces that will take days to reinstall. It will be incredibly painful. And also, I figured someone else might end up going through a similar dillema.

Windows 11 has been running fine since building the PC 6 months ago. No real problems at all, just the usual minor niggles and nuisances, mostly just frustrations with Windows 11. I’d installed a lot of software, from Ableton Live to Steam games, video editing, lots of professional audio software – all without a hitch. I’ve built about 6 PCs over the years. I’m not a professional, but I go heavily into research to make sure everything’s compatible, I test my installation thoroughly before installing more programs, and I’ve never had a single problem with anything I’ve built. I’m certainly not flawless, but I am 100% confident that hardware is not the cause of this particular problem.

However, I’m not adamant that the problem is Visual Studio, either; there could be something else corrupted that installing Visual Studio merely set off, or it could be an amazing coincidence.

But here, finally, are my questions: is there some sort of setting that has been altered, somehow, that I can change? Where does Windows 11 put its information about bootable drives, and can this be altered?

I changed the motherboard’s UEFI boot settings so that it would only boot into the correct Windows drive; Windows ignored this, and gave the BSOD whenever the storage drives were connected. How can the storage drives be affecting boot in this manner? What am I missing, other than the marbles that I started the day with?

Apologies for such a long post; I couldn’t work out how to make it shorter without missing vital information. And I feel I’ve still not provided enough!