Windows 7: How to view/split/extract or convert very large .reg files?

1

On Windows 7 x64 SP1 Home Prem

Have very large .reg files (over 400MB) that were created by exporting from Regedit. Files too large even for Notepad++.

Need a way to extract or view portions of the files. These are historical snapshots of the registry, so re-creating them isn't possible.

The ideal would be a tool that can display it like RegEdit but without changing the actual registry.

Or, a way to split them into smaller .reg files that Notepad++ can read.

Or, a way to convert the .reg files to HIVE format, since I do have ways to extract from large HIVE files.

I'm so desperate I'll even go for a Cmd line tool to grope my way through, but these are unicode files so even FINDSTR won't work. I've tried using MORE cmd (yes I'm THAT desperate) but it would take days.

Any ideas?

user743372

Posted 2017-06-28T23:50:22.037

Reputation: 11

Answers

0

For command line tools, use type to handle Unicode in combination with findstr.

So do something like this:

type myfile.txt | findstr "what I want to find"

Or, consider grepWin, which has a slew of options to search a file on Windows. - http://stefanstools.sourceforge.net/grepWin.html

Josh Wonser

Posted 2017-06-28T23:50:22.037

Reputation: 1

VERY nice trick. And it ran faster than I expected. (I did TYPE My.reg|FINDSTR /B /N /C:"[HKEY" to get a sort of table-of-contents, which is a big step...) Will also look into grepWin. Thank you. – user743372 – 2017-06-29T15:49:39.297