Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Who is Currently Logging on to a Remote NT Workstation

Keywords: 	 logging on   nbtstat -a "compname"

Question:

How can I find out who is currently logging on to a remote NT workstation from my own machine, if I had Domain Admin privilege. I was able to connect to the remote machine and search through the Registry in the HKEY_LOCAL_MACHINE but it still shows up even if the user already logged off, as long as the remote machines power is on.

Answer:

See the Win32 function wntCurrUsers, maybe that can help....
Article ID:   W13502
Filename:   Who is Logging on to Remote NT Server.txt