Builds 19593 to 20226 User Profile Logon Issue - Workaround Included

Anonymous
2020-10-06T04:41:28+00:00

If you'd like to share a link to this post, we've created a short URL to assist:https://aka.ms/20226profile

*Edit*  This scenario could impact users in the Dev Channel (only) on builds 19593 through 20226.  The same workaround applies to any user in this build range in the Dev Channel who experiences this scenario.

Hello Windows Insiders,

After the launch of build 20226 to the Dev channel, a small number of users have reported not being able to log into their user profile(s) as expected.  This post covers this scenario, including a workaround for those affected who see the following message:

Note: this workaround ONLY applies to builds 19593 through 20226 on the Dev channel.  It does not apply to Retail users, or users in the Beta or Release Preview Channels..

Note:  the included steps assume your Windows installation is defaulted to the C: drive.  If you have installed Windows on a different drive letter, please replace c: with the proper drive letter for your installation.

To bypass this issue, please complete the following steps:

If your account is an Administrator account on the affected device:

  1. When you see the “We can’t sign into your account” dialogue, click the Close button.
  2. Open an elevated Command Prompt window.
  3. Enter and submit the following commands one line at a time:
    • cd c:\users%username%
    • takeown /F ntuser.dat*
    • icacls ntuser.dat* /reset
    • icacls ntuser.dat* /setowner "SYSTEM"
  4. Sign out.
  5. You will stop seeing the above dialog on your next sign-in.

If your account is NOT an Administrator account on the affected device:

  1. When you see the “We can’t sign into your account” dialogue, click the Close button.
  2. Open a standard Command Prompt window.
  3. Enter the following command:
    • Echo %username%
    • (Make note of the returned username, you will use it in step 6)
  4. Close the standard Command Prompt window.
  5. Open an elevated Command Prompt window.
  6. Enter and submit the following commands one line at a time:
    • cd c:\users\username
    • takeown /F ntuser.dat*
    • icacls ntuser.dat* /reset
    • icacls ntuser.dat* /setowner "SYSTEM"
  7. Sign out
  8. You will stop seeing the above dialog on your next sign-in

If these steps don’t resolve the issue for you on build 20226, you may also complete a rollback to your previous build to bypass.  You may then reinstall build 20226 and you will not encounter the issue a second time.

We’ve identified the cause of the bug and a fix is under development thanks to the swift feedback and insights from the Windows Insider community.

Thank you and keep the feedback coming!

  • The Windows Insider Team
Windows Insider program | Windows Insider preview | Security, privacy, and accounts

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

47 answers

Sort by: Newest
  1. Sumit 44,436 Reputation points Volunteer Moderator
    2021-03-20T14:17:19+00:00

    Hello Jason,

    I hope you are well.

    Please could you tell me how to fix the same problem for build 18363.1440?

    Hi Natalie, the solution Jason posted would not apply to Windows 10 1909. Pleasestart a new question in the Windows Stable for further assistance.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2021-03-20T12:59:48+00:00

    Hello Jason,

    I hope you are well.

    Please could you tell me how to fix the same problem for build 18363.1440?

    Was this answer helpful?

    0 comments No comments
  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  4. Anonymous
    2020-11-02T09:29:37+00:00

    Hi Jason,

    Thank you for helping with this. I tried the sequence but I get the error that the file ntuser.dat can't be found. What can I do?

    Also, I can't roll back as it seems the upgrade was more than 10 days ago.

    Thank you

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2020-10-27T15:49:54+00:00

    This happened to me as well, but creating the new account then deleted it automatically on restart and all my files were lost.

    There is still no workaround for this, does anyone have any suggestions on how to get the multiple temporary accounts back after they have been deleted?

    Many thanks

    Oliver

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments