Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How can I export entire Win 7 registry via cmd.exe?

23 Sep 2015   #1
user0x12

Windows 7 64-bit
 
 
How can I export entire Win 7 registry via cmd.exe?

Hello,

I know that via cmd.exe "reg export" can export individual root and sub keys to folder locations as files, but how can I export the entire registry through this method? I know it can be done through GUI via regedit.exe by clicking export.

Thanks.


My System SpecsSystem Spec
.
25 Sep 2015   #2
cyclops

Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

To transparently export the registry to a text file, click Start, in the search box, copy and paste regedit /e c:\output.txt , and then click OK.
File named output will be created on C drive
You're done, see attached pdf
Save that in a safe place and rename it as you wish.
Be carefule if you plan on messing with your registry!!!!!!
My System SpecsSystem Spec
25 Sep 2015   #3
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by user0x12 View Post
...how can I export the entire registry...
Quote   Quote: Originally Posted by cyclops View Post
To transparently export the registry to a text file, click Start, in the search box, copy and paste regedit /e c:\output.txt , and then click OK....
But that will not export the entire registry.

Open the output and you will probably see nothing under [HKEY_LOCAL_MACHINE\SAM]

There are many area that are not available to a user. Even an admin user. If you want to export the SAM key, your command prompt needs to be running with System credentials.

And there are hives that the registry does not normally open... like the user hive for those not currently logged on.
My System SpecsSystem Spec
.

25 Sep 2015   #4
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

user0x12 I'm surly no expert on such things but I did find a tutorial by Brink that might help you. Give it a good read.

Registry - Backup and Restore
My System SpecsSystem Spec
25 Sep 2015   #5
cyclops

Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Well All, the output file has been in the analyzing mode for 10 minutes using Word with unicode format. It is 440mb way too big for notepad. I'll post again later, I'm hungry
My System SpecsSystem Spec
25 Sep 2015   #6
MilesAhead

Windows 7 32 bit
 
 

I use Registry Backup from Tweaking.com. This FAQ
convinced me. It uses Volume Shadow Copy to back up the entire registry even though it is in use. It is simple to use. The backup may take anywhere from 1 to 1 1/2 minutes since it takes awhile for the VSS service to make a snapshot.

I don't think there's any other way to get the whole shooting match without manually just copying all the registry hives. Easy to make a mistake especially if you are a bit up tight because your system has gone weird.
My System SpecsSystem Spec
25 Sep 2015   #7
cyclops

Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Hey All, I am unable to get my word app to successfully open this 440mb file. I have racked my brain non-stop searching ms bulletins and forums. Tried running compatibility mode for XP and vista, no luck. Anyway, I need to spend some time on the phone with a mortgage loan processor and must prioritize that right now. I'll try this on my old xp machine later.
My System SpecsSystem Spec
25 Sep 2015   #8
cyclops

Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Well folks it is true, HKEY_LOCAL_MACHINE\SAM is there but empty.
I did find this http://superuser.com/questions/614165/command-prompt-as-system-user-windows-7
I don't have time to play now, it only took what 2 hours for word to analyze and populate 3.3 million words and it reached the limit for number of pages at 32,524. I won't be doing that again unless it's for me. I thought rendering video edits was a bitch, this sucks.
MilesAhead, I doubt that ERUNT program will accomplish this feat, but I may be entirely wrong.

user0x12, what on earth are you trying to do?
My System SpecsSystem Spec
25 Sep 2015   #9
UsernameIssues

W7 Pro SP1 64bit
 
 

Notepad should have been able to handle opening it.

Mine was the "326" copy file that you see below.

I made that larger ("980") via copy/paste/save...
...then closed notepad and opened the "980" file via double-click.

How can I export entire Win 7 registry via cmd.exe?-notepad.png


I tested with cmd running as System before making my first post to this thread. It does get the SAM keys, but it will miss others.

No one has offered a method using the app that the OP suggested; but I doubt that it can be done. Better ways to backup the entire registry have already been posted. Let's see what the OP's end goal is before spending much more time on this.


My System SpecsSystem Spec
25 Sep 2015   #10
cyclops

Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by UsernameIssues View Post
Notepad should have been able to handle opening it.

Mine was the "326" copy file that you see below.

I made that larger ("980") via copy/paste/save...
...then closed notepad and opened the "980" file via double-click.

Attachment 372349


I tested with cmd running as System before making my first post to this thread. It does get the SAM keys, but it will miss others.

No one has offered a method using the app that the OP suggested; but I doubt that it can be done. Better ways to backup the entire registry have already been posted. Let's see what the OP's end goal is before spending much more time on this.

Well Laddy da da! Just Kidding You got lucky and I need to change the max page # allowed in both apps and figure out how to speed up the analyzing process. Any thoughts? I know more ram and ssd are in the shopping list but I aint spending money while it does not pay me back.
My System SpecsSystem Spec
Reply

 How can I export entire Win 7 registry via cmd.exe?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Registry export to .txt
Hello, I need to export registry key to .txt file by using .bat file, but it's kinda complicated :) Here is what I built if exist %temp%version.txt del /q %temp%\version.txt regedit /e %temp%\version.txt "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Version Vector"
General Discussion
export registry
I have 2 hdd, a}hdd 160 giga-win 7 b) hdd 250 giga win 7 Note The program content of hdd a not same with hdd b Can I export reg file from hdd b and merge it to hdd a ?? I do that because hdd a running in unormaly and hdd b run win7 smooth and very normal with no problem....
Backup and Restore
Can I Read or Export Key from Registry in System Image VHD ?
There is a registry key that I'd like to copy from my old computer to my new computer (both Win7 Pro x64). But the old computer only exists as a System Image (VHD file). I can mount the VHD and access the old filesystem - I have copied several critical files from the old to the new this way. ...
Backup and Restore
How to export a registry settings for some applications?
Hi, can you please, explain how to export a registry settings for some applications (in my example only for Windows Sidebar-Gadgets and Windows Mail)? Are all of the registry keys for those applications in HKEY_LOCAL_MACHINE i.e. or man must some more registry keys export? Thx.
General Discussion
How to export command prompt settings frm the registry?
Hello, I configured the command prompt window (size, colors, position) and now want to export this settings from the registry to save them in a reg file for later use on other computers. These setting do get saved somewhere in the registry but I don't remember where (did this on XP a couple of...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 06:08.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App