Kill Login Scripts When Running a Citrix XenApp application
Posted on 2011-09-23
i'm running Citrix XenApp 6 on a Windows Server 2008 Std, R2. Users are based off of Active Directory and normally use logon scripts (which are .bat files... eg.
net use w: \\server\folder
rundll32 printui.dll,PrintUIEntry /in /n \\server\printer
The problem is that the logon scripts takes up alot of time while waiting for the XenApp application to open up (after logging on to XenApp through its Web Client).
Is there a way to tell Citrix, "yea listen if this connection is through Remote Desktop Services, kill the logon script"?? Particularly right after the script runs the "net use" command and obviously before the remote printers get installed...
i tried this command in the middle of the two lines but that actually not only stops the script for remote sessions, but also for normal logins..