Hello again,

some more information:
I use kix to prevent the user getting his desktop until he has done "something". If the user doesn't do the "something" he should be logged out directly !

This works fine with kix and RunLogonScriptsSync=1 and when the workstation is online more than 5 minutes !

The only thing that makes the desktop visible to the user anyway is, when kix didn't find the script and didn't logout the user in this case of error.

If the script is found and there is an error in the script kix will logout the user... (good)

Why isn't that happening when the "failed to find/open script" occurs ?

Therefore the run or runonce commands cannot be used.