ADSystemInfo with vbs logonscript Retrieve the %CleintName% in a Citrix session
Posted on 2006-11-28
So i have bean buzi a long time, to make a connection with a terminal server with a Citrix ICA cleint
Ok Citrix workt perfect with only the published apps, but 1 thing is not always working and that are the autocreated printers (most of time yes it works)
So i want within my vb script read with the ADSystemInfo
strDistinguishedComputerName = objADSystemInfo.ComputerName
now i want to read the location field from the Cleintcomputer in the ad (i now its name in the terminal session %Cleintname%) so i want to now where the user is loged on to give him the printer nearest him.
simple question how to read the compleet strDistinguishedComputerName with the %Cleintname% as atribute ?