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: backup registry in command line

14 Sep 2014   #11

Windows 7 Professional x64

I think you made the file name in the location you are saving to the same name as the reg backup.

For example, you may have created a file in C:\Windows called "regbackup" and then used the command:

reg export hkey_local_machine\software\microsoft\windows c:\windows\regbackup

This is what I did at first when I was researching how to create the reg backup.

I deleted the file and ran the cmd again and reg.edit made the backup as a file in C:\Windows

It also came up as an unknown file type at first.

When trying to open use the option "Search through windows" to open the file and then open with notepad.

And there you have it, your file is created.

My System SpecsSystem Spec
15 Sep 2014   #12

Windows 7 Ultimate 64 bit SP1 x64

Might I suggest that if a topic becomes irrelevant within a few days,
it should at some time become automatically locked to prevent accidental resuscitation a few years later
My System SpecsSystem Spec
15 Sep 2014   #13

Windows 10 Pro X64

The forum code should give you a warning if you are replying to a thread that is more than 30 or 60 days old. That would cut down on resurrecting old, dead threads, at least somewhat.
My System SpecsSystem Spec

16 Sep 2014   #14

Windows 7 Professional x64

I felt the need to reply, simply because when I have problems that I can't solve, I search for answers. I did not see the answer I believed to be the solution - so I thought, well if someone else runs into this, they'll probably find this forum and use it to troubleshoot. And if it turns out that was what the user was doing, then I'm sure anyone else who didn't have clarification would be grateful to find the post.

I do apologize for responding to an old thread. I meant no harm.

Furthermore, when posting I was issued a warning about the thread being old, but nowhere did the warning state that this was against forum rules. And so I continued to submit the post because of the reason stated above.
My System SpecsSystem Spec
16 Sep 2014   #15

Windows 10 Pro X64

Good to know there was a warning

I agree with you though that sometimes adding to an old thread could be helpful to someone later on who is experiencing a similar problem.
My System SpecsSystem Spec

 backup registry in command line

Thread Tools

Similar help and support threads
Thread Forum
Registry : How to add extension keys through command line
I am looking for some help: I wish to add a new extension key of type .dns If I execute : reg add HKEY_CLASSES_ROOT\.dns Then the key .dns does not get added to HKEY_CLASSES_ROOT but somewhere in HKEY_CURRENT_USER ? How do I get the command to add the .dns key to HKEY_CLASSES_ROOT ?...
General Discussion
add folders in indexing options using registry or command line?
Hello, I'm trying to add folders in the indexing options by using either registry or command lines. This is for an unattended silent install. Any ideas ? Thanks.
Performance & Maintenance
How can I set this via command-line or registry?
How can I set this via command-line or registry? I need a way to automatically launch "Explorer c:\folder\myfolder" with a view appropriate for long filenames on any Windows Vista/Win7 PC.
Registry Editing from Command Line
So I am trying to delete some keys from the registry using command line, eventually I am going to turn it into a batch file because it is something I may have to do frequently. Basically I want to delete a folder full of registry keys without having to list every key individually. Anyone have an...
General Discussion
Command line Registry Permission
I found a lot of articles on how to gain full control over a registry key but nothing worked for me. So guys can you help Me?
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:46.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App