Applies ToWindows Server 2012 R2 Datacenter Windows Server 2012 R2 Standard Windows Server 2012 R2 Foundation Windows 8.1 Enterprise Windows 8.1 Pro Windows 8.1 Windows RT 8.1 Windows Server 2012 Datacenter Windows Server 2012 Datacenter Windows Server 2012 Standard Windows Server 2012 Standard Windows Server 2012 Essentials Windows Server 2012 Foundation Windows Server 2012 Foundation Windows Server 2008 R2 Service Pack 1 Windows Server 2008 R2 Datacenter Windows Server 2008 R2 Enterprise Windows Server 2008 R2 Standard Windows Server 2008 R2 Foundation Windows 7 Service Pack 1 Windows 7 Ultimate Windows 7 Enterprise Windows 7 Professional Windows 7 Home Premium Windows 7 Home Basic Windows 7 Starter

本文介绍了在 Windows 8.1、 Windows RT 8.1、 Windows Server 2012 R2、 Windows Server 2012,Windows 7 Service Pack 1 (SP1) 或 Windows Server 2008 R2 SP1 安装了安全更新 3126041后出现的问题。可以通过使用本文中讨论的更新汇总中修复此问题。

症状

当您在 64 位操作系统上使用 32 位应用程序更改的域帐户密码NetUserChangePassword API 调用的密码更改返回类似于以下内容的错误消息︰

1326 ERROR_LOGON_FAILURE

尽管该错误,在 Active Directory 域服务更改密码。但是,您的登录会话和缓存的凭据不会更新。这种情况类似于以下内容︰

  • 您登录到两台计算机。

  • 您更改了第一台计算机上的密码。

  • 您保持登录到另一台计算机使用旧密码。

在此情况下,您可能会遇到以下问题︰

  • 如果您断开网络连接,则可以使用旧密码登录上。

  • 您对资源的访问权限被拒绝。

  • 提示您输入您的密码,当您访问资源。

  • 如果在域中的帐户锁定策略处于活动状态,该用户帐户被锁定。

注销的计算机的密码更改发生,然后重新登录使用新密码之前,此问题仍然存在。此外,如果应用KB 3139921中介绍的更新,不会再收到该错误信息,但这些症状依然存在。

解决方案

此问题的修补程序最初包含在安全更新 3153171 MS16 060 和 MS16-061 Windows Server 2012,Windows Server 2008 R2 SP1 和 Windows 7 SP1。也可能 2016年更新总成包中包括此修复程序。使用以下更新汇总,具体取决于您的操作系统之一︰

状态

Microsoft 已经确认这是“适用于”一节中列出的 Microsoft 产品中的问题。

参考资料

了解 Microsoft 用于描述软件更新的术语

需要更多帮助?

需要更多选项?

了解订阅权益、浏览培训课程、了解如何保护设备等。

社区可帮助你提出和回答问题、提供反馈,并听取经验丰富专家的意见。