The size of the registry key exported with Reg.exe is very large



Updated October 2024: Stop getting error messages and slow down your system with our optimization tool. Get it now at this link
  1. Download and install the repair tool here.
  2. Let it scan your computer.
  3. The tool will then repair your computer.

We have already seen how we can use the integrated command line utility Reg.exe to perform almost any task you can do with regedit.exe. You can also use Reg.exe to save a registry key to a hive file.

However, if you determine that the Reg.exe utility does not compress a registry key when the utility stores a registry key in a hive file, you can apply the patch published by Microsoft.

If you try to make copies of registry keys using the reg save command when you export the registry key to a hive file, you will notice that the registry key does not compress the key during the export process. This makes the exported key size very large. In such a scenario, you can apply this Microsoft patch.

This patch fixes the problem that can occur on a system running Windows Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows Server 2008, Windows 8 or Windows Server 2012.

October 2024 Update:

You can now prevent PC problems by using this tool, such as protecting you against file loss and malware. Additionally, it is a great way to optimize your computer for maximum performance. The program fixes common errors that might occur on Windows systems with ease - no need for hours of troubleshooting when you have the perfect solution at your fingertips:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.

Download Now

After downloading and installing this patch 973817, use the switch /c in the reg save command to compress the registry key.

For example, this command compresses the HVAC system subkey :

reg store hklmsystem %windir%system32configsystem.lkg /y /c

I hope this will help you solve your problem.



Expert Tip: This repair tool scans the repositories and replaces corrupt or missing files if none of these methods have worked. It works well in most cases where the problem is due to system corruption. This tool will also optimize your system to maximize performance. It can be downloaded by Clicking Here

Related Video

Scroll to Top