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: 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:
- When you see the “We can’t sign into your account” dialogue, click the Close button.
- Open an elevated Command Prompt window.
- 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"
- Sign out.
- You will stop seeing the above dialog on your next sign-in.
- When you see the “We can’t sign into your account” dialogue, click the Close button.
- Open a standard Command Prompt window.
- Enter the following command:
- Echo %username%
- (Make note of the returned username, you will use it in step 6)
- Close the standard Command Prompt window.
- Open an elevated Command Prompt window.
- 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"
- Sign out
- You will stop seeing the above dialog on your next sign-in