The key is the /s that REGEDIT supports.

Now doing it via KiXtart would be better in the long run, but the original poster isn't well versed in using KiXtart yet.

When you say huge how many lines we talking about changing in the Registry?

If you post a few examples I'm sure we can show you how to write some of them.