What version of KiXtart are you using and did you run your script with elevated permissions?

Please post and example of your code and let us know what version of KiX you're using.