You can do a RUN or a SHELL to REGEDIT /S

But KiXtart can natively edit the logon script for you without running REGEDIT.

ReadValue, WriteValue in the manual.