Before I resorted to generating a REG file I tried various combinations of:
Wow64FileRedirection and WOW64AlternateRegView.
This would not however stop 'regedit /s' from working !