I don't think I was giving you misinformation but I do think you hit the answer. As I was testing the code from a command line I was getting a response from @FullName, of course it wouldn't write to the registry because the account I was coding from didn't have permision. Then when I kicked off the task, it would write to the registry but @FullName would have given a null string. This fits the scenario perfectly.

I got around the problem by writing the user's Full name to a text file at the earliest stage of the login process. My scheduled KiX script then grabs that and all is well.

Thanks for all the help folks!

-Bruce