search saved regsitry

  • Thread starter Thread starter Ian
  • Start date Start date
I

Ian

Is there a utility available to search through saved registry file?

regfind.exe is good but I cannot input a saved registry file to it. It
searches live registry?

I have looked at sed but looks complicated. Please let me know if there
is any equivalent program...


Ian
 
In said:
Is there a utility available to search through saved registry
file?

Do you mean a binary hive file? If so, one can "load" the file in
regedt32 (regedit on XP) and then search via regedit.exe (GUI).

Or see: reg.exe /load
(and /unload) (CLI)

Perhaps that helps, or not. More about your task, OS, "registry
file", etc. may be useful.
regfind.exe is good but I cannot input a saved registry file to
it. It searches live registry?

I have looked at sed but looks complicated. Please let me know
if there is any equivalent program...

Now I wonder if you mean .REG text files...
 
Thanks Mark.

I mean a binary hive file with .reg extension. For example, I have a
registry file named "registry 7-14.reg" which is from a windows 2000
box. When I tried regedit on my XP box with the following command:

regedit "registry 7-14.reg"
It says, "Are you sure you want to add information in registry 7-14.reg
to registry"
I say no because I do not want to add this windows 2000 registry info
into my XP registry.
Is there something else I am doing wrong.
When I tried the reg command, it gave the following error...

C:\data>reg /load "registry 7-14.reg"

Error: Bad operation. Use /? for help

I actually do not want to add this registry to my XP box. This is
critical. I just want to view it . Thanks
 
Ian said:
I mean a binary hive file with .reg extension.

Believe it or not, Notepad is your friend.

Every Registry export (.reg) file /I've/ ever met was plain text - unicode
perhaps, but human-readible text, all the same.

From RegEdit's help, under "Exporting"
"You can use any /text editor/ to work with the registry files you
create by exporting. "
("italics" mine).

HTH,
Phill W.
 
In said:
Thanks Mark.

I mean a binary hive file with .reg extension. For example, I
have a registry file named "registry 7-14.reg" which is from a
windows 2000 box. When I tried regedit on my XP box with the
following command:

I think you must have a TEXT file in REGEDIT4 or 5 (UNICODE)
format. In that case any plain text editor (notepad as Phill
mentions) or viewer utility will do.
regedit "registry 7-14.reg"
It says, "Are you sure you want to add information in registry
7-14.reg to registry"

Yes, because the default action for .REG/regfile is set to "merge"
the file. Change it via Folder Options File Types if you wish, or
just open it in notepad.
I say no because I do not want to add this windows 2000 registry
info into my XP registry.
Is there something else I am doing wrong.
When I tried the reg command, it gave the following error...

C:\data>reg /load "registry 7-14.reg"

reg.exe /load is for binary registry files in that usage. Also
different versions of reg.exe have somewhat different syntax. But
I don't think your file is anything but text as far as I can tell.
Error: Bad operation. Use /? for help

I actually do not want to add this registry to my XP box. This
is critical. I just want to view it . Thanks

notepad c:\data\filename.reg
 
Back
Top