Script to export windows registry...

nakedpeanut

Expert Member
Joined
Dec 18, 2009
Messages
3,522
Reaction score
3
Location
JHB
Hi all, I'd like to export a particular tree from the windows registry (Windows 7 x64)..
Local machine\system\controlset\enum and all of it's sub-trees.

So is there a particular command i could run in windows to do this?
Are there special flags i could use when running regedit?
Or maybe a particular scripting language i could use?

I've started coding a solution to do it and basically finished it, But a script to dump that would better suit my needs.


Any advise would be appreciated :)
 
Doesn't look like regedit handles any switches, you don't want to just right click and export that tree?
Otherwise you can look into using windows powershell to script something.
 
I found visual basic scripting to be perfect, in that it scans for registry changes, but not returning what the changes were! :(
 
Last edited:
Just use reg.exe - it's a command line util that will do what you need. Included with Windows.
 
Top
Sign up to the MyBroadband newsletter
X