微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

如何从命令行检查谁当前登录到Windows工作站?

环境在域中,服务器是 Windows Server 2003,工作站安装了Vista和XP.
我需要远程检查当前登录工作站的人,最好是从一些简单的命令行,没有sysinternals或第三方程序.

谢谢

见这里: https://web.archive.org/web/1/http://techrepublic%2ecom%2ecom/5208-7343-0.html?forumID=101&threadID=307918&messageID=3065346

他们建议Windows上可用的wmic命令:

WMIC /NODE: xxx.xxx.xxx.xxx
COmpuTERSYstem GET USERNAME Will
return the username currently logged
into xxx.xxx.xxx.xxx

or WMIC /NODE: “workstation_name” COmpuTERSYstem GET USERNAME will return the username currently logged into “workstation_name”

原文地址:https://www.jb51.cc/windows/370759.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐