DelphiFAQ Home Search:

Search and Replace in the Windows registry

 

comments1 comments. Current rating: 4 stars (1 votes). Leave comments and/ or rate it.

Question:

How can I do a (repeated) search and replace in the Windows registry? The registry editor regedit.exe seems not to have such a menu item.

Answer:

Go to the branch below you want to do the search and replace, export it to a text file (extension .reg) and open it with Notepad.
Do the search and replace there, then import it back into the registry.

Notes:
  1. You will not be able to import below some keys like HKEY_USERS - which only makes sense.
  2. Obviously this is a very powerful tool and you need to be very careful with where you change, especially if you exported a lot.
  3. There are also freeware tools that allow such a search and replace.
    Try WIC RegistryReplacer from WIC (What I Can)


Comments:

2012-01-28, 17:18:04
jimmyrogers  
rating

 

 

NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.
 

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: