Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Transfer selected keys from old registry file to current Windows XP in


  • Please log in to reply

#1
SoWhy

SoWhy

    Member

  • Member
  • PipPip
  • 15 posts
Hi there,

due to some complete mishap, I was forced to reinstall Windows XP. Before doing so, I did a system backup, so I could restore all files. The problem is the registry. Due to the new install, many applications will not report as installed and request that I install them anew. But I got a copy of the old registry file (system32\config\software) in the backup. Is there any program that would allow me to edit this file and export those keys I need to my current registry?

Regards
SoWhy
  • 0

Advertisements


#2
Broni

Broni

    Kraków my love :)

  • Member
  • PipPipPipPipPipPipPipPip
  • 12,300 posts
It won't work that way. Programs have to be reinstalled.
  • 0

#3
SoWhy

SoWhy

    Member

  • Topic Starter
  • Member
  • PipPip
  • 15 posts
Is there really no program to view this file and save parts of it to *.reg files?
  • 0

#4
123Runner

123Runner

    Member 4k

  • Member
  • PipPipPipPipPipPipPip
  • 4,527 posts
Not unless you really want to mess up the OS. The registry is the "brains" and messing with that will mess up the OS and programs.
Programs are meant to install and when that happens, the "keys" are placed where they need to be.
  • 0

#5
SoWhy

SoWhy

    Member

  • Topic Starter
  • Member
  • PipPip
  • 15 posts
Well, but many keys just contain information like install path etc. which tell the program that they are installed, nothing more. Warcraft III for example refuses to run when a certain key is not in the registry but runs fine if that key is added.

Anyway, I found a way to do it, I will post it here in case anyone else finds the need to do the same:
  • Open registry editor (Start => Run => "regedit")
  • Select HKEY_LOCAL_MACHINE
  • File => Load Hive. Select the "software" file from the old WINDOWS\SYSTEM32\CONFIG folder (not the current installation, the one you backed up before)
  • Enter a name you want (like "software.old", just not "software")
  • Now you can remove any entries you don't want to transfer from the "software.old" key you just added
  • Once you did so, select it and choose File => Export and save it as a file (e.g. software.old.reg)
  • Open this file in an advanced text editor (notepad won't work, EditPlus or similar does - if you see many spaces between characters, it's not working) and search+replace "software.old" with "software"
  • Use File => Import in the registry editor to import the file into your current registry

Regards
SoWhy
  • 0

#6
123Runner

123Runner

    Member 4k

  • Member
  • PipPipPipPipPipPipPip
  • 4,527 posts
NOTE: We at Geeks to Go do not recommend editing the registry unless suggested by a trained member/staff. And when it is suggested, they will have you back up the registry first.
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP