Hello @abec99, and welcome to Ten Forums.

The registry keys for Windows Defender are protected by default.

You would need to change the owner of the registry keys to "Administrators", and set their permissions to allow "Administrators" "full control". Afterwards, you would be able to merge the .reg files.

However, doing that will leave the registry keys unprotected. This also will not help with the keys open by the system.