hi have a problem with windows 2008 terminalserver and kix

on my running windows terminalserver 2003 i can use in the kix %clientname%
on the new windows 2008 ts i run my script and have no output for %clientname%

i open cmd.exe and start my kix script manual, the variable "clientname" set and my script is running good!