Find/replace registry values

M

Michael Deering

Anyone know of a way to search for a specific value in all registry keys and
replace them?

On many systems in my company, the company name was mispelled during
software installations, I must fix it. I would like to do this with VBS if
possible. Or import a reg file. But as there is no assurance that the key
will actually exist on a given machine, I can't have it error out on the
users.

Thanks,
Mike
 
S

Scott Losawyer

Regfind from the resource kit.

regfind /?
usage: REGFIND [-h hivefile hiveroot | -w Win95 Directory | -m
\\machinename]
[-i n] [-o outputWidth]
[-p RegistryKeyPath] [-z | -t DataType] [-b | -B] [-y] [-n]
[searchString [-r ReplacementString]]
 
G

Guest

Hi Scott

Could you pls elaborate on hivefile and hiveroot part of the REGFIND syntax....... I am realluy confused with it

I want to search and replace HKLM\Software\Microsoft\Windows\CurrentVersion\DevicePath registry key with certain data

Thanks in advance

Rites

----- Scott Losawyer wrote: ----

Regfind from the resource kit

regfind /
usage: REGFIND [-h hivefile hiveroot | -w Win95 Directory | -
\\machinename
[-i n] [-o outputWidth
[-p RegistryKeyPath] [-z | -t DataType] [-b | -B] [-y] [-n
[searchString [-r ReplacementString]
 
M

Mark V

In microsoft.public.win2000.registry =?Utf-8?B?Uml0ZXNoIE1laHRh?=
wrote:
Hi Scott,

Could you pls elaborate on hivefile and hiveroot part of the
REGFIND syntax....... I am realluy confused with it.

I want to search and replace
HKLM\Software\Microsoft\Windows\CurrentVersion\DevicePath registry
key with certain data.
[ ]

regfind.exe /? gives the usage. I don't/haven't used regfind from
the Resource Kit since W9x. Perhaps if you say exactly what you need
(Fully qualified registry paths/data) ... there is a better way.

reg.exe OS? Logged account authority? Local changes? ...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top