If you read the dox on TSSHUTDN, it is designed to only work if no one is logged into the server.... On Sat, 20 Nov 2004 22:04:55 -0800 (PST), Brad Salazar <bradsalazar@xxxxxxxxx> wrote: > If you're still in need of a script to do this let me > know. I had a similar need but had to target specific > user accounts. Simply, it would pipe a query session > out to a text file and then parse it for session and > user ID's. A match with against a "hit list" of names > would then force a log off of that session. The script > could easily be modified for your need. > > Brad Salazar > > --- "Landin, Mark" <Mark.Landin@xxxxxxxxxxxxxxxx> > wrote: > > > > > The "logoff" command. "Logoff /?" for details. > > > > ________________________________ > > > > From: thin-bounce@xxxxxxxxxxxxx > > [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of > > Steve Parr > > Sent: Thursday, November 18, 2004 3:27 PM > > To: 'thin@xxxxxxxxxxxxx' > > Subject: [THIN] Re: tsshutdn process getting hung > > up > > > > > > Is there a way to automate shutting down all > > ICA/RDP sessions > > prior to running tsshutdn so it is automated as > > well? I see commands > > such as tskill and taskkill but you would have to > > know the PID's in > > advance which you can never know in advance and > > therefore put into > > script. Or maybe there is a way? > > > > -----Original Message----- > > From: Landin, Mark > > [mailto:Mark.Landin@xxxxxxxxxxxxxxxx] > > Sent: Thursday, November 18, 2004 2:21 PM > > To: thin@xxxxxxxxxxxxx > > Subject: [THIN] Re: tsshutdn process getting hung > > up > > > > The only time I've really seen a reboot "hang" is > > if there is an > > active session on the console and it has been > > "locked" via screen-saver. > > Are you forcibly clearing all sessions (not just RDP > > or ICA sessions, > > but ALL sessions?) before trying the shutdown? > > > > > > ________________________________ > > > > From: thin-bounce@xxxxxxxxxxxxx > > [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of > > Steve Parr > > Sent: Thursday, November 18, 2004 1:08 PM > > To: thin@xxxxxxxxxxxxx > > Subject: [THIN] tsshutdn process getting hung up > > When using tsshutdn works for the most part but > > has hung > > in the past and lately has once again. Is there a > > recommended utility or > > procedure/batch file set which can ensure the > > process of > > shutdown/restart does not get hung up? Thanks. > > > > Steve Parr > > Systems Analyst, Citrix Support > > Tech. & Comm. Group, IT > > Metroland Printing, Publishing and Distributing > > Ltd. > > sparr@xxxxxxxxxxxxx > > phone 905-279-0440 > > cell 416-219-3016 > > > > > > > __________________________________ > Do you Yahoo!? > Meet the all-new My Yahoo! - Try it today! > http://my.yahoo.com > > ******************************************************** > This Weeks Sponsor Emergent Online ThinCity Conference > Join us at ThinCity 2004: The 1st Annual Emergent OnLine Technology Conference > http://www.ThinCity.com > ********************************************************** > Useful Thin Client Computing Links are available at: > http://thin.net/links.cfm > *********************************************************** > For Archives, to Unsubscribe, Subscribe or > set Digest or Vacation mode use the below link: > http://thin.net/citrixlist.cfm > ******************************************************** This Weeks Sponsor Emergent Online ThinCity Conference Join us at ThinCity 2004: The 1st Annual Emergent OnLine Technology Conference http://www.ThinCity.com ********************************************************** Useful Thin Client Computing Links are available at: http://thin.net/links.cfm *********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thin.net/citrixlist.cfm