How access and edit a registry of a non primary drive

Published on
8,758 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.

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

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Join & Write a Comment

Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
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