In the terminal, you can use the quser command. But how can you view online users in other professional versions such as 2 k?
C: Documents and SettingsAdministrator> net config workstation
Computer Name \ RICH
Computer full name rich
User Name Administrator
The workstation is running on
NetbiosSmb (000000000000)
NetBT_Tcpip _ {57E2991D-AF22-41BA-89D7-2C2818051A47} (000B5DD3AC51)
Microsoft Windows Server 2003
WORKGROUP
RICH Domains
COM open timeout (seconds) 0
COM sending count (byte) 16
COM sending timeout (MS) 250
The command is successfully completed.
Use a vbs script to implement:
Set wshNetwork = WScript. CreateObject ("WScript. Network ")
Wscript. echo "Login domain" & wshNetwork. UserDomain
Wscript. echo "computer name" & wshNetwork. ComputerName
Wscript. echo "Current Login User" & wshNetwork. UserName
Whether it can be implemented under the system permission is not tested.
Or 2003 of tool whoami