Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Lgin scripts

Status
Not open for further replies.

trotunno

IS-IT--Management
Oct 3, 2005
2
US
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
 
Hi there

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

Hope it helps
Regards ACO
 
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.

Patrick Rouse
Microsoft MVP - Terminal Server
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top