Windows Server 2016: We can't sign into your account
Backstory
At work, I tried to login to a windows 2016 machine via RDP, and upon doing so I received the error "We can't sign into your account"a collegauge at work removed my account from the RDP users group and re-added me, but this was done before too. I suspected that this problem would come back. This is what I did to resolve it:
Environment:
- Windows Server 2016
Symptoms:
- Upon connecting via RDP to the machine in question, you are presented with the error message "We can't sign into your account" under that it states "This problem can often be fixed by signing out of your account and singing back in. If you don't sign out now, any files you create or changes you make will be lost" I suspect that even the changes I make now will be lost (So the effect is the same, just the warning message is gone)
- If you open the registry editor, and go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\ you should observe a profile with 2 entries and one is appended with .bak
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\<SID>.bak you will find the ProfileImagePath set to TEMP
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\<SID> you will find the ProfileImagePath set to the account who you are trying to login as
Cause:
I suspect this is because my profile is corrupted.
Resolution:
- Backup the registry
- Delete the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\<SID>
- Remove the .bak from the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\<SID>.bak
- Reboot the machine
- Login with the affected account
Comments