Recover from a fragmented or corrupted SYSTEM hive file
Takeaway: If you can't boot your system because of a corrupted hive file, all is not lost. Windows 2000 Professional columnist Jim Boyce shows you how to use the registry to recover.
The Windows 2000 registry comprises a handful of hive files located in the %systemroot%\System32\Config folder. When Windows 2000 starts, it builds the registry from these files. One of the registry files is the SYSTEM hive, and a corrupted or fragmented SYSTEM hive can prevent the system from booting.
When the system first boots, it's limited to 16 MB of memory. A highly fragmented SYSTEM hive can cause the maximum amount of memory to be exceeded, thereby preventing the system from booting. Defragmenting the file can be a quick fix. You can defragment the system drive inside of Windows 2000, which is a good reason to do it on a regular basis; but if your system has sufficient contiguous free space, you can overcome the problem through the Recovery Console (RC).
- Boot the system to the RC and then use the CD command to change to the %systemroot%\System32\Config folder.
- Rename the existing SYSTEM file to SYSTEM.OLD.
- Use the command COPY SYSTEM.OLD SYSTEM to create a new, unfragmented copy of the SYSTEM hive.
- Exit the RC to restart the system.
If creating an unfragmented copy of the SYSTEM hive doesn’t fix the problem, it’s possible that the SYSTEM hive file is corrupted. If you have a good version backed up in the %systemroot%\Repair or %systemroot%\Repair\Regback folder, boot to the RC again and then copy the backup SYSTEM hive file to the %systemroot%\System32\Config folder.
Note: As always, we'll remind you that editing the registry can be risky, so be sure you have a verified backup before making any changes.
Miss a column?
Check out the Windows 2000 Professional archive, and catch up on Jim Boyce's column.
Want more Win2K tips and tricks? Automatically sign up for our free Windows 2000 Professional newsletter, delivered each Tuesday!
Print/View all Posts Comments on this article
SponsoredWhite Papers, Webcasts, and Downloads
- Hardware Neutral Imaging with ImageX: The Ghost Killer Global Knowledge
- Solving the Mysteries of Subnetting Global Knowledge
- WPA2 Security: Choosing the Right WLAN Authentication Method for Homes and Enterprises Global Knowledge
- The OSI Model: Understanding the Seven Layers of Computer Networks Global Knowledge
- The Case for Virtual Local Area Networks (VLANs) Global Knowledge
Article Categories
- Security
- Security Solutions, IT Locksmith
- Networking and Communications
- E-mail Administration NetNote, Cisco Routers and Switches
- CIO and IT Management
- Project Management, CIO Issues, Strategies that Scale
- Desktops, Laptops & OS
- Windows 2000 Professional, Microsoft Word, Microsoft Excel, Microsoft Access, Windows XP,
- Data Management
- Oracle, SQL Server
- Servers
- Windows NT, Linux NetNote, Windows Server 2003
- Career Development
- Geek Trivia
- Software/Web Development
- Web Development Zone, Visual Basic, .NET





