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

Page 1 of 2 12 LastLast

  1. Posts : 15
    Windows 7 64-bit
       #1

    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 Computer


  2. Posts : 543
    Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
       #2

    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!!!!!!
    Last edited by cyclops; 30 Nov 2015 at 09:55.
      My Computer


  3. Posts : 10,485
    W7 Pro SP1 64bit
       #3

    user0x12 said:
    ...how can I export the entire registry...
    cyclops said:
    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 Computer


  4. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #4

    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 Computer


  5. Posts : 543
    Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
       #5

    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 Computer


  6. Posts : 5,092
    Windows 7 32 bit
       #6

    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 Computer


  7. Posts : 543
    Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
       #7

    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 Computer


  8. Posts : 543
    Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
       #8

    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?
    Last edited by cyclops; 25 Sep 2015 at 14:22. Reason: adding info
      My Computer


  9. Posts : 10,485
    W7 Pro SP1 64bit
       #9

    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 Computer


  10. Posts : 543
    Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
       #10

    UsernameIssues said:
    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.

    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 Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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 23:12.
Find Us