Jump to content

[Essential Tutorial] How to Restore Registry Hives on Windows 7 (Updated)


Recommended Posts



There will be situation where Windows 7 won’t boot and Startup Repair won’t do any good do fix it. Sometime corrupted Registry Hives can cause problem. In this article I’ll explain you how to restore Registry Hives on Windows 7.


Step 1:

Insert the Windows 7 Installation or Repair disk into your drive and reboot the System if you don’t have the Repair disk you can create one by following this tutorial:



Step 2:

Then you’ll be prompted to “Press any key to boot from disk” so go ahead and press Enter


Step 3:

Then it will give you language selection option click Next


Step 4:

Then you’ll find and option to “Repair your Computer


Step 5:

Then you’ll be prompted to Select the Operating System i.e. Windows 7, select that and click Next

Note: Some occasions you’ll not find any operating system listed. Don’t panic just click Next


Step 6:

Now click on “Command Prompt


Step 7:

Under command prompt type in C: and press enter (Assuming C drive is Windows installation folder)

Type in cd Windows\System32\Config and press Enter

Then type in MD Temp and press Enter. Command prompt will flash once.

Step 8:

Then lets make a backup of these files. Enter the following commands

copy BCD-Template Temp and Press Enter

copy COMPONENTS Temp and Press Enter

copy DEFAULT Temp and Press Enter

copy SAM Temp and Press Enter

copy SECURITY Temp and Press Enter

copy SOFTWARE Temp and Press Enter

copy SYSTEM Temp and Press Enter


Step: 9

Then type in the following commands

ren BCD-Template BCD-Template.bak and Press Enter

ren COMPONENTS COMPONENTS.bak and Press Enter

ren DEFAULT DEFAULT.bak and Press Enter

ren SAM SAM.bak and Press Enter

ren SOFTWARE SOFTWARE.bak and Press Enter

ren SECURTY SECURITY.bak and Press Enter

ren SYSTEM SYSTEM.bak and Press Enter


Step 10:

Then type in the following commands

copy C:\Windows\System32\Config\Regback\BCD-Template C:\Windows\System32\Config\BCD-Template  and Press Enter

copy C:\Windows\System32\Config\Regback\COMPONENTS C:\Windows\System32\Config\COMPONENTS  and Press Enter

copy C:\Windows\System32\Config\Regback\DEFAULT C:\Windows\System32\Config\DEFAULT  and Press Enter

copy C:\Windows\System32\Config\Regback\SAM C:\Windows\System32\Config\SAM  and Press Enter

copy C:\Windows\System32\Config\Regback\SECURITY C:\Windows\System32\Config\SECURITY  and Press Enter

copy C:\Windows\System32\Config\Regback\SOFTWARE C:\Windows\System32\Config\SOFTWARE  and Press Enter

copy C:\Windows\System32\Config\Regback\SYSTEM C:\Windows\System32\Config\SYSTEM  and Press Enter


CD Regback

cd *.* ..

Step 11:

Now type in Exit and Click on Restart

Note: This tutorial it may make your OS corrupted if done incorrectly (Dangerous)

Difficulty : Advanced


Edited by emerglines
Updated this post.
Link to comment
Share on other sites

  • Replies 6
  • Views 2.7k
  • Created
  • Last Reply

Top Posters In This Topic

  • emerglines


  • shamu726


  • user@nsaneforums


  • truemate


  • 4 weeks later...

if you don’t have the Repair disk you could download it from Download Windows 7 System Recovery Discs : The NeoSmart Files.

Those recovery disks are only available for purchase. No free downloads.

I will provide you a link

Edited by emerglines
Link to comment
Share on other sites

  • 2 years later...

Updated also corrected some stuff, including system repair Discs creation.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...