Well for the down and dirty way you can use the "change logon /enable" and "change logon /disable" commands to enable and disable logons. To reset the sessions execute the following command, "echo y | reset session ica-tcp" Mark On 11/29/05, Keith Sirmons <KSirmons@xxxxxxxxxxxx> wrote: > > Is there a good source for citrix scripts on the web? > > There is an app that is updated frequently and I would like to write a > scrip to do it automatically. > When I do it by hand, I send a message to all that is logged on and tell > them to close the app. I wait 5 minuets and then logoff their sessions. I > then copy the application's new exe to the correct folder and let the users > back onto the citrix server. > > > I am wanting to create a script that will do this automatically. I know > how to script the file copies. I'm just clueless to where to start for > turning citrix off and back on gracefully. > > Thank you for any direction you can point me. > > Keith Sirmons > > Keith Sirmons > Microcomputer/LAN Administrator > College of Veterinary Medicine > -- Mark E. Schill