NET SESSION can only be used locally but you can use RCMD or psexec or something like that to get a remote console shell on the remote box. Alternatively I wrote a quick little basic tool to do it remotely as well, look for netsess on www.joeware.net on the free win32 tools page.
F:\Dev\cpp\NetSess>netsess \\w2kasdc1 NetSess V01.01.00cpp Joe Richards ([EMAIL PROTECTED]) October 2002 Enumerating Machine: \\w2kasdc1 Client User Name Time Idle Time ------------------------------------------------------------------------ - \\MAIN Joe 360:40:26 000:00:00 Total of 1 entries enumerated F:\Dev\cpp\NetSess> joe -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Agung Kuswanto NCS Sent: Thursday, August 07, 2003 10:22 PM To: '[EMAIL PROTECTED]' Subject: RE: [ActiveDir] Who's online Thanks for all enlighten!!! Can this command be called from machine other than the server it self? Best regards, Agung -----Original Message----- From: Thommes, Michael M. [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 8:55 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] Who's online What about using a "net session" command? Mike Thommes -----Original Message----- From: Chianese, David P. [mailto:[EMAIL PROTECTED] Sent: Thu 8/7/2003 7:13 AM To: '[EMAIL PROTECTED]' Cc: Subject: RE: [ActiveDir] Who's online I use the old NT 4.0 server manager to determine what shares are in use. That give's you some visibility. Dave -----Original Message----- From: Agung Kuswanto NCS [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 6:40 AM To: '[EMAIL PROTECTED]' Subject: [ActiveDir] Who's online Hi Is there a way to know who's online on Win2K server? Or to check whether the certain user is online? Does AD store that kind of information? I want to use lastlogin and lastlogoff, but apparently the lastlogoff was never set. Thank you Regards, Agung This e-mail and any accompanying attachments are confidential. The information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution, or use of this e-mail communication by others is strictly prohibited. If you are not the intended recipient, please notify us immediately by returning this message to the sender and delete all copies. Thank you for your cooperation. List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
