Re: Merge registry settings on a different machine?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Ralph,

Your "local registry" is nothing more than a database stored in a few registry hives (system, software, etc.).
The target device registry structure is the same.

RegEdit tool allows you to load and operate on any registry hive (version 5 and higher).

So what you do is - you load your target PC hive in RegEdit (you have to assign it a subkey name under HKLM to be able to work with
it in regedit), make necessary modifications in that hive, unload hive (File menu) or simply close regedit and reboot.

These operations on a remote hive (target PC hive) have no affect on your local registry at all.

Merging .reg files into a custom loaded hive (the remote hive loaded in regedit) is a little bit tricky. You have to make sure you
work with the proper registry paths in the .reg file (e.g., if you load System hive the registry paths must start with HKLM\System)
and you will have to add the name of the subkey you typed in when you loaded that hive in regkey to all the reg.paths in that .reg
file.
For instance, you loaded System hive in regedit and assigned it name Test.
If your reg file contains the following key:
[HKEY_LOCAL_MACHINE\System\MountedDevices]
it will have to be converted to:
[HKEY_LOCAL_MACHINE\Test\System\MountedDevices]

Hope this helps.

--
=========
Regards,
KM

"KM" <konstmor@xxxxxxxxxxxxxxxx> wrote:

Ralph,

Yes, it is possible. Nothing special though. Just use Regedit.exe from XP Pro.
Select Local Machine Hive node in regedit and go to and select File-->Load Hive menu where you can browse to the runtime image
hives
on your CF card.

Hmmm, I see. But what does happen then? I have to enter a name of a
key, but what then? I do not want to mess my local registry, just want
to open a "remote" registry, merge some .reg-files into it and save it
again. Is somewhere a kind of how-to available, how this can be done?

Ralph.


.



Relevant Pages

  • RE: BSOD due to base????32
    ... How do you work on the registry of the secondary drive? ... When I open regedit ... all you have to do is: click on start, run: type in regedit once in the ... have access to where the hives are stored, for XP it will be in the ...
    (microsoft.public.security.virus)
  • RE: for..in..do
    ... ' Configures the registry settings. ... ' Loads the individual user profile hives and configures needed USER ... Dim strUserSID, Subfolder, UserPaths, strRegPath, strRegistryHive, ... registry, import the reg file, then unload the reg hive. ...
    (microsoft.public.scripting.vbscript)
  • Re: Storing persistent configuration on separate partition using RegLoadKey
    ... it would be beneficial to move to use an application profile that can be moved around much easier that registry ... is the only EWF protected partition and is about ... >> store persistent configuration information in a file on the D: ... >> the registry since one can only load hives directly under HKLM or HKU ...
    (microsoft.public.windowsxp.embedded)
  • Re: ROM-only FS and persisting registry on USB HD
    ... ; END HIVE BOOT SECTION ... comments in your registry. ... Therefore, you have to have your USB host controller's driver settings, ... been generated, registry hives are there, but the windows folder is not ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Storing persistent configuration on separate partition using RegLoadKey
    ... I can solve this trough driver, basically it is should be simple. ... >> from certain registry branches that you use to some virtual paths for ... We are planning to use RAM EWF ... >>> the registry since one can only load hives directly under HKLM or ...
    (microsoft.public.windowsxp.embedded)