dubsdj Posted October 19, 2009 Share Posted October 19, 2009 HiI have set up a test environment with Web TS. I have managed to get it working inside and outside of the office. I am able to run applications remotely etc..Only thing is that I want the user to have to run a login script before they get to the main menu.. I have managed to enable a login script to be run when a user clicks on a menu icon which says "Run login script".. But the thing is that I don't want users to have to click an icon manually.. I would rather if there was a way to auto run the login script before they get to the TS main page.I had another idea of attaching a script to each application that they run, which works but that seems a very unefficient way of doing it because then I would have to create scripts for every single application that I wish to run.Anyway if anybody knows where I can find some useful info I would be very grateful. Link to comment Share on other sites More sharing options...
cluberti Posted October 19, 2009 Share Posted October 19, 2009 Logon scripts don't run for published apps, because the hooks for logon scripts are actually in the shell (if they don't fire, which they won't when explorer.exe isn't launched, you won't get a logon script for the user). One thing you can try is to run a "pre-flight" script which calls "runonce /alternateshellstartup" and then starts the published app. If not, you're stuck running a script to launch your "logon script" and then the app, unfortunately. Windows just wasn't designed not to have the shell running. Link to comment Share on other sites More sharing options...
dubsdj Posted October 19, 2009 Author Share Posted October 19, 2009 I have just noticed that ts web runs the active Directory users logon script automatically.I have tested it with various users now and it indeed runs the login script that is associated with the user in Active Directory... That's pretty cool because all their drives are mapped.I haven't tried this remotely but I guess it would be the same principle. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now