Adding multiple .reg files into a single .reg file?


MK77P

Well-known member
Member
Local time
6:40 AM
Posts
156
OS
Windows 11
I have 26 registry files and want to add them into one single file but I'm not sure how correct I'm doing it.

For example

file #1
Code:
Windows Registry Editor Version 5.00

; Created by: Shawn Brink
; Created on: December 6, 2022
; Tutorial: https://www.elevenforum.com/t/add-empty-recycle-bin-to-context-menu-in-windows-11.10981/

 
[HKEY_CLASSES_ROOT\Directory\Background\shell\empty]
"CommandStateHandler"="{c9298eef-69dd-4cdd-b153-bdbc38486781}"
"Description"="@shell32.dll,-31332"
"Icon"="%SystemRoot%\\System32\\imageres.dll,-54"
"MUIVerb"="@shell32.dll,-10564"

[HKEY_CLASSES_ROOT\Directory\Background\shell\empty\command]
"DelegateExecute"="{48527bb3-e8de-450b-8910-8c4099cb8624}"

file #2
Code:
Windows Registry Editor Version 5.00

; Created by: Shawn Brink
; Created on: September 23, 2022
; Updated on: November 5, 2025
; Tutorial: https://www.elevenforum.com/t/enable-or-disable-delay-of-running-startup-apps-in-windows-11.9144/

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Serialize]
"Startupdelayinmsec"=dword:00000000
"WaitForIdleState"=dword:00000000

file #3
Code:
Windows Registry Editor Version 5.00

; Created by: Shawn Brink
; Created on: September 19, 2021
; Tutorial: https://www.elevenforum.com/t/enable-or-disable-file-history-in-windows-11.1395/


[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\FileHistory]
"Disabled"=dword:00000001

Now I would open notepad and merge all three files like so:

Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\empty]
"CommandStateHandler"="{c9298eef-69dd-4cdd-b153-bdbc38486781}"
"Description"="@shell32.dll,-31332"
"Icon"="%SystemRoot%\\System32\\imageres.dll,-54"
"MUIVerb"="@shell32.dll,-10564"

[HKEY_CLASSES_ROOT\Directory\Background\shell\empty\command]
"DelegateExecute"="{48527bb3-e8de-450b-8910-8c4099cb8624}"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Serialize]
"Startupdelayinmsec"=dword:00000000
"WaitForIdleState"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\FileHistory]
"Disabled"=dword:00000001

and save the file as .reg

Is that it?
 

My Computer My Computer

At a glance

Windows 11Intel Core i5-14600KFCORSAIR VENGEANCE RGB PRO SL 32GB (2x16GB) DD...GIGABYTE 4080 Gaming OC
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Custom
CPU
Intel Core i5-14600KF
Motherboard
MSI PRO Z690-A WIFI DDR4
Memory
CORSAIR VENGEANCE RGB PRO SL 32GB (2x16GB) DDR4 3200MHz CL16
Graphics Card(s)
GIGABYTE 4080 Gaming OC
Screen Resolution
1920 x 1080
Hard Drives
Kingston NV3 1TB, Kingston KC600 1TB, SAMSUNG 860 EVO 500GB
PSU
Lian Li Edge EG0850G 850W Gold
Cooling
ARCTIC Liquid Freezer III 360
Keyboard
Logitech G513 Carbon LIGHTSYNC RGB Mechanical
Mouse
Steelseries Prime
Browser
Firefox
Is that it?
Yup.
First, the file must begin with the exact header Windows Registry Editor Version 5.00 on the very first line so Windows recognizes the file type. Second, every registry path must be enclosed in square brackets (e.g., [HKEY_LOCAL_MACHINE\...]) so the system knows exactly where to apply the changes. Finally, you must use a line break (blank space) between each command and entry to prevent the text from bunching together into a single broken line. As long as each distinct registry path starts on its own new line with its square brackets, Windows will easily read and apply all of your tweaks at once.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro
    OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS ROG Strix
  • At a glance

    Windows 11 Pro
    Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook
  • ASUS VivoBook 'Lite' ~ Windows 11 Home
and save the file as .reg


Just don't copy this stuff...


Windows Registry Editor Version 5.00
; Created by: Shawn Brink
; Created on: December 6, 2022
; Tutorial: Add Empty Recycle Bin to Context Menu in Windows 11


...then just add the other reg files to the bottom of the main one, without the headings.

Just in case... export the registry first, so if you mess something up, you'll have an easy fix.


For example... here's the four you posted, combined...

You only need this line once... Windows Registry Editor Version 5.00

Code:
Windows Registry Editor Version 5.00

 
[HKEY_CLASSES_ROOT\Directory\Background\shell\empty]
"CommandStateHandler"="{c9298eef-69dd-4cdd-b153-bdbc38486781}"
"Description"="@shell32.dll,-31332"
"Icon"="%SystemRoot%\\System32\\imageres.dll,-54"
"MUIVerb"="@shell32.dll,-10564"

[HKEY_CLASSES_ROOT\Directory\Background\shell\empty\command]
"DelegateExecute"="{48527bb3-e8de-450b-8910-8c4099cb8624}"



[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Serialize]
"Startupdelayinmsec"=dword:00000000
"WaitForIdleState"=dword:00000000



[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\FileHistory]
"Disabled"=dword:00000001



[HKEY_CLASSES_ROOT\Directory\Background\shell\empty]
"CommandStateHandler"="{c9298eef-69dd-4cdd-b153-bdbc38486781}"
"Description"="@shell32.dll,-31332"
"Icon"="%SystemRoot%\\System32\\imageres.dll,-54"
"MUIVerb"="@shell32.dll,-10564"

[HKEY_CLASSES_ROOT\Directory\Background\shell\empty\command]
"DelegateExecute"="{48527bb3-e8de-450b-8910-8c4099cb8624}"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Serialize]
"Startupdelayinmsec"=dword:00000000
"WaitForIdleState"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\FileHistory]
"Disabled"=dword:00000001
 
Last edited:

My Computers My Computers

  • At a glance

    Win 11 Home 26H2 26300.9711AMD Ryzen 7 3700XG.Skill (F4-3200C14D-16GTZKW)EVGA RTX 2070 (08G-P4-2171-KR)
    OS
    Win 11 Home 26H2 26300.9711
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® [May 2020]
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    Asus Pro WS X570-ACE (BIOS 5302)
    Memory
    G.Skill (F4-3200C14D-16GTZKW)
    Graphics Card(s)
    EVGA RTX 2070 (08G-P4-2171-KR)
    Sound Card
    Realtek ALC1220P / ALC S1220A
    Monitor(s) Displays
    Dell U3011 30"
    Screen Resolution
    2560 x 1600
    Hard Drives
    2x Samsung 860 EVO 500GB,
    WD 4TB Black FZBX - SATA III,
    WD 8TB Black FZBX - SATA III,
    DRW-24B1ST CD/DVD Burner
    PSU
    PC Power & Cooling 750W Quad EPS12V
    Case
    Cooler Master ATCS 840 Tower
    Cooling
    CM Hyper 212 EVO (push/pull)
    Keyboard
    Ducky DK9008 Shine II Blue LED
    Mouse
    Logitech Optical M-100
    Internet Speed
    300/300
    Browser
    Firefox (latest)
    Antivirus
    Bitdefender Total Security
    Other Info
    Speakers: Klipsch Pro Media 2.1
  • At a glance

    Windows XP Pro 32bit w/SP3AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Operating System
    Windows XP Pro 32bit w/SP3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® (not in use)
    CPU
    AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)
    Motherboard
    ASUS M2N32-SLI Deluxe Wireless Edition
    Memory
    TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)
    Graphics card(s)
    EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Sound Card
    Onboard
    Monitor(s) Displays
    ViewSonic G90FB Black 19" Professional (CRT)
    Screen Resolution
    up to 2048 x 1536
    Hard Drives
    WD 36GB 10,000rpm Raptor SATA
    Seagate 80GB 7200rpm SATA
    Lite-On LTR-52246S CD/RW
    Lite-On LH-18A1P CD/DVD Burner
    PSU
    PC Power & Cooling Silencer 750 Quad EPS12V
    Case
    Generic Beige case, 80mm fans
    Cooling
    ZALMAN 9500A 92mm CPU Cooler
    Keyboard
    Logitech Classic Keybooard 200
    Mouse
    Logitech Optical M-BT96a
    Internet Speed
    300/300
    Browser
    Firefox 3.x ??
    Antivirus
    Symantec (Norton)
    Other Info
    Still assembled, still runs. Haven't turned it on for 15 years?
WinaeroTweaker has a Tool to do that also...

14196.webp
 

My Computers My Computers

  • At a glance

    Windows 11 Pro
    OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS ROG Strix
  • At a glance

    Windows 11 Pro
    Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook
  • ASUS VivoBook 'Lite' ~ Windows 11 Home
I second WinaeroTweaker. It's just soooo easy.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro 26H2 26300.9457i9-10900 10 core 20 threads32 gbnone-Intel UHD Graphics 630
    OS
    Windows 11 Pro 26H2 26300.9457
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900 10 core 20 threads
    Motherboard
    DELL 0J37VM
    Memory
    32 gb
    Graphics Card(s)
    none-Intel UHD Graphics 630
    Sound Card
    Integrated Realtek
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    2x1tb Solidigm m.2 nvme /External drives 512gb Samsung m.2 sata+2tb Kingston m2.nvme
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    so slow I'm too embarrassed to tell
    Browser
    #1 Edge #2 Firefox
    Antivirus
    Defender+MWB Premium
  • At a glance

    Windows 11 Pro 24H2 26200.9457AMD Ryzen 7 6800U32 gbintegrated
    Operating System
    Windows 11 Pro 24H2 26200.9457
    Computer type
    PC/Desktop
    Manufacturer/Model
    Beelink Mini PC SER5
    CPU
    AMD Ryzen 7 6800U
    Memory
    32 gb
    Graphics card(s)
    integrated
    Sound Card
    integrated
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Crucial nvme
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    still too embarrassed to tell
    Browser
    Firefox
    Antivirus
    Defender
  • System 3 is non compliant Dell 9020 i7-4770/24gb ram Win11 PRO 26200.9457

Latest Support Threads

Latest Tutorials

Back
Top Bottom