Why not set a time-out limit on Idle sessions in TS Connection
Configuration, and have them <required_action> automatically?
If you absolutely need to do this in a batch file, you would need
the output from the "qwinsta" command, parse it to find Idle
sessions, and kill those with tskill or rwinsta.
--
Vera Noest
MCSE,CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
*----------- Please reply in newsgroup -------------*
(E-Mail Removed) (Rubal Jain) wrote in
news:(E-Mail Removed):
> Hello -
>
> How to I kill or reset or disconnect Idle Terminal/Remote
> Desktop sessions using any Batch or VB Script on Windows 2000
> and Windows 2003 servers.
>
> Can someone help me ..
>
> Thanks.
>
> Rubal Jain
> www.Rubal.Net