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
3 Weeks Ago   #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
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
Combine PC, 360 and Wii on 1 monitor
Hi. I have a Dell E207WFP monitor running 1680x1050. I am using this to allow me to switch between my PC and Wii on the monitor (Wii doesn't have VGA output, so I had to buy that box). I also have an XBOX 360, and whenever I want to play that on my monitor I have to unplug the Wii VGA from the...
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
Combine between two themes ?
Ok here is the thing , how could i take the clock from this thaimpact theme and put it into another theme ( official theme pack for example ) , any ideas ?! Also is there any way or software to customize things like this ( clock font & size , taskbar...etc) ? Thx in advance for any help , much...
Themes and Styles

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