new problem. When running this. $ComputerPrt = Left(@wksta, 6) If $ComputerPrt = "VA-CTX" Run "\\server\netlogon\XDClientName.exe"
the xdclient variable is present, but i've looked all the time at the system properties under advanced - systemvariables. there is it present, but when do a "set" from commandprompt the variable isn't there. when i then run the xdclient manually then it's also available when do the "set" command, and that's why no printers where added. can this cause this xdclient runs too early for windows perhaps.
it's getting funnier every time;)
I found also a registry setting, maybe it's possible to use this. within the virual client the physical computername is visible under: HKLM\software\citrix\PortICA\uxpersistence\LA-DOC-001
|