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: Can you combine several different *.reg files into one reg file

05 Sep 2011   #1

Windows 7 Pro 64bit SP1
Can you combine several different *.reg files into one reg file

I have a couple dozen three or four line separate reg there a way to "auto-combine" these separate reg files into one complete reg file containing all the keys, I don't have to import each reg file separately into the main registry ?

Or do I have to copy/paste each separate key, etc...into one main reg file via notepad ??


My System SpecsSystem Spec
05 Sep 2011   #2

Windows 10 Pro X64

Sure. All the .reg files start with Windows Registry Editor Version 5.00, a blank line and then the data.

Start a new AllInOne.reg file in notepad.
Copy and paste the first one completely.
Copy and paste each of the other .reg files below that, skipping the Windows Registry Editor Version 5.00 line.

Backup the registry then merge the AllInOne.reg file then check each key to make sure you got what you expected.

To backup the registry, start regedit.
Select Computer at the top.
Click on File then Export.

I did this on my Win 7 Pro X64 system and it's 311,538KB in size.

To restore select File then Import and point to the one you exported. Reboot after.
My System SpecsSystem Spec
27 Feb 2017   #3


i dont understand how a text file coul be 311mb .. all a registry backup is is a bunch of text in a .reg text file

i actually was wondering how to do the same thing but a little differently

i want to add ethernet with a value of 2 if it has a value of 1 and 1 if it has a value of 2

right now i am accomplishing this with 2 separate .reg files, i was wondering if .reg files accepted code commands of any kind and if so which command would i use instead of IF
i noticed if i try to put an if or else statement or a while loop it ignores the commands and just posted the first registry key into the database

edit: is using a batch file with reg delete and reg add commands the only way or can i do this directly in a .reg file?

and wht a coincidence that untill i edited this i was viewing and posted at the exact same time as Zturker only 2002 days later! neato lmao
My System SpecsSystem Spec


 Can you combine several different *.reg files into one reg file

Thread Tools

Similar help and support threads
Thread Forum
All in One Windows combine
Hello All, Let me ask you that, If i have 3 trail version of Windows 7(Standard, Premium, Home) and i want to combine it into one flash drive or DVD that i can select each Windows that i prefer to install, so how can? Anyway, If i have other difference version of Windows as XP, 7 and 8 so do...
Installation & Setup
How to combine two fonts?
Hello! I have two fonts file ( same font, new and older version). I want to edit one ftf font file and import older font selected few characters to the new one. How do I do it? What is the good application to that? Actually I want to edit "DroidSanFallback" font new and older files. Older...
Combine 2 HD's
I would like to combine the HD in my tower with my external HD to make a more powerful HD. Yes?
Hardware & Devices
How to create a batch file that will move files based on the file type
How to create a batch file that will move files based on the file type? My Requirement : I need a batch file to copy all .doc files in all my HardDisk to a removable disk say (Z: drive) . Can anyone make it possible using a batch file?Please...Its urgent...
General Discussion
combine two .avi files
Is it possible to combine two .avi files from the same movie? e.g. I have Simpson's Movie.avi (file-1) and Simpson's Movie.avi (file-2), Now what I would like to do is to watch these continously without having to open the 2nd avi file from its folder after playing the 1st avi file. :)
Music, Pictures & Video

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 09:17.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App