[THIN] Re: User logoffs

  • From: "Rick Mack" <Rick.Mack@xxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Thu, 14 Oct 2004 11:48:38 +1000

Hi Malcolm,

How about:

----- clearoff.cmd -----------
For /f %%i in ('quser ^| find /I "active"') do msg %%i Please log off
the server immediately, reboot needed
Sleep 60
For /f %%i in ('quser ^| find /I "active"') do logoff %%i
------------------------------

Regards,

Rick

Ulrich Mack
Volante Systems
18 Heussler Terrace, Milton 4064 
Queensland, Australia
tel +61 7 32467704
rmack@xxxxxxxxxxxxxx


-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf Of BRUTON, Malcolm, FM
Sent: Thursday, 14 October 2004 12:39 AM
To: 'thin@xxxxxxxxxxxxx'
Subject: [THIN] User logoffs


How can I log off all users on a server that are using ICA from the cmd
line

 

I can use "echo y | reset session ica-tcp"

 

Is there another more graceful way?

 

Malcolm Bruton

Workspace Team 

The Royal Bank of Scotland - Corporate Banking and Financial Markets
t:   +44 20 7085 5768
e: malcolm.bruton@xxxxxxxx <mailto:dmalcolm.bruton@xxxxxxxx> 
w: http://oneteam.fm.rbsgrp.net <http://oneteam.fm.rbsgrp.net/> 

 



************************************************************************
***********
The Royal Bank of Scotland plc. Registered in Scotland No 90312.
Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. 
Authorised and regulated by the Financial Services Authority 

This e-mail message is confidential and for use by the 
addressee only. If the message is received by anyone other 
than the addressee, please return the message to the sender 
by replying to it and then delete the message from your 
computer. Internet e-mails are not necessarily secure. The 
Royal Bank of Scotland plc does not accept responsibility for 
changes made to this message after it was sent. 

Whilst all reasonable care has been taken to avoid the 
transmission of viruses, it is the responsibility of the recipient to 
ensure that the onward transmission, opening or use of this 
message and any attachments will not adversely affect its 
systems or data. No responsibility is accepted by The Royal 
Bank of Scotland plc in this regard and the recipient should carry 
out such virus and other checks as it considers appropriate. 
Visit our websites at: 
http://www.rbs.co.uk/CBFM 
http://www.rbsmarkets.com 
************************************************************************
********

#####################################################################################
This e-mail, including all attachments, may be confidential or privileged.  
Confidentiality or privilege is not waived or lost because this e-mail has been 
sent to you in error.  If you are not the intended recipient any use, 
disclosure or copying of this e-mail is prohibited.  If you have received it in 
error please notify the sender immediately by reply e-mail and destroy all 
copies of this e-mail and any attachments.  All liability for direct and 
indirect loss arising from this e-mail and any attachments is hereby disclaimed 
to the extent permitted by law.
#####################################################################################
********************************************************
This Weeks Sponsor RTO Software
Do you know which applications are abusing your CPU and memory?
Would you like to learn? --   Free for a limited time!
Get the RTO Performance Analyzer to quickly learn the applications, users,
and time of day possible problems exist.
http://www.rtosoft.com/enter.asp?id20
**********************************************************
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

Other related posts: