Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3776
  • Last Modified:

Run regedit on an external drive

I have an external drive (actually an Acronis backup - it plugs in like a drive). I want to run regedit on that drive.

Does anyone know how to?

Eddy
0
ESQuicksall
Asked:
ESQuicksall
  • 3
  • 2
  • 2
  • +2
1 Solution
 
cyberdevil67Commented:
Hi ESQuicksall,

 Do you boot of that drive, if not you will only ever rung regedit on the c:\ drive or boot drive. So what this means is that unless you can boot of that drive then the answer is no as the registry is always on your boot drive.

Cheers!
0
 
sj_hicksCommented:
You can load a registry hive from a file using regedit then edit it from there:
1) Open regedit
2) Select the HKEY_USERS hive
3) Select File / Load Hive
4) Select the registry file (NTUSER.DAT in user profile dir for user's HKEY_CURRENT_USER or a file in <drive>:windows\system32\config for the other hives
5) Specifiy a temporary name
6) The registry will now be accessible under HKJEY_USERS\<temporary name>.  Make changes or extract data as rquired
7) Select File / Unload Hive when finished making changes
0
 
MereteCommented:
regedit belongs to windows and is the tool that accesses all the stored information loaded from master hdd . Registry is basically a database which stores all the information as to how windows will operate. It stores all the actions that has to be performed on a particular command.

As cyberdevil67  briefly stated the master boot hdd is the one windowsxp is installed on, now that you understand what a regestry is we then ask you is this external hdd a master or a slave? you cannot enter regedit on a slave as it does not use windows.
0
 
sirbountyCommented:
Agree with the above.
You can open certain keys of a 'remote' registry if you're accessing another system's boot partition, but you won't be able to do this on an external drive if it doesn't contain your boot partition.

What are you trying to accomplish?  Perhaps there's another way...
0
 
ESQuicksallAuthor Commented:
To answer some questions:
1) it is an Acronis backup of a C drive
2) it is a boot partition
3) I am trying to get some registery information from HKEY_LOCAL_MACHINE\SOFTWARE\...

sj_hicks
Your procedure seems to be on the right track. But I get an error saying "Cannot Load F:\Documents and Settings\<user_name>\NTUSER.DAT: Error while loading hive".

Here is what I did:
steps 1-3 as you have stated
step 4: Selected HKEY_LOCAL_MACHINE in the list of hives
           Selected File and Load Hives
           Navegated to drive F:\Documents and Settings\<user_name>
           Selected NTUSER.DAT
           It brought up a dialig for "Load Hive" and wanted a "Key Name"
           I entered HKEY_LOCAL_MACHINE
           I got the error message above
0
 
sj_hicksCommented:
Instead of selecting HKEY_LOCAL_MACHINE when you try to load the hive, select HKEY_USERS.  Select the file F:\Windows\System32\Config\Software (this is the HKLM\Software hive).  When promted for the key name, enter something unique like "TempSoftware".  Doesn't matter what it is, but is needs to be unique.  Then to look at the keys in the loaded hive, browse HKEY_USERS\TempSoftware.  It will actually be browsing the hive on the F: drive.  You should then be able to view/export/modify keys and values as necessary.  Ensure you unload TempSoftware when you're done.
0
 
sirbountyCommented:
You've done this before sj_hicks?
Cause in all my years, I don't recall this being a method to access a 'dead' registry (ie not on a boot partition).
I'll be amazed if it does...(plus I'll have learned something new :)
0
 
ESQuicksallAuthor Commented:
Thanks,

That worked. The whole problem seems to be that an Acronis backup mounted as "drive F" causes the read problem. Now I'm wondering if Windows needs to write on the remote drive to use this feature. Note that a mounted Acronis backup is non-writable ... otherwise it seems to be exactly like a real drive.

Eddy
0
 
sj_hicksCommented:
sirbounty, have done this many times.  Usually when wanting to modify the registry in a ghost file - extract the appropriate registry file and modify it as shown above then insert it back into the image.  Won't work it the registry hive file is corrupted though.
0
  • 3
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now