管理员工具 - 用户密码 [英] Administrator tool-User Password

查看:118
本文介绍了管理员工具 - 用户密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个VB6.00的程序,当任何Windows用户帐户在x天内到期时报警我吗?

我的网络中有超过100个用户帐户,它们经常过期我不允许将它们更改为永不过期的情况。

请帮助。

I'm looking for a program with VB6.00 to Alarm Me when ever any Windows User Account expiring in x days?
There are more than 100 User account in my Network and they expire frequently and Im not allow to change them to "Never expire" situation.
Please Help.

推荐答案

羞耻它是VB6。但是...



您可以使用 NET用户 [ ^ ]命令获取域上的用户帐户列表并获取有关这些帐户的信息。



该信息包括密码何时到期。



编写一个程序来首先调用net user来获取用户列表(这意味着当添加新用户时没有进一步的工作要做)然后为每个用户收集您需要的信息。可以在这里找到VB6中运行程序和捕获输出的示例[ ^ ]



你可以然后使用 Windows调度程序 [ ^ ]定期运行程序
Shame it's VB6. However...

You can use the "NET USER[^]" command to get a list of user accounts on a domain AND to get information about those accounts.

The information includes when the password is due to expire.

Write a program to call net user first to get the list of users (this means that as new users are added there is no further work for you to do) and then for each to collect the information you need. An example in VB6 of running a program and capturing the output can be found here[^]

You can then use the windows scheduler[^] to run the program regularly


这篇关于管理员工具 - 用户密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆