sure thing ...
[disclaimer: nothing verified properly yet, just started to use it yesterday (locally) and today is a public holiday around here]

at this very moment I call it as follows:
 Code:
$ = RunAsInteractiveUser(@scriptdir + "\wkix32.exe", @scriptdir + "\logon.kix", @scriptdir)

while the gpo will call only wkix32.exe (having the above line and the udf in 'kixtart.kix')

Allthough this looks not natural the udf should be this:
 Code:
Function RunAsInteractiveUser($KixPath, $workdir, optional $kixscript, optional $taskname, optional $donotdelete)


btw.: nice effort of yours, especially the chinese transscript ;\) .. Came just in time for me


Edited by Jochen (2015-01-06 10:41 AM)
_________________________