0X0000028D

Fix ERROR_SYSTEM_HIVE_TOO_LARGE (0X0000028D) Fast

Windows Errors Intermediate 👁 6 views 📅 Jun 8, 2026

Your registry hive blew past its size limit. I'll show you how to shrink it in minutes without reinstalling Windows.

That 0x0000028D error is a pain—your machine just sits there or blue-screens, and you're probably thinking it's toast. It's not. The registry hive (system file under %SystemRoot%\System32\config\SYSTEM) hit its 512 MB limit, and Windows panics. I've fixed this on a dozen small business PCs where someone loaded a ton of printer drivers or group policies.

Step 1: Boot into Recovery

First, you need to get to the Windows Recovery Environment (WinRE). If you can't boot normally, interrupt the startup three times—power off when you see the Windows logo. After that, you'll see a blue screen with options. Click TroubleshootAdvanced OptionsCommand Prompt.

If you have a Windows installation USB, boot from that instead and choose Repair your computer.

Step 2: Shrink the Hive from the Command Prompt

Once you're in Command Prompt, the goal is to load the current SYSTEM hive and delete bloated keys. Run these commands exactly:

cd /d %SystemRoot%\System32\config
ren SYSTEM SYSTEM.old
copy SYSTEM.old SYSTEM

Now load a fresh copy of the hive:

reg load HKLM\TempHive SYSTEM

If that fails because the hive is corrupt, skip to the next section. If it works, export the current keys to a backup:

reg export HKLM\TempHive C:\hive_backup.reg

Now delete the offending keys. The usual culprit is Select key under the TempHive. But the real trick is to remove all Services subkeys that are orphaned or from uninstalled software. I've found massive bloat from old antivirus drivers. Run this:

reg delete HKLM\TempHive\Select /va /f
reg add HKLM\TempHive\Select /v Current /t REG_DWORD /d 1 /f
reg add HKLM\TempHive\Select /v Default /t REG_DWORD /d 1 /f
reg add HKLM\TempHive\Select /v Failed /t REG_DWORD /d 0 /f
reg add HKLM\TempHive\Select /v LastKnownGood /t REG_DWORD /d 2 /f

Then unload the hive:

reg unload HKLM\TempHive

Reboot. If you still get the error, the hive is beyond repair—move to the next section.

Step 3: Replace the Hive with a Clean Copy

When shrinking doesn't work, you need a fresh SYSTEM hive. Windows keeps a backup at %SystemRoot%\System32\config\RegBack\SYSTEM. Use this:

copy /y %SystemRoot%\System32\config\RegBack\SYSTEM %SystemRoot%\System32\config\SYSTEM

If RegBack is empty (common on Windows 10/11 with default settings), use the SAM backup instead—though that loses user accounts. A better approach: boot from a Windows ISO, open Command Prompt, and copy from a working Windows install's \Windows\System32\config\SYSTEM file (same version, same architecture).

I did this for a client running a dental practice server. Took 10 minutes.

Why This Happens

The SYSTEM hive stores hardware profiles, driver configurations, and service settings. Its default max size is 512 MB. When it fills up—from too many printer drivers, third-party services, or a corrupt key growing endlessly—Windows can't write to it. The error triggers at boot because the kernel can't load the hive.

Common triggers: installing dozens of useless printer drivers, heavy group policy objects, or a buggy application that writes to the registry with no cleanup. I've seen it from a bad Realtek audio driver update too.

Less Common Variations

Sometimes the error shows as STOP 0x0000007B or INACCESSIBLE_BOOT_DEVICE because the hive corruption prevents the storage driver from loading. If you see either, try replacing the SYSTEM hive first—don't waste time chasing driver issues.

Another variant: the error appears after a failed Windows Update. In that case, try restoring a previous version of the hive from the C:\Windows\System32\config\RegBack folder (if it exists). No RegBack? Use the restore point from within WinRE.

Prevention

Stop letting junk accumulate. Uninstall old printer drivers with printmanagement.msc. Use dism /online /cleanup-image /startcomponentcleanup to clean up WinSxS cruft that sometimes writes to the hive. And set a scheduled task to back up the SYSTEM hive every week:

schtasks /create /tn "BackupRegistryHive" /tr "robocopy %SystemRoot%\System32\config D:\RegBackup SYSTEM /copy:DAT" /sc weekly /st 02:00

Also, limit group policy size—keep it under 200 KB. If you're running a domain, audit your GPOs.

One last thing: if you're using Windows 11 22H2 or later, the hive limit was raised to 1 GB, but that just delays the problem. Don't bank on it.

Was this solution helpful?