Find/replace registry values

  • Thread starter Thread starter Michael Deering
  • Start date Start date
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
 
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]]
 
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]
 
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? ...
 
Back
Top