Windows Server 2003 用户登录审核

发布于 2024-07-25 22:35:35 字数 106 浏览 1 评论 0原文

如何查找所有用户在我的 Windows Server 2003 上登录的内容。应启用什么属性/设置/服务来记录对我的服务器的所有登录? 有没有办法在用户登录时显示警报邮件或消息(脚本或其他内容)?

How to find what all users have logged on my Windows Server 2003. What is the property/setting/service that should be enabled to log all the logons to my server? Is there a way to display an alert mail or message (a script or something) whenever a user logs on?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

表情可笑 2024-08-01 22:35:35

转到管理工具 -> 本地安全设置-> 当地政策 -> 审核策略,然后在右侧窗格中设置您想要在事件查看器中记录的事件。

至于在登录时发送电子邮件或消息 - 您可以创建一个批处理文件来执行此操作,并添加到程序 - >启动文件夹的快捷方式。 这将导致批处理在用户登录时运行(尽管不在用户连接到断开连接的会话时运行)。 至于发送电子邮件,网络上有很多免费的命令行电子邮件程序,只需选择一个即可。 或者,您可以通过网络向自己发送一条消息。

最后,您可能会得到比 serverfault.com 更好的答案,那里有更多的系统管理员。

Go to Administrative tools -> Local Security Settings -> Local Policies -> Audit Policy, and on the right pane set the events you'd like to have logged in the event viewer.

As for sending an email or message upon login - you can create a batch file that will do that, and add a shortcut to the programs->startup folder. This will cause the batch to run whenever a user logs in (though not when a user connects to a disconnected session). As for sending an email, there are plenty of free command line emailers on the web, just pick one up. Or, you can NET SEND yourself a message.

Lastly, you'd probably get better answers than these on serverfault.com, where more sysadmins would hang out.

抚你发端 2024-08-01 22:35:35

如果您使用 Active Directory,则可以通过 GPO 实施审核策略

If you're working with Active Directory, you can implement an audit policy through GPO.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文