a_non_moose:
Just to get you onto the right track. Under Windows NT/2000/XP certain registry areas have security settings that allow only certain users to make changes. Therefore, a 'REGEDIT /s regtext.reg' trying to write to HKLM will fail unless the user has permission to write to that area (normally a user with administrative rights). The same applies to Kixtarts WRITEVALUE function, if the user under which Kixtart runs doesn't have permission to write to that area it'll give you an error.
To elaborate on LLigetfa's comment, you can run a script on your server and have it write to a remote workstation be preceeding the workstations name in front of the registry key, e.g.:
\\WORKSTATION\HKEY_LOCAL_MACHINE\SOFTWARE\Kixtart. You can also run your script throught SU or scheudle it with the Task Scheduler under an administrative account. Personally, I would either run a script on a server where I can secure the script sufficiently and do remote registry editing or run it through the Task Scheduler from from a server (again, I can secure the script)
_________________________
There are two types of vessels, submarines and targets.