windows 10 - user logs in and immediately gets back to the login / lock? screen. There's a flash of a settings page when logging in but stays only for < 1 second.

Windows 10 - when logging in, the only user on the computer gets a flash of a microsoft settings page - those yes / no questions about tracking ads, etc. and then returns back to the login screen.

There IS an unused admin account I logged into.  That also gets the settings page - purple background maybe, and some of those slide switch settings. That stays on the screen, I answered them and then have use of the machine as admin.

The other user shows as logged in, but can't switch to that user - it immediately takes you to the lock? / login screen.

Any advice?  This is a stand alone PC on a workgroup.

I saw some pages talking about deleting the user / start from scratch but don't want the user to lose all their settings.  If that's the right way, how do you preserve the settings / desktop / icons / etc.

Or if there's a better way, what is it?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Symptoms point to drive letters being mixed up. Cure is to delete hklm\system\mounteddevices  from a setup disk. Can add more tomorrow.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BeGentleWithMe-INeedHelpAuthor Commented:
You’re the expert –  but I was expecting it to be tied to the 1709 patch that I’ve been reading about? I can login in one user  - admin -  so I guess I could check the registry from in there?  I’m helping them remotely.  The problem started yesterday and in Windows update I see some patches got installed yesterday I tried rolling back to a previous version of windows and haven’t gotten back onto the machine yet to see if the first account is accessible
Hello ThereSystem AdministratorCommented:
Navigate to the following location in registry:
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
Change these two values to
Userinit = C:\windows\system32\userinit.exe
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Yes, that is also the reason sometimes. But the userinit value needs to be changed to
(so far my experience)

@author, surely, you can change the registry when logged on via RDP. Just do it and reboot.
Hello ThereSystem AdministratorCommented:
I don't see any difference...
The difference is, that if userinit.exe is not prefixed with a drive letter, windows uses the system partition. This is helpful if drive letters are indeed mixed up. You quoted ms documentation and sure, that could work, but another ms docu says:
"Change the following entry to remove the full path to the Userinit.exe entry as follows:

Change from:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\Winlogon\Userinit:Reg_SZ:C:\WINNT\system32\userinit.exe
Change to:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\Winlogon\Userinit:Reg_SZ:userinit.exe"
BeGentleWithMe-INeedHelpAuthor Commented:
To recap:

User 1 was the only actual person using the computer
User 2 was another account I created when setting up the machine (I think I meant to make user1 a standard user and user2 was for app install, etc.).
User1 was locked out - logging in would quickly flash to the lock screen. Logging in with user2 is successful, but will show user1 logged in (if you try going in as user1 first).

logged in as user2, I used windows to go to previous version.  We can now log in as user1.

Created user3 as administrator, logged in as user3 and applied all the patches / updates. (I did this in case the current user when applying updates gets locked out).

Can log in as user 1, 2,and 3.

Deleted user3 and things seem OK.

BeGentleWithMe-INeedHelpAuthor Commented:
THANKS for helping and not to say you guys were wrong, but the first time this happened, I did the steps above. when it came back a couple weeks later, this solved it for me the 2nd time the problem occurred:

I went to Settings > Accounts > Family and other people > Set up assigned access and inexplicably found my mother's administrator account set up with assigned access and no application. I removed my mother's account from assigned access. I was prompted to log my mother's account out and I did that. I was then able to log into my mother's account without it immediately locking the screen. It took me hours to get to this point where I just stumbled onto this.

I have no clue what assigned access is, but the user account was in there, I took it out and then could log in fine...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 10

From novice to tech pro — start learning today.