any useful tools for merging lots of *.reg files into one master reg file?


x509

Well-known member
Member
VIP
Local time
2:12 AM
Posts
130
Location
Western USA
OS
Windows 11
I'm beginning to accumulate a bunch of reg files that I would want to apply to all my Win 11 installs (4 and counting),. It would be nice to have just one reg file to "rule them all."

I know I can do this with brute force copying and pasting, but I was wondering if there is some tool into which I could feed all the reg files and get this one master file

Same question for PS1 commands.

Thanks in advance.

2H23 V 22631.4890
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    home built
    CPU
    AMD 7900x
    Motherboard
    ASUS AMD x670E ROG Strix E-A
    Memory
    64 GB
    Graphics Card(s)
    Nvidia 3060 Ti (but wanting to upgrade)
    Sound Card
    built-in
    Monitor(s) Displays
    Dell 24"
    Cooling
    AIO for CPU, fans for case
    Keyboard
    Das Keyboard 4
    Mouse
    Corsair M65 (white)
    Browser
    Firefox
    Antivirus
    Bitdefender
    Other Info
    Also have Lenovo T14S laptop (me) and Lenovo Slim 71 (wife)
Winaero Tweaker has a section where you can do that. I use it all the time.

Accessible under "Tools”

  1. Open Winaero Tweaker.
  2. Go to "Tools" in the main menu.
  3. Select "Merge Reg Files".
  4. Add the desired registry files to the tool.
  5. Click the "Merge" button to combine the files.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build 22631.5039
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    4 x LG 23MP75 - 2 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    100/40Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.
Just for your notes, you can also use powershell to import all reg files with a folder/directory at once:

Save as a .bat file:
Code:
<# :
  @echo off
    powershell /nologo /noprofile /command ^
        "&{[ScriptBlock]::Create((cat """%~f0""") -join [Char[]]10).Invoke(@(&{$args}%*))}"
  exit /b
#>

    $regFiles  = Get-ChildItem 'C:\PathHere\*.reg'
        foreach ($file in $regFiles) {
          reg import $file
         }

Or just for powershell/ .ps1:
Code:
$regFiles  = Get-ChildItem 'C:\PathHere\*.reg'
        foreach ($file in $regFiles) {
          reg import $file
         }

Replace PathHere with actual path, but keep *.reg at the end
 

My Computer

System One

  • OS
    Windows 11 Pro
Back
Top Bottom