Microsoft has addressed a known issue impacting multiple Windows 10 apps and causing them to forget users’ passwords after upgrading devices to certain Windows 10, version 2004 builds.
The issue was resolved in the KB4598291 release preview cumulative update for all editions of Windows 10 and Windows Server versions 2004 and 20H2.
This update also comes with fixes for device deactivation issues and freezing problems while playing games full-screen.
According to Microsoft, KB4598291 also “addresses an issue in which using local Service for User (S4U) affects Data Protection API (DPAPI) credential keys and causes users to sign out unexpectedly.”
The reason behind this issue was discovered by Google vulnerability researcher Tavis Ormandy after discovering that scheduled tasks created with the Task Scheduler’s S4U (Services For User) option are to be blamed.
Due to a bug in the RPC UBPM (Unified Background Process Manager), Windows 10 would forget passwords by removing saved credentials in the Local Security Authority Subsystem Service (LSASS).
This causes the affected apps to either lose login state or sign out users out of their accounts after every system restart.
Microsoft first acknowledged the issue causing Outlook and other apps to forget user passwords in a document published on its support website in November 2020.
Also Read: 10 Practical Benefits of Managed IT Services
Redmond also provided a workaround for the issue found by Ormandy which requires impacted users to delete scheduled tasks created using S4U.
This can be helpful to temporarily mitigate the issue on systems where installing the fix bundled with KB4598291 is not immediately possible.
“This issue occurs when some Windows 10 Task Scheduler Tasks are configured in a certain way,” Microsoft said. “Until a fix is available a workaround is to disable these tasks using Task Scheduler.”
The workaround requires you to follow this procedure:
Get-ScheduledTask | foreach { If (([xml](Export-ScheduledTask -TaskName $_.TaskName -TaskPath $_.TaskPath)).GetElementsByTagName("LogonType").'#text' -eq "S4U") { $_.TaskName } }
Also Read: What Legislation Exists in Singapore Regarding Data Protection and Security?
As Microsoft also notes, you may also have to re-enter passwords in affected apps one more time before they are saved correctly again.