September 18, 2022
  • September 18, 2022
  • Home
  • Windows apps
  • Microsoft is working on a fix for Windows apps that forget passwords

Microsoft is working on a fix for Windows apps that forget passwords

By on November 9, 2020 0

Microsoft says several Windows 10 apps, including Outlook, are affected by an issue that causes them to forget user passwords after upgrading the device to certain versions of Windows 10, version 2004.

“After you install Windows 10 version 2004 Build 19041.173 and associated updates, you find that Outlook and other applications no longer remember your password,” Microsoft explains.

“One task that appears to be causing the problem is the HP Customer Engagement Utility task, as described in more detail in this Answers forum thread. “

The cause of this problem was discovered by Google vulnerability researcher Tavis Ormandy two months ago when he find that the scheduled tasks created using the S4U (services for user) option of the task scheduler are to blame.

Due to a bug in RPC Unified Background Process Manager (UBPM) that causes the deletion of credentials stored in the Local Security Authority Subsystem Service (LSASS), applications will lose the state of login or log users out of their accounts.

The issue is also described in a Microsoft Answers discussion thread mentioned by Redmond, with hundreds of users reporting that apps randomly ask them to sign in again because they forget their credentials.

Workaround available

A workaround for this issue found by Ormandy and recommended by Microsoft on its support website requires affected users to delete scheduled tasks created using S4U.

“This problem occurs when certain Windows 10 Task Scheduler tasks are configured in a certain way,” Microsoft explains. “Until a fix is ​​available, a workaround is to disable these tasks using Task Scheduler.”

The workaround requires that you open the Quick Link menu by right-clicking the Start button and selecting Windows PowerShell (Admin).

Then copy-paste the following command into Windows PowerShell and run it by pressing Enter:

Get-ScheduledTask | foreach { If (([xml](Export-ScheduledTask -TaskName $_.TaskName -TaskPath $_.TaskPath)).GetElementsByTagName("LogonType").'#text' -eq "S4U") { $_.TaskName } }

Write down any scheduled tasks listed as command output and disable them using Windows Task Scheduler by following these steps:

  • In the Windows 10 search box, type Task planner, then open the Task Scheduler application.

  • Look for the task in the window (HP Customer Attendance) and other tasks from the Windows PowerShell output.

  • Right click on the task and choose Deactivate.

  • After disabling the task, restart Windows.

As Microsoft also notes, you may need to re-enter your passwords once more when prompted before they are properly saved again.