System will not boot or crash with Bugcheck 0xc0000218: Registry error

CAUSE:
In some cases the software hive exceeds 30 MB or higher.

RESOLUTION:
We've seen the case where we got multiple keys under the following registry tree

HKEY_LOCAL_MACHINE\Test\Macromedia\ColdFusion\CurrentVersion\Clients

That leads the Software hive to grow enormously and crash the system.

1) Take the backup of the Software hive.
2) Delete the "clients" key and compact the Registry by exporting to (*.hiv) file and replace the existing Software Hive to bring the system back.