强制用户在下次登录时更改密码 [英] Forcing user to change password on next logon

查看:308
本文介绍了强制用户在下次登录时更改密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我尝试在 http://msdn.microsoft.com/en-us/library使用该示例/bb720782.aspx 强制用户在下次登录时更改密码.尽管它似乎适用于所有用户,但它不能为默认的管理员帐户提供正确的行为.对于除默认管理员以外的所有用户,它将强制在下次登录时更改密码.但是,对于默认管理员,在登录期间,系统会提示您您的密码今天到期,您要立即更改它".单击是/否按钮,因此可以单击否"跳过.此外,即使经过一两天,它仍然可以提供跳过更改密码的选择.

I attempted using the sample at http://msdn.microsoft.com/en-us/library/bb720782.aspx to force user to change the password on next logon. Although it seems to work for all the users, it doesn't provide correct behavior for default administrator account. For all the users except the default administrator, it forces to change the password on next logon. However for default administrator, during logon, it prompts saying "Your password expires today, do you want to change it now" with yes/no buttons and hence one can skip by clicking No. Further, even after a day or two passes, it still continues to provide a choice to skip changing the password.

是否可以通过*强制*默认管理员更改密码而无需选择跳过密码?

Is there a way to *hard force* default administrator to change the password without giving a choice of skipping it?

谢谢.
-普拉萨德

Thanks.
-Prasad

推荐答案

您好,

为什么要这样做?

请提供一些信息!

祝您有美好的一天...

最好的问候,
Fisnik
Hi,

Why do you want to do this?

Please provide some information!

Have a nice day...

Best regards,
Fisnik


这篇关于强制用户在下次登录时更改密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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