Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


How access and edit a registry of a non primary drive

Published on
8,603 Points
1 Endorsement
Last Modified:
Have you ever had a hard drive that you can't boot into, but need to change the registry? Here is the solution!
This article guides you through accessing and editing a registry of a non-primary drive.

To read registry information on a non-primary hard drive, follow these steps:

Make sure that the drive is assigned to a drive letter. (http://support.microsoft.com/kb/307844)

You will first of all need to back up the registry, this is an important step for whenever your work with the registry, no matter of experience – we can all make mistakes!

To Make a Backup of the Registry:
With the computer at the desktop, load up the Registry Editor by pressing start>run, then type regedit. With the regedit window now open, go to File>Export and save it as “regbackup” in the desktop.
Now that the registry has been backed up, we can continue.

Select HKEY_LOCAL_MACHINE in the left hand pane.
Click the File menu and choose Load Hive...
This will bring up a window where you will need to browse to the drive for which you want to access the registry. The location will be “x:\WINDOWS\System32\config\” where x is the mapped letter of the drive you wish to access. Select the “System” or “Software” file – one which does not have any suffixes.  Type a distinguishable name and click Open to open the hive.

When you have finished editing the registry, click File and choose Unload Hive. This will save the changes you have made to the original registry files.

Or if you'd rather follow step by step instructions:

1) Load up the Registry Editor (regedit.exe)
2) Click "HKEY_LOCAL_MACHINE" in the left pane.

3) Click the File menu and choose Load Hive

4) Browse to the non-primary hard drive's "%SystemRoot%\system32\config" directory from the "Load Hive" dialog box.

5) Click to select the "System" or "Software" file (no file suffixes) to open the respective registry hives. Type a temporary and distinguishable name and click "Open" to open the hive.

6) Click the File menu and choose Unload Hive when you have finished editing the non-primary drive's registry.
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Administrative Comment

by:Eric AKA Netminder

Congratulations! Your article has been published.

Page Editor

Expert Comment

by:Ivan Frey
Shouldn't you back up the registry of the non-primary hard drive after it is loaded?

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Join & Write a Comment

This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month