search replace in registry via command line

I need a command line utility that will search the registy for a value and then change the data for the value.

example:

Search registry for LVCAM_Mirror_Y which is set to 0 and I want to set it to 1,  where ever that particular value is in the registry I want to set the value to 1.


I do not want to have to know where it is I just want to do a search/replace.

Thanks!

Randy
LVL 6
rjohnsonjrAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

LongbowCommented:
http://articulate-pr.com/RegSearch/REGSRCH.HTM
http://www.funduc.com/registry_toolkit.htm
http://bladesdev.com/regreplace.htm
http://4developers.com/regc/

You can also type reg.exe /? in a dos box.
This tool can help you but you need to know where your data is stored.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TheDefiantCommented:
There's a utility provided on the Windows 2000 Resource Kit CD, and maybe even available for download from the Windows 2000 Resource Kit website, that you can use for searching the Registry to display any matching keys or values.
0
TheDefiantCommented:
Forgot to mention...

Once found, you could use the FIND command (internal command of CMD) to find lines matching what you're looking for.  At this time, I'm not certain if the registry search tool from the ResKit CD has output options to make it easy to use a batch file, or similar, to generate an appropriate Registry file to make the change.

If you need to delete a specific key in the Registry, prepend the name with a minus (-), ie:
[-HKEY_LOCAL_MACHINE\SOFTWARE\MyApp\Some_Other_Key]

Or for values:
[HKEY_LOCAL_MACHINE\SOFTWARE\MyApp\Some_Other_Key]
-"ValueToRemove"
0
rjohnsonjrAuthor Commented:
Thanks I will get these tested today or monday and let you know how it goes.  Thank  you for being so thorough :-)

Randy
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 2000

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.