Open the cmd.exe with "Run as Administrator" and it will likely work. MS and their bs restrictions.

You are likely going to have to find another way. What is the contents of the reg file? Very likely it can be done right in kixtart with writevalue(), etc.
_________________________
(... better days ahead)