windows – 如何通过RDP登录时允许用户更改密码?

前端之家收集整理的这篇文章主要介绍了windows – 如何通过RDP登录时允许用户更改密码?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在运行管理员Windows Server 2012 R2服务器,用户可以通过远程桌面连接访问.我已经设置了用户和本地安全策略,以便在每个用户首​​次登录时,以及每隔90天后,系统会提示他们更改密码.

但是,每当用户的帐户处于必须重置密码的状态时,只要他们尝试使用RDP进行连接,他们就会从远程桌面连接客户端(v10.0)收到以下错误消息:

You must change your password before logging on the first time. Please
update your password or contact your system administrator or technical
support.

使用远程桌面连接管理器客户端(v2.7)时,会发生同样的情况,但错误略有不同:

The user password must be changed before logging on for the first time

服务器是独立的,而不是域.由于安全合规性要求,需要启用网络级别身份验证.服务器没有控制台访问权限,因为它是云虚拟机.

在没有牺牲NLA安全配置的情况下,我没有成功找到任何解决办法.我错过了一些明显的东西吗我们将非常感激地收到任何答复或评论.谢谢.

它不能通过RDP本身完成! (不禁用NLA)

In the protocol specification for CredSSP,there is no reference to
the ability to change the user’s password while NLA is running.
Therefore,the observed behavior can be considered “by design.”

CredSSP is the underlying technology that enables NLA,and it does not
support password changes. Therefore,password changes are not enabled
in MSTSC. Other RD clients that support NLA should be unable to change
the user’s password.

资料来源:https://support.microsoft.com/en-us/help/2648402/you-cannot-change-an-expired-user-account-password-in-a-remote-desktop

正如他们所建议的,通过RDWeb启用更改密码是一种选择.我见过的另一个选择是通过Exchange webmail更改密码.

原文链接:https://www.f2er.com/windows/366890.html

猜你在找的Windows相关文章