Your PC shows a blue screen with the stop code BAD_SYSTEM_CONFIG_INFO, sometimes on every boot, sometimes after a crash or a registry tweak. What follows is based on Microsoft's bug check reference for this error and its general blue screen and recovery guidance, credited below, with our own suggested order for working through it. Where something is our advice rather than Microsoft's, we say so.
What the stop code means
Microsoft lists BAD_SYSTEM_CONFIG_INFO as bug check 0x74 (0x00000074) and says plainly: "This bug check indicates that there is an error in the registry."
Its reference page gives two causes. The first is that the error "occurs if the SYSTEM hive is corrupt" - the SYSTEM hive being one of the main files the registry is stored in. Microsoft adds that this is unlikely, because the boot loader checks a hive for corruption when it loads it.
The second, and more likely, cause is that "critical registry keys and values are missing". Microsoft says that can happen "if a user manually edited the registry or if an application or service corrupted the registry". So if you've recently run a registry cleaner, applied a tweak script or a debloat tool, or deleted keys by hand, that's the first suspect.
Step 1: Note the stop code details and check Event Viewer
If Windows still starts some of the time, gather a little evidence before you change anything:
Microsoft's reference says the fourth parameter of this bug check is the NT status code, when it's available. If you capture a crash dump, our guide to analysing a BSOD minidump with WinDbg shows how to read the parameters. Microsoft's own example decodes to a status meaning "{The Registry Is Corrupt}".
Microsoft also suggests you check the Windows System event log for registry-related errors and see whether an event names a hive or key. Our guide to using Event Viewer on Windows 11 shows where to look, and Reliability Monitor is a quicker way to see what changed just before the crashes started.
Step 2: Undo whatever changed
Microsoft's general blue screen advice starts with "Remove any new hardware" if you added any before the error. For this particular stop code, the registry is the more likely culprit, so in our view it's also worth undoing recent software changes:
If you exported a registry backup before editing, import it. Our guide to backing up the registry on Windows 11 explains how to restore one.
Uninstall any registry cleaner, tweak utility or tuning app you ran just before the problem began.
If the crashes started straight after a Windows update, Microsoft's recovery options include uninstalling recent updates from the Windows Recovery Environment; see our guide to uninstalling a Windows 11 update.
Step 3: Try safe mode, then restart normally
In the remarks on its bug check page, Microsoft suggests you "Try booting into safe mode and then restart the OS normally." If Windows won't start at all, Microsoft's blue screen guide points to its separate instructions for starting your PC in safe mode. Our safe mode vs clean boot explainer covers the difference between the two.
Microsoft is blunt about what it means if that doesn't help: "If the restart does not fix the problem, the registry damage is too extensive." At that point, move on to the recovery steps below rather than hunting for individual keys.
Step 4: Check free space and repair system files
Microsoft's bug check page also says it's worth confirming there's enough free space on the drive for Windows to work normally, and points to the System File Checker. Its blue screen guide suggests keeping 10% to 15% of free space on the system drive.
Step 5: Roll back with System Restore
Microsoft says System Restore "reverts the system files, registry settings, and installed programs" to the state they were in when a restore point was made, without affecting your personal files. That makes it a good fit for this error if you have a restore point from before the crashes started.
You can run it from Windows (type rstrui.exe in the Run box) or, if Windows won't start, from the Windows Recovery Environment under Troubleshoot > Advanced options > System Restore. Microsoft notes that you'll need your BitLocker key in the recovery environment if your drive is encrypted - our guide to finding your BitLocker recovery key can help. See how to use System Restore on Windows 11 for the full walkthrough.
Step 6: Repair, reset or reinstall Windows
If there's no usable restore point, Microsoft's recovery options move from least to most disruptive. Our suggested order:
Startup Repair from the recovery environment, if Windows won't boot - see how to use Startup Repair on Windows 11.
A repair install that keeps your files and apps, if you can still get into Windows - see how to repair-install Windows 11 and keep your files.
Reset this PC, which Microsoft says reinstalls Windows and lets you keep your personal files or remove everything - see how to reset Windows 11 and our System Restore vs Reset this PC comparison.
Reinstall from installation media as a last resort; Microsoft notes this removes everything from the device, so back up first if you can.
If the recovery environment itself is missing, our guide to fixing a missing recovery environment and our guide to creating a recovery drive on another PC will get you back to these options.
If it comes back after a clean reinstall
A fresh Windows install starts with a fresh registry, so if BAD_SYSTEM_CONFIG_INFO returns on a clean install with nothing tweaked, we'd look at hardware that could be corrupting data: run a memory test (see how to test RAM with MemTest86) and check the system drive (see how to check SSD health). That's our advice rather than Microsoft's, but it's the logical next step once software has been ruled out. Our general guide to fixing blue screens on Windows 11 covers the wider checks.