I have a login scripts that I only want to run when people login to citrix. Where do I enable this? If I do it through Group Policy it will run anytime a user logs into the network and I only want it when they login to citrix servers. Any Ideas?
Tommy
Active Directory has a terminal services Profile Path but not Script Path.
They way I deal with this is write vbScripts to confim if machine is Citrix or not. If so I call the script I need.
THis would be better answerewd in another forum
I.E. in vbScript you could write
Code:
' All my citrix boxes start CTX
If Instr(objNetwork.ComputerName,"CTX") > 0 Then
' Run the script either calling DOS or vbScript, exe, etc
WScript.Echo "This is a Citrix Box"
Else WScript.Echo "This is NOT a Citrix Box"
End If
I prefer using an intelligent script, like the one shown above, however another way is to assign the script would be via GPO that is applied to the OU that contains your Terminal Servers where you use loopback policy processing.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.