How to fix Error 613 on Windows 11

Windows 11 Troubleshooting Guide: Error 613 – Low On Registry Space

Why This Error Happens

Error 613 occurs when the registry hive files have grown to meet or exceed the maximum registry size limit configured for the system, preventing Windows from writing new registry entries. This is typically caused by an artificially low registry size quota set in the system, excessive accumulation of orphaned registry keys from uninstalled software, or bloated hive files (particularly SOFTWARE, SYSTEM, or user NTUSER.DAT hives) that haven’t been compacted. On modern Windows 11 systems, this can also surface after third-party “tweaker” tools have manually capped the registry size in the past.

Step-by-Step Resolution Guide

  1. Check and increase the Registry Size Limit (if legacy setting exists):
  • Press Win + R, type regedit, and navigate to:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
  • Look for a value named RegistrySizeLimit. If it exists, either delete it or increase its value (in bytes) to a higher figure such as 80000000 (approx. 2GB), then restart the PC.
  • Note: On Windows 11, this key is largely deprecated since registry size is now dynamically managed, but leftover entries from older Windows versions can still trigger this error.
  1. Run System File Checker and DISM to repair corrupted hives:
  • Open Command Prompt as Administrator.
  • Run: sfc /scannow
  • Follow with: DISM /Online /Cleanup-Image /RestoreHealth
  • Reboot the system once both commands complete.
  1. Clean up bloated registry hives via Disk Cleanup:
  • Open Disk Cleanup (search via Start menu), select the C: drive, then click Clean up system files.
  • Check “System Restore and Shadow Copies” and “Windows Update Cleanup” to purge old restore points that inflate the SYSTEM hive.
  1. Manually compact user profile hives:
  • Boot into Safe Mode (Shift + Restart → Troubleshoot → Advanced Options → Startup Settings → Safe Mode).
  • Load each NTUSER.DAT file from C:\Users\<Username>\ via regedit (File → Load Hive), then unload it to force recompaction.
  1. Increase virtual memory (paging file) allocation:
  • Go to Control Panel → System → Advanced system settings → Performance Settings → Advanced → Virtual Memory → Change.
  • Set a custom size with an initial size of 1.5x your RAM and maximum size of 3x RAM, then restart.

Alternative or Verification Steps

  • Verify the fix: Open Event Viewer (eventvwr.msc) and check the System log for recurrence of Event ID 613 after 24-48 hours of normal use.
  • Alternative: If the error persists, perform a Windows 11 in-place upgrade repair (via Settings → Windows Update or mounting an ISO and running setup.exe) to rebuild registry hives without losing installed apps/data.