DelphiFAQ Home Search:

Search and Replace in the Windows registry

 

commentsThis article has not been rated yet. After reading, feel free to leave comments and 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:

 

 

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.
 
It seems that you are
from Washington, US .

Info/ Feedback on this

Show city and country
Show country only
Hide my location
Leave your comment here:
Please type in the code:
photo Add a picture:

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.